/* Enhanced About Page Styles */

/* Container and Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column; /* Ensures vertical stacking */
}

/* Section Header Styling */
.section-header {
    width: 100%;
    text-align: center;
    margin-bottom: 40px;
}

/* Section Content Styling */
.section-content {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.data-nodes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.node {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(64, 150, 255, 0.6);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
}

.connection {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(64, 150, 255, 0.3), transparent);
    animation: dataFlow 4s linear infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
}

@keyframes dataFlow {
    0% { opacity: 0; transform: scaleX(0); }
    50% { opacity: 1; transform: scaleX(1); }
    100% { opacity: 0; transform: scaleX(0); }
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 1200px;
    width: 100%;
    padding: 0 40px;
    z-index: 10;
}

.company-logo {
    font-size: 1rem;
    font-weight: 500;
    color: #4096ff;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.1;
    color: #ffffff;
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 50px;
    line-height: 1.6;
    color: #b8c6db;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.expertise-list {
    list-style: none;
    margin-bottom: 60px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1s forwards;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.expertise-list li {
    background: rgba(64, 150, 255, 0.1);
    border: 1px solid rgba(64, 150, 255, 0.3);
    padding: 15px 25px;
    border-radius: 8px;
    font-size: 1rem;
    color: #e8f4fd;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.expertise-list li:hover {
    background: rgba(64, 150, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(64, 150, 255, 0.2);
}

@media (max-width: 768px) {
    .hero-content {
        padding: 0 20px;
    }
    
    .expertise-list {
        flex-direction: column;
        align-items: center;
    }
    
    .expertise-list li {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

/* Section Padding Adjustment */
section {
    margin-bottom: 60px;
    padding: 30px 0 40px; /* Redistributed padding */
}

section:nth-child(even) {
    background-color: #f8f9fa;
}

/* Títulos */
h2 {
    color: #003641;
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    font-weight: 700;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #7DB61C, #FFCC00);
    border-radius: 2px;
}

/* Mission Cards */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.mission-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 5px solid #7DB61C;
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.mission-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.mission-card h3 {
    color: #003641;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.mission-card p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

/* Impact Statistics */
.impact-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-card {
    background: linear-gradient(135deg, #003641, #004a57);
    color: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #7DB61C, #FFCC00);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #FFCC00;
}

.stat-label {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.stat-description {
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.4;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.team-member {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-photo {
    width: 120px;
    height: 120px;
    margin: 0 auto 0px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #7DB61C;
    background: #f0f0f0;
    color: #003641;
    font-size: 2rem;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-info h3 {
    color: #003641;
    font-size: 1.5rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.role {
    color: #7DB61C;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.skill {
    background: linear-gradient(45deg, #7DB61C, #8BC63F);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}


/* Technology Section */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}


.tech-category {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.tech-category h3 {
    color: #003641;
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
}

.tech-items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-item {
    background: #f8f9fa;
    color: #003641;
    padding: 8px 15px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.tech-item:hover {
    background: #7DB61C;
    color: white;
    border-color: #7DB61C;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 2fr);
    gap: 30px;
}

.project-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border-left: 5px solid #7DB61C;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card h3 {
    color: #003641;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.project-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.project-impact {
    text-align: center;
}

.impact-badge {
    background: linear-gradient(45deg, #FFCC00, #FFD700);
    color: #003641;
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Contact Section */
.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.contact-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.contact-card h3 {
    color: #003641;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.contact-card p {
    color: #666;
    line-height: 1.6;
}

.contact-card a {
    color: #7DB61C;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: #003641;
}


/* Animation for stats */
@keyframes count-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.stat-card.animated .stat-number {
    animation: count-up 1s ease-out forwards;
}

.count-animator {
    display: inline-block;
    min-width: 80px;
}

/* Responsividade */
@media (max-width: 1200px) {
    .impact-stats,
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mission-grid,
    .impact-stats,
    .team-grid,
    .tech-grid,
    .projects-grid,
    .contact-info {
        grid-template-columns: 1fr;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    h2 {
        font-size: 2rem;
        margin-bottom: 25px;
    }
    
    h2::after {
        margin-top: 10px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 30px 0;
        margin-bottom: 40px;
    }
    
    .mission-grid,
    .impact-stats,
    .team-grid,
    .tech-grid,
    .projects-grid,
    .contact-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .mission-card,
    .stat-card,
    .team-member,
    .tech-category,
    .project-card,
    .contact-card {
        padding: 25px 20px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}
