:root {
    --primary-color: #002B5B;
    /* Deep Navy Blue - Trust, Engineering */
    --secondary-color: #FFB300;
    /* Amber/Orange - Energy, Construction, Attention */
    --accent-color: #E0E0E0;
    --text-color: #333333;
    --text-light: #666666;
    --bg-white: #FFFFFF;
    --bg-light: #F9FAFB;
    --nav-height: 130px;
    --border-radius: 8px;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.btn-primary,
.btn-secondary,
.btn-whatsapp-large {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    filter: brightness(1.1);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--bg-white);
    color: var(--bg-white);
}

.btn-secondary:hover {
    background-color: var(--bg-white);
    color: var(--primary-color);
}

.btn-whatsapp-large {
    background-color: #25D366;
    color: white;
    font-size: 1.2rem;
    padding: 16px 32px;
}

.btn-whatsapp-large:hover {
    background-color: #128C7E;
    transform: scale(1.05);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.logo-img {
    height: 120px;
    /* Increased from 50px */
    width: auto;
    border-radius: 50%;
    /* If the logo is square, this makes it circular */
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links li a {
    font-weight: 500;
    color: var(--primary-color);
}

.nav-links li a:hover {
    color: var(--secondary-color);
}

.nav-links .btn-primary {
    padding: 10px 20px;
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background-color: var(--primary-color);
    background-image: url('./background01.jpeg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--bg-white);
    padding-top: var(--nav-height);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 43, 91, 0.8), rgba(0, 0, 0, 0.6));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero .highlight {
    color: var(--secondary-color);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.section-header .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--primary-color);
}

.feature-list i {
    color: var(--secondary-color);
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--secondary-color);
}

.icon-box {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 43, 91, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-card p {
    color: var(--text-light);
}

/* Contact Section Styles - Updated */
.contact-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    /* Fixed width for info, rest for form */
    gap: 40px;
    /* Reduced gap for better fit */
    margin-top: 40px;
    align-items: start;
    /* Align to top */
}



/* Responsiveness Update */
@media (max-width: 900px) {

    /* Breakdown earlier for tablets */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info-box {
        text-align: center;
    }

    .contact-list {
        align-items: center;
    }

    .contact-list li {
        justify-content: center;
        text-align: left;
        /* Keep text aligned inside the item */
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}


.contact-info-box h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-list li {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.contact-icon {
    color: var(--secondary-color);
    min-width: 24px;
    margin-top: 4px;
}

.contact-list strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.contact-list p {
    color: var(--text-light);
}

.contact-social {
    margin-top: 40px;
}

.contact-social h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Form Styles - Professional Update */
.contact-form-box {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    background-color: #f8f9fa;
    border: 1px solid #e1e4e8;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    background-color: #fff;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(255, 179, 0, 0.15);
}

/* Custom Select Styling */
.select-wrapper {
    position: relative;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    background-color: #f8f9fa;
}

.select-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--text-light);
    width: 20px;
    height: 20px;
}

.full-width {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 16px;
    margin-top: 10px;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
}

/* LGPD Banner Styles */
.lgpd-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    color: white;
    padding: 24px 0;
    z-index: 2000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: none;
}

.lgpd-banner.show {
    transform: translateY(0);
}

.lgpd-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.lgpd-content p {
    font-size: 0.95rem;
    line-height: normal;
    margin: 0;
}

.lgpd-content a {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Engineers Section */
.engineers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.engineer-card {
    background: var(--bg-white);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    border-left: 5px solid var(--secondary-color);
    transition: transform 0.3s;
    height: 100%;
}

.engineer-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.engineer-info {
    width: 100%;
}

.engineer-info h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.engineer-role {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.engineer-phone {
    color: var(--text-light);
    font-size: 1.1rem;
    font-family: var(--font-heading);
    font-weight: 500;
}

.engineer-card .btn-primary {
    width: 100%;
    justify-content: center;
}

.btn-sm {
    padding: 10px 16px;
    font-size: 0.95rem;
}

/* Project Slider */
.project-slider-container {
    max-width: 800px;
    margin: 40px auto 20px;
}

/* Project Tabs */
.project-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.project-tab {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: 'Outfit', sans-serif;
}

.project-tab:hover,
.project-tab.active {
    background: var(--primary-color);
    color: #fff;
}

.project-info-header {
    margin-bottom: 1.5rem;
    padding: 0 1rem;
}

.project-info-header h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.project-slider-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding: 2rem;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.slider-wrapper {
    overflow: hidden;
    position: relative;
    border-radius: 8px;
    /* Aspect ratio for consistency */
    aspect-ratio: 16 / 9;
    background-color: #f0f0f0;
}

.slides-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Or cover, depending on preference. Contain good for full view of technical drawings */
    object-position: center;
}

/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 60%;
    /* Adjusted because header is now above */
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.slider-btn:hover {
    background: var(--primary-color);
    color: white;
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.project-info {
    padding: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.project-info h3 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

@media (max-width: 600px) {
    .engineers-grid {
        grid-template-columns: 1fr;
    }
}

/* CTA */
.cta-section {
    background-color: var(--primary-color);
    color: var(--bg-white);
    text-align: center;
    padding: 80px 20px;
}

.cta-section h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Footer */
.footer {
    background-color: #001a38;
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--bg-white);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.footer-col p {
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.social-links a:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* WA Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Responsiveness */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        background-color: var(--bg-white);
        flex-direction: column;
        padding: 30px;
        box-shadow: var(--shadow-md);
        transform: translateY(-150%);
        transition: transform 0.3s ease-in-out;
        z-index: 999;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-secondary {
        text-align: center;
        justify-content: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form-box {
        padding: 25px;
    }

    .lgpd-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}