/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Cores da Bandeira de Moçambique e FRELIMO */
    --verde: #00A859;
    --vermelho: #D21034;
    --amarelo: #FCD116;
    --preto: #000000;
    --branco: #FFFFFF;
    --cinza-claro: #f5f5f5;
    --cinza: #666666;
    --cinza-escuro: #333333;
    
    /* Sombras */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.2);
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--cinza-escuro);
    background: var(--branco);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.main-header {
    background: var(--branco);
    box-shadow: var(--shadow-sm);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo h1 {
    color: var(--vermelho);
    font-size: 1.8rem;
    font-weight: 700;
}

.logo .tagline {
    color: var(--verde);
    font-size: 0.9rem;
    font-weight: 300;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--vermelho);
    margin: 3px 0;
    transition: 0.3s;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--cinza-escuro);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a:hover {
    color: var(--vermelho);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--verde);
    transition: width 0.3s;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--verde) 0%, var(--vermelho) 100%);
    color: var(--branco);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: var(--branco);
    color: var(--vermelho);
    border: 2px solid var(--branco);
}

.btn-primary:hover {
    background: transparent;
    color: var(--branco);
}

.btn-secondary {
    background: transparent;
    color: var(--branco);
    border: 2px solid var(--branco);
}

.btn-secondary:hover {
    background: var(--branco);
    color: var(--vermelho);
}

.hero-image {
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.image-placeholder i {
    font-size: 150px;
    color: rgba(255, 255, 255, 0.8);
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--cinza-escuro);
    position: relative;
}

.section-title::after {
    content: '';
    width: 80px;
    height: 4px;
    background: var(--vermelho);
    display: block;
    margin: 1rem auto 0;
}

/* About Section */
.about {
    padding: 80px 0;
    background: var(--cinza-claro);
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.about-card {
    background: var(--branco);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.about-card i {
    font-size: 3rem;
    color: var(--verde);
    margin-bottom: 1rem;
}

.about-card h3 {
    color: var(--cinza-escuro);
    margin-bottom: 1rem;
}

/* Career Timeline */
.career {
    padding: 80px 0;
}

.timeline {
    position: relative;
    padding: 0 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--verde);
}

.timeline-item {
    position: relative;
    margin: 3rem 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 30px;
    width: 20px;
    height: 20px;
    background: var(--vermelho);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-date {
    position: absolute;
    left: 0;
    top: 25px;
    width: 45%;
    text-align: right;
    font-weight: 700;
    color: var(--vermelho);
}

.timeline-content {
    position: relative;
    left: 55%;
    width: 45%;
    background: var(--branco);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
}

.timeline-content h3 {
    color: var(--verde);
    margin-bottom: 0.5rem;
}

.timeline-content ul {
    list-style-position: inside;
    margin-top: 1rem;
}

/* Blog Section */
.blog {
    padding: 80px 0;
    background: var(--cinza-claro);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: var(--branco);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-image {
    height: 200px;
    background: linear-gradient(135deg, var(--verde), var(--vermelho));
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-image i {
    font-size: 4rem;
    color: var(--branco);
    opacity: 0.9;
}

.blog-content {
    padding: 1.5rem;
}

.blog-date {
    color: var(--cinza);
    font-size: 0.9rem;
}

.blog-content h3 {
    color: var(--cinza-escuro);
    margin: 0.5rem 0;
}

.read-more {
    color: var(--vermelho);
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    margin-top: 0.5rem;
}

.read-more:hover {
    text-decoration: underline;
}

.blog-footer {
    text-align: center;
}

/* Contact Section */
.contact {
    padding: 80px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-items {
    margin: 2rem 0;
}

.contact-item {
    display: flex;
    align-items: center;
    margin: 1rem 0;
}

.contact-item i {
    color: var(--verde);
    margin-right: 1rem;
    font-size: 1.2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--vermelho);
    color: var(--branco);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: background 0.3s;
}

.social-links a:hover {
    background: var(--verde);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--verde);
}

/* Footer */
.footer {
    background: var(--cinza-escuro);
    color: var(--branco);
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: var(--branco);
    text-decoration: none;
    opacity: 0.8;
}

.footer-section a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--branco);
        width: 100%;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item::before {
        left: 30px;
    }
    
    .timeline-date {
        width: 100%;
        text-align: left;
        margin-bottom: 1rem;
        position: relative;
        left: 60px;
    }
    
    .timeline-content {
        left: 60px;
        width: calc(100% - 80px);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}