/* ===== GLOBAL STYLES ===== */
:root {
    --primary-color: #2c5aa0;
    --secondary-color: #4a90a4;
    --accent-color: #7fb069;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-gray: #f8f9fa;
    --dark-gray: #6c757d;
    --white: #ffffff;
    --black-color: #000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    scroll-behavior: smooth;
}

.section-padding {
    padding: 190px 0;
}

.text-primary-custom {
    color: var(--primary-color) !important;
}

.bg-primary-custom {
    background-color: var(--primary-color) !important;
}

.btn-primary-custom {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.3);
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(44, 90, 160, 0.4);
    color: white;
}

/* ===== NAVIGATION STYLES ===== */
.navbar {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 249, 250, 0.95)) !important;
    backdrop-filter: blur(15px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--primary-color) !important;
    margin: 0 10px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--secondary-color) !important;
    transform: translateY(-1px);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
    left: 0;
}

/* ===== HERO SECTION STYLES ===== */
.hero-section {
    height: 100vh;
    background: linear-gradient(135deg, rgba(44, 90, 160, 0.7), rgba(74, 144, 164, 0.7)),
        url('https://images.unsplash.com/photo-1559757148-5c350d0d3c56?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&h=1080&q=80') center/cover;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, #ffffff, #e3f2fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.4rem;
    font-weight: 300;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-stats {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    margin-top: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* ===== FOCUS AREAS STYLES ===== */
.focus-areas {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.focus-card {
    background: white;
    border-radius: 20px;
    padding: 0;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    height: 100%;
    border: 1px solid rgba(44, 90, 160, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.focus-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.focus-card-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    flex-shrink: 0;
}

.focus-card-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 90, 160, 0.8), rgba(74, 144, 164, 0.8));
}

.focus-menor{
    height: 90px;
}

.focus-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: white;
    z-index: 2;
}

.focus-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.focus-card h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.focus-card-menor h4 {
    font-size: 1rem;
}

.focus-card p {
    margin-bottom: 15px;
    flex-grow: 1;
    font-size: 0.95rem;
    line-height: 1.5;
}

.focus-card ul {
    margin-top: auto;
}

.focus-card ul li {
    font-size: 0.9rem;
    margin-bottom: 5px;
}

/* ===== ABOUT SECTION STYLES ===== */
.about-section {
    background: white;
}

.about-image {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.value-item {
    background: linear-gradient(135deg, white, #f8f9fa);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    transition: all 0.3s ease;
    border-left: 4px solid var(--accent-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.value-item:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.value-item i {
    color: var(--accent-color);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.value-item h5 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.value-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
}

/* ===== PROJECTS SECTION STYLES ===== */
.projects-section {
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
}

.project-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.project-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
    flex-shrink: 0;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 90, 160, 0.8), rgba(74, 144, 164, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-content h5 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.project-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 15px;
}

.project-stats {
    background: var(--light-gray);
    padding: 15px;
    border-radius: 10px;
    margin-top: auto;
}

/* ===== TEAM SECTION STYLES ===== */
.team-section {
    background: white;
}

.team-card {
    background: white;
    border-radius: 20px;
    padding: 0;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.team-image {
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
    flex-shrink: 0;
}

.team-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.team-content h5 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.team-content .text-muted {
    margin-bottom: 15px;
    font-weight: 500;
}

.team-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 20px;
}

.team-social {
    margin-top: auto;
}

.team-social a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.team-social a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(44, 90, 160, 0.3);
}

/* ===== CONTACT SECTION STYLES ===== */
.contact-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(44, 90, 160, 0.25);
}

.contact-info {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 40px;
    border-radius: 20px;
    height: 100%;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-item i {
    font-size: 1.5rem;
    margin-right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 5px;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    height: 400px;
}

/* ===== FOOTER STYLES ===== */
.footer {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 60px 0 30px;
}

.footer h5 {
    color: var(--accent-color);
    margin-bottom: 25px;
    font-weight: 600;
}

.footer a {
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.footer-social a {
    display: inline-block;
    width: 45px;
    height: 45px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
    line-height: 45px;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(44, 90, 160, 0.3);
}

/* ===== EQUAL HEIGHT UTILITIES ===== */
.equal-height-row {
    display: flex;
    flex-wrap: wrap;
}

.equal-height-col {
    display: flex;
    flex-direction: column;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .section-padding {
        padding: 60px 0;
    }

    .focus-icon {
        font-size: 3rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .focus-card-content {
        padding: 20px;
    }

    .project-content,
    .team-content {
        padding: 20px;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.floating {
    animation: float 3s ease-in-out infinite;
}

.gradient-text {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.prestacoes a {
    color: var(--primary-color);
    text-decoration: none;
}