:root {
    /* Color Palette */
    --primary-color: #0a2540; /* Dark Navy */
    --secondary-color: #adbdcc; /* Muted Blue-Grey */
    --accent-color: #00d4ff; /* Cyan - Optional */
    --text-color: #333;
    --light-bg: #f9fafb;
    --white: #ffffff;
    --border-radius: 4px;
    --transition: all 0.3s ease;
    --section-padding: 6rem 0;
}

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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.2rem;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.underline {
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 10px auto 20px;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-white {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #163a5f;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--white);
    color: var(--primary-color);
    font-weight: bold;
    border: none;
}

.btn-white:hover {
    background: #eee;
    transform: translateY(-2px);
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 0.8rem 0;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--primary-color);
    position: relative;
    font-size: 0.95rem;
}

.nav-links a:not(.nav-btn)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:not(.nav-btn):hover::after {
    width: 100%;
}

.nav-btn {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: var(--border-radius);
}

.nav-btn:hover {
    background: #163a5f;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px;
    transition: var(--transition);
}

/* Hero Section */
#hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') no-repeat center center/cover;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 37, 64, 0.75); /* Dark overlay for text readability */
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

#hero h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 3rem;
}

#hero p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Value Snapshot */
#value-snapshot {
    padding: 4rem 0;
    background: var(--white);
}

.snapshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.snapshot-item {
    text-align: center;
    padding: 1.5rem;
}

.snapshot-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.positioning-box {
    background: var(--light-bg);
    padding: 3rem;
    border-radius: var(--border-radius);
    border-left: 5px solid var(--primary-color);
    margin-bottom: 3rem;
}

.positioning-box p {
    margin-bottom: 1.5rem;
}

.text-link {
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block;
    margin-top: 1rem;
}

.text-link:hover {
    text-decoration: underline;
}

/* Home Summary & CTA */
.home-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.summary-box {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid #eee;
}

.summary-list {
    margin: 1rem 0;
}

.summary-list li {
    margin-bottom: 0.5rem;
    list-style-type: disc;
    margin-left: 1.5rem;
}

.home-cta-box {
    text-align: center;
    padding: 3rem;
    background: #eef2f5;
    border-radius: var(--border-radius);
    margin-bottom: 3rem;
}

.home-cta-box h3 {
    margin-bottom: 1rem;
}

.home-cta-box p {
    margin-bottom: 2rem;
}

.home-logo-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.home-logo-footer .logo-small img {
    height: 40px;
    margin: 1rem 0;
}

/* Who We Are */
#who-we-are {
    padding: var(--section-padding);
    background: var(--white);
}

.intro-text {
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center;
}

.intro-text p {
    margin-bottom: 1rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.team-member {
    background: var(--white);
    border: 1px solid #eee;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    padding: 2rem;
    text-align: center;
}

.team-member:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
}

.team-member h3 {
    margin-bottom: 0.5rem;
}

.team-member .role {
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bio {
    text-align: left;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: #555;
}

.bio-list {
    margin: 1rem 0 1.5rem 1.5rem;
    list-style-type: disc;
}

.bio-list li {
    margin-bottom: 0.5rem;
}

.linkedin-btn {
    display: inline-block;
    margin-top: auto;
    color: #0077b5;
    font-weight: 500;
}

.linkedin-btn:hover {
    text-decoration: underline;
}

/* What We Do */
#what-we-do {
    padding: var(--section-padding);
    background: var(--light-bg);
}

.services-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.services-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.service-column h3 {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #ddd;
}

.service-list li {
    margin-bottom: 1.2rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-list li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1rem;
    top: 5px;
}

.who-we-work-with {
    margin-top: 4rem;
    text-align: center;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.client-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.client-card h4 {
    margin-bottom: 1rem;
}

.work-note {
    font-style: italic;
    color: #555;
    margin-top: 1.5rem;
}

.our-role {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.our-role h4 {
    margin-bottom: 1rem;
}

.our-role p {
    margin-bottom: 0.8rem;
}

/* Why Brazil */
#why-brazil {
    padding: var(--section-padding);
    background: var(--white);
}

.brazil-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.brazil-pillars {
    margin-bottom: 4rem;
}

.brazil-pillars h3 {
    text-align: center;
    margin-bottom: 2rem;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.pillar-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
}

.pillar-card ul li {
    margin-bottom: 0.8rem;
    list-style-type: disc;
    margin-left: 1.2rem;
}

.dual-market {
    margin-bottom: 4rem;
}

.market-split {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.market-box {
    flex: 1;
    padding: 2rem;
    border-radius: var(--border-radius);
    min-width: 300px;
}

.market-box.public {
    background: #eef2f5;
}

.market-box.private {
    background: #e0e7ec;
}

.market-insight {
    text-align: center;
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* New Market Sections */
.market-section {
    background: var(--light-bg);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-color);
}

.market-section h3 {
    margin-bottom: 1rem;
}

.market-section ul {
    margin: 1rem 0 1.5rem;
    padding-left: 1.5rem;
}

.market-section ul li {
    list-style-type: disc;
    margin-bottom: 0.5rem;
}

/* Why OBBA */
#why-obba {
    padding: var(--section-padding);
    background: var(--light-bg);
}

.why-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.reason-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: var(--transition);
}

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

.why-obba-cta {
    text-align: center;
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    margin-top: 3rem;
}

.why-obba-cta h3 {
    color: var(--white);
    margin: 1.5rem 0;
}

.why-obba-cta p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

.why-obba-cta .btn-primary {
    background: var(--white);
    color: var(--primary-color);
}

.why-obba-cta .btn-primary:hover {
    background: #eee;
}

/* Testimonials */
#testimonials {
    padding: var(--section-padding);
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.testimonial-card {
    background: var(--light-bg);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    position: relative;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.author h4 {
    margin-bottom: 0.2rem;
    font-size: 1.1rem;
}

.author span {
    font-size: 0.9rem;
    color: #666;
}

/* Contact Section */
#contact {
    padding: var(--section-padding);
    background: var(--primary-color);
    color: var(--white);
}

#contact h2 {
    color: var(--white);
}

#contact .underline {
    background: var(--white);
}

.contact-wrapper {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-info {
    text-align: center;
}

.contact-info h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.contact-info p {
    color: var(--white);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

.info-item {
    margin: 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.info-item span {
    font-weight: 500;
    color: var(--white);
}

.info-item a {
    color: var(--secondary-color);
    transition: var(--transition);
    text-decoration: underline;
}

.info-item a:hover {
    color: var(--white);
}

.cta-wrapper {
    text-align: center;
    margin-top: 3rem;
}

/* Footer */
footer {
    background: #061a2d;
    color: #8892b0;
    text-align: center;
    padding: 3rem 0;
    font-size: 0.9rem;
}

.footer-logo {
    margin-bottom: 1rem;
    opacity: 0.7;
}

/* Responsive */
@media screen and (max-width: 960px) {
    .nav-links {
        position: absolute;
        right: 0px;
        height: 92vh;
        top: 8vh;
        background-color: var(--white);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 60%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        box-shadow: -2px 0 5px rgba(0,0,0,0.1);
        padding-top: 2rem;
    }

    .nav-links li {
        opacity: 0;
    }

    .burger {
        display: block;
    }

    .nav-active {
        transform: translateX(0%);
    }

    .contact-wrapper {
        max-width: 100%;
        padding: 0 1rem;
    }

    h1 {
        font-size: 2rem !important;
    }
    
    .hero-content {
        padding: 0 1rem;
    }

    .services-columns, .market-split {
        grid-template-columns: 1fr;
        flex-direction: column;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0px);
    }
}

.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}