/* Basic Clean Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #F7B002; /* Amarelo A9 */
    --hover-color: #d99a02;
    --dark-bg: #1a1a1a;
    --darker-bg: #000000;
    --light-bg: #f9f9f9;
    --text-color: #333;
    --text-light: #f4f4f4;
    
    --font-heading: 'Barlow Condensed', sans-serif;
    --font-body: 'Nunito Sans', sans-serif;
    --font-accent: 'Lato', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

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

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2.2rem;
    }
}

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

.text-center { text-align: center; }
.text-left, .text-start { text-align: left; }
.text-white { color: var(--text-light); }
.text-yellow { color: var(--primary-color); }
.bg-dark { background-color: var(--dark-bg); }
.bg-light { background-color: var(--light-bg); }

.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: #000;
    padding: 12px 30px;
    font-weight: 700;
    text-transform: uppercase;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
}

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

.subtitle {
    display: block;
    font-family: var(--font-accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* Margin Utilities */
.mt-1 { margin-top: 0.5rem !important; }
.mt-2 { margin-top: 1rem !important; }
.mt-3 { margin-top: 1.5rem !important; }
.mt-4 { margin-top: 2rem !important; }
.mt-5 { margin-top: 3rem !important; }
.mb-1 { margin-bottom: 0.5rem !important; }
.mb-2 { margin-bottom: 1rem !important; }
.mb-3 { margin-bottom: 1.5rem !important; }
.mb-4 { margin-bottom: 2rem !important; }
.mb-5 { margin-bottom: 3rem !important; }

/* --- Fullpage Scroll Snap --- */
/* Each section becomes a full-height slide */
/* Each section is relatively positioned and has padding */
section {
    min-height: auto;
    position: relative;
    padding: 40px 0; /* Reduced from 60px */
}

/* Side Navigation Dots */
.side-nav {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.side-nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3); /* Darker for visibility on light backgrounds */
    border: 2px solid rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3); /* White outline for dark backgrounds */
}

.side-nav-dot:hover {
    background: rgba(247, 176, 2, 0.5);
    border-color: var(--primary-color);
    transform: scale(1.3);
}

.side-nav-dot.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.4);
}

/* Tooltip on hover */
.side-nav-dot::before {
    content: attr(data-section);
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.side-nav-dot:hover::before {
    opacity: 1;
}

@media (max-width: 900px) {
    .side-nav {
        right: 15px;
        gap: 12px;
    }
    
    .side-nav-dot {
        width: 10px;
        height: 10px;
    }
    
    .side-nav-dot::before {
        display: none; /* Hide tooltips on mobile */
    }
}

/* Header / Navbar */
/* Header / Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 5%;
    transition: 0.4s;
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.navbar.scrolled {
    background: rgba(26, 26, 26, 0.95);
    padding: 15px 5%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.logo img {
    height: 40px;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-list li a {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-list li a:hover {
    color: var(--primary-color);
}

.nav-list li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--primary-color);
    transition: 0.3s;
}

.nav-list li a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #fff;
    transition: 0.3s;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-list {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #000;
        flex-direction: column;
        padding: 20px 0;
        display: none; /* Hidden by default on mobile */
    }

    .nav-list.active {
        display: flex;
    }
}

/* Old Hero Styles Removed */

/* --- Immersive Hero Section --- */
/* --- Immersive Hero Section --- */
#hero {
    position: relative;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    background: url('projetos especiais/14 CBA - Convenção Brasileira do Algodão/Projeto Cenográfico - Evento CBA 14 - 028.jpg') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: #fff;
    padding: 0;
    text-align: left;
}

/* Gradient Overlay - Smooth side fade to show the image */
#hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 45%, rgba(0,0,0,0) 100%);
    z-index: 1;
}

/* Hero Content */
.hero-main-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-main-title {
    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 1.1;
    font-weight: 700;
    font-family: var(--font-heading);
    margin-bottom: 25px;
    text-transform: uppercase;
}

.hero-main-title span {
    color: var(--primary-color);
    display: block;
}

.hero-description {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 40px;
    max-width: 700px;
    text-align: left;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
}

.rounded-btn {
    border-radius: 50px;
    padding: 15px 35px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.btn-outline {
    border: 2px solid #fff;
    color: #fff;
    background: transparent;
}

.btn-outline:hover {
    background: #fff;
    color: #000;
}

/* Bottom Features Row */
.hero-bottom-features {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2;
    padding: 30px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.hero-feature {
    display: flex;
    align-items: center; /* Align icon/text */
    border-left: 3px solid var(--primary-color);
    padding-left: 15px;
    padding-top: 0; /* Clear previous styling */
    border-top: none; /* Clear previous styling */
}

.hero-feature-number {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-right: 10px; /* Space between number and title if side-by-side preferred, or structure implies block */
    display: none; /* Reference design hides it or uses it inside? Reference: /01 above title */
}
/* Actually reference structure:
    /01 (span)
    Title
    Desc
   So we should stack them.
*/
.hero-feature {
    display: block; /* Stack content */
}

.hero-feature-number {
    display: block;
    font-size: 1rem;
    margin-bottom: 5px;
}

.hero-feature h4 {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 2px;
}

.hero-feature p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
    margin: 0;
}

@media (max-width: 900px) {
    #hero {
        align-items: center;
        text-align: center;
    }
    #hero::after {
        background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.3) 100%);
    }
    .hero-main-title {
        font-size: 3rem;
    }
    
    .hero-description {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 15px;
    }
    
    .hero-bottom-features {
        display: none; 
    }
}


/* Philosophy */
#philosophy h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* Expertise */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* --- Editorial List Expertise Section --- */
#expertise {
    background-color: #fff;
    padding: 100px 0;
}

.expertise-list-container {
    max-width: 1000px;
    margin: 60px auto 0;
}

.expertise-row {
    display: flex;
    align-items: flex-start;
    padding: 40px 0;
    border-bottom: 2px solid #eee;
    transition: all 0.3s ease;
    cursor: default;
}

.expertise-row:first-child {
    border-top: 2px solid #eee;
}

.expertise-row:hover {
    border-bottom-color: var(--primary-color);
    background-color: rgba(247, 176, 2, 0.02);
}

.list-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: #ccc;
    font-weight: 700;
    min-width: 100px;
    line-height: 1;
    transition: 0.3s;
}

.expertise-row:hover .list-number {
    color: var(--primary-color);
}

.list-icon {
    font-size: 2rem;
    color: var(--primary-color);
    min-width: 80px;
    padding-top: 5px;
    opacity: 0.8;
}

.list-content {
    flex: 1;
}

.list-content h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    text-transform: uppercase;
    color: var(--darker-bg);
    margin: 0;
    line-height: 1;
    transition: 0.3s;
}

.expertise-row:hover .list-content h3 {
    padding-left: 10px;
}


@media (max-width: 768px) {
    .expertise-row {
        flex-direction: column;
        padding: 30px 0;
    }
    
    .list-number {
        margin-bottom: 15px;
        font-size: 2.5rem;
    }
    
    .list-icon {
        margin-bottom: 15px;
    }
}


.expertise-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
    text-align: center;
}

.expertise-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.expertise-card .icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.expertise-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns for big unrealistic photos */
    gap: 0; /* Seamless grid */
}

.project-item {
    position: relative;
    overflow: hidden;
    height: 400px; /* Fixed height for uniformity */
}

.project-image {
    width: 100%;
    height: 100%;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
    opacity: 1; /* Always visible text or make it hover? User asked for success cases, maybe always visible is better for clarity */
    transition: 0.3s;
}

.project-item:hover img {
    transform: scale(1.1);
}

.project-overlay h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}


/* --- Expertise Dark Grid --- */
#expertise {
    background-color: #050505 !important; /* Force black background as requested */
}

.expertise-dark-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.expertise-card-dark {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    min-height: 300px;
}

.card-border-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

/* Initially have border visible as per user image? Or hover? Image implies active state or default. Let's make it default or hover. User image shows ALL have it. Let's make it default but maybe subtle or just distinct.
Actually, the user image shows clear yellow lines on top. I will make them always visible but maybe brighter on hover.
Wait, let's make it fixed visible. */
.card-border-top {
    transform: scaleX(1); /* Always visible */
}

.expertise-card-dark h3 {
    font-size: 1.2rem;
    color: #fff;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    margin-top: 10px;
}

.expertise-card-dark p {
    font-size: 0.95rem;
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 40px; /* Space for number */
    position: relative;
    z-index: 2;
}

.card-number-outline {
    position: absolute;
    bottom: -20px;
    right: 10px;
    font-size: 8rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.1);
    opacity: 0.5;
    line-height: 1;
    z-index: 1;
    transition: all 0.3s;
    font-family: var(--font-heading);
}

.expertise-card-dark:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.expertise-card-dark:hover .card-number-outline {
    -webkit-text-stroke: 2px rgba(247, 176, 2, 0.3);
    opacity: 0.8;
}

@media (max-width: 900px) {
    .expertise-dark-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .expertise-dark-grid {
        grid-template-columns: 1fr;
    }
}


/* Team / About */
.row {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.col-half {
    flex: 1;
    min-width: 300px;
}

.team-hero-img {
    border-radius: 8px;
    box-shadow: 20px 20px 0px var(--primary-color);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.team-member {
    background: rgba(255,255,255,0.05);
    padding: 20px;
    border-radius: 4px;
    text-align: center;
}

.team-member h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

/* Footer */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.newsletter-form input {
    padding: 10px;
    border: none;
    border-radius: 4px;
}

.social-links {
    margin-top: 20px;
    font-size: 1.5rem;
    display: flex;
    gap: 15px;
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: 1s;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }


/* --- Editorial / Magazine Layout --- */

#portfolio .container {
    max-width: 1400px; /* Wider for magazine feel */
}

.project-showcase {
    margin-bottom: 150px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5%;
}

.project-showcase:nth-child(even) {
    flex-direction: row-reverse;
}

.project-showcase-img {
    flex: 1 1 50%;
    position: relative;
}

.project-showcase-img img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 20px 20px 0 rgba(0,0,0,0.05);
}

/* --- Impact Quote Section --- */
#impact-quote {
    background-color: #f4f4f4; /* Very light grey */
    padding: 151px 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
}

#impact-quote blockquote {
    font-size: 3.5rem;
    font-family: var(--font-heading);
    color: var(--darker-bg);
    line-height: 1.2;
    max-width: 1000px;
    margin: 0 auto;
    font-style: italic;
    position: relative;
    padding: 0 20px;
}

#impact-quote blockquote::before {
    content: '“';
    font-size: 8rem;
    color: var(--primary-color);
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.2;
    font-family: serif;
}

#impact-quote cite {
    display: block;
    margin-top: 30px;
    font-size: 1rem;
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #666;
    font-style: normal;
}

    
.project-showcase-info {
    flex: 1 1 40%;
    padding: 20px;
}

.project-number {
    font-size: 5rem;
    font-family: var(--font-heading);
    color: rgba(0,0,0,0.05);
    line-height: 1;
    margin-bottom: -20px;
    position: relative;
    z-index: -1;
}

.project-showcase-info h3 {
    font-size: 3rem;
    color: var(--darker-bg);
    margin-bottom: 10px;
    line-height: 1.1;
}

.project-showcase-info h3::before {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin-bottom: 15px;
}


/* --- Video Section Redesigned (Nossa História) --- */
.video-section-redesign {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 40px 0;
}

.video-main-player {
    flex: 1.2;
}

.video-frame {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

/* --- CTA Section Redesigned --- */
.cta-redesign {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-header {
    margin-bottom: 50px;
}

.cta-badge {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding: 8px 20px;
    background: rgba(247, 176, 2, 0.1);
    border-radius: 20px;
}

.cta-main-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--darker-bg);
    font-weight: 700;
}

.cta-main-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.cta-form-redesign {
    background: #fff;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.form-field {
    margin-bottom: 20px;
}

.form-field label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--darker-bg);
    margin-bottom: 8px;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 15px 18px;
    background: #f8f8f8;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    color: var(--darker-bg);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    background: #fff;
    border-color: var(--primary-color);
}

.form-field textarea {
    resize: vertical;
    min-height: 100px;
}

.cta-button-redesign {
    width: 100%;
    padding: 18px 30px;
    background: var(--primary-color);
    color: var(--darker-bg);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
}

.cta-button-redesign:hover {
    background: #ffc933;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(247, 176, 2, 0.3);
}

.cta-button-redesign i {
    transition: transform 0.3s;
}

.cta-button-redesign:hover i {
    transform: translateX(5px);
}

@media (max-width: 900px) {
    .cta-main-title {
        font-size: 2.2rem;
    }
    
    .cta-form-redesign {
        padding: 35px 25px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}
.video-frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-content-redesign {
    flex: 1;
    color: #fff;
}

.video-label {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 3px;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    padding: 8px 16px;
    background: rgba(247, 176, 2, 0.1);
    border-radius: 4px;
}

.video-title {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 25px;
    color: #fff;
    font-weight: 700;
}

.video-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #ccc;
    margin-bottom: 40px;
}

.video-highlights {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.highlight-icon {
    width: 40px;
    height: 40px;
    background: rgba(247, 176, 2, 0.1);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1rem;
}

.highlight-item span {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 900px) {
    .video-section-redesign {
        flex-direction: column;
        gap: 40px;
    }
    
    .video-title {
        font-size: 2.2rem;
    }
    
    .video-highlights {
        justify-content: center;
    }
}

/* --- Stats/Impact Section --- */
.stats-section {
    color: #fff;
}

.stats-content {
    max-width: 1200px;
    margin: 0 auto;
}

.stats-text {
    text-align: center;
    margin-bottom: 60px;
}

.stats-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #fff;
    font-weight: 700;
}

.stats-description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin: 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s;
}

.stat-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-color);
}

.stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: rgba(247, 176, 2, 0.15);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.8rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

@media (max-width: 900px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .stats-title {
        font-size: 2.2rem;
    }
    
    .stat-number {
        font-size: 2.8rem;
    }
}

@media (max-width: 600px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}



/* Annotations & Arrows */
.project-annotations {
    border-left: 1px solid #ddd;
    padding-left: 30px;
    position: relative;
}

.annotation-item {
    margin-bottom: 20px;
    position: relative;
}

.annotation-item h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.annotation-item h4::before {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--primary-color);
}

.annotation-item p {
    font-size: 0.95rem;
    color: #777;
}

/* Arrow visual for context */
.arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: var(--darker-bg);
}

.arrow-link i {
    color: var(--primary-color);
    transition: 0.3s;
}

.arrow-link:hover i {
    transform: translateX(5px);
}

/* Mobile adjustments */
@media (max-width: 900px) {
    .project-showcase {
        flex-direction: column !important;
        margin-bottom: 80px;
    }
    
    .project-showcase-img, .project-showcase-info {
        flex: 1 1 100%;
        width: 100%;
    }
    
    .project-showcase-img {
        margin-bottom: 30px;
    }
    
    .project-number {
        font-size: 3rem;
    }
    
    .project-showcase-info h3 {
        font-size: 2.2rem;
    }
}


/* --- Video Split Layout --- */
/* --- Stats & Video Section --- */
.stats-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background-color: #1a1a1a;
    color: #fff;
}

.stats-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Using a dark abstract office background or similar */
    background: url('https://images.unsplash.com/photo-1497215728101-856f4ea42174?auto=format&fit=crop&q=80&w=1920') no-repeat center center/cover;
    opacity: 0.1;
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.section-title {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 25px;
    font-family: var(--font-heading);
}

.stats-desc {
    font-size: 1.1rem;
    opacity: 0.7;
    margin-bottom: 40px;
    max-width: 500px;
}

.stats-counters {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.counter-item {
    text-align: left;
}

.counter-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-heading);
    line-height: 1;
    margin-bottom: 10px;
}

.counter-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.6;
}

.stats-video-container {
    position: relative;
}

.video-wrapper-glass {
    padding: 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
}

/* --- Contact Section (Split Layout) --- */
.contact-section {
    background-color: #f6f6f6;
    padding-top: 100px;
    padding-bottom: 100px;
}

.container-contact-card {
    display: flex;
    justify-content: center;
}

.contact-card {
    display: flex;
    max-width: 1000px;
    width: 100%;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

/* Left: Contact Info (Dark) */
.contact-card-info {
    width: 50%;
    background-color: #1a1a1a;
    color: #fff;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-card-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: var(--font-heading);
    color: #fff;
}

.contact-card-desc {
    font-size: 1rem;
    opacity: 0.7;
    margin-bottom: 40px;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.icon-circle {
    width: 45px;
    height: 45px;
    background: rgba(247, 176, 2, 0.15); /* Primary transparent */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.contact-detail-item span {
    font-size: 1rem;
    font-weight: 500;
}

/* Right: Form (Light) */
.contact-card-form {
    width: 50%;
    padding: 60px;
    background-color: #fff;
}

.contact-form-new {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: #fcfcfc;
    border: 1px solid #eee;
    border-radius: 8px;
    outline: none;
    transition: 0.3s;
    font-family: var(--font-body);
}

.form-group textarea {
    height: 120px;
    resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    background: #fff;
}

.btn-submit-contact {
    background-color: var(--primary-color);
    color: #000;
    font-weight: 800;
    text-transform: uppercase;
    padding: 18px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    transition: 0.3s;
    margin-top: 10px;
}

.btn-submit-contact:hover {
    background-color: #e09f02;
    transform: translateY(-2px);
}

@media (max-width: 900px) {
    .contact-card {
        flex-direction: column;
    }
    
    .contact-card-info,
    .contact-card-form {
        width: 100%;
        padding: 40px 30px;
    }
}

/* --- Testimonials Redesigned --- */
/* --- Testimonials Redesigned (Clean Grid) --- */
.testimonials-section {
    background-color: #fcfcfc;
    padding: 100px 0;
}

.testimonials-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.rating-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

.rating-num {
    font-size: 1.2rem;
    font-weight: 800;
    color: #000;
}

.rating-context {
    font-size: 0.9rem;
    color: #888;
}

.btn-link-primary {
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-decoration: none;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 5px;
    transition: all 0.3s;
}

.btn-link-primary:hover {
    color: #000;
    border-color: #000;
}

.testimonials-grid-new {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #f0f0f0;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.testimonial-quote {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    font-style: italic;
    margin-bottom: 25px;
    min-height: 80px;
}

.testimonial-author {
    font-size: 1rem;
    font-weight: 700;
    color: #000;
    font-family: var(--font-heading);
}

@media (max-width: 1100px) {
    .testimonials-grid-new {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .testimonials-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .testimonials-grid-new {
        grid-template-columns: 1fr;
    }
}


/* --- Footer Redesign --- */
footer {
    background-color: #111;
    color: #fff;
    padding: 120px 0 60px 0; /* Aumentado significativamente */
}

.footer-content {
    color: #fff;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1000px; /* Limita largura para melhor centralização */
    margin: 0 auto;
    align-items: center; /* Centraliza verticalmente */
    padding: 0 40px; /* Espaçamento interno lateral */
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-col h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col p {
    color: #ccc;
    margin-bottom: 10px;
}

.footer-logo {
    display: block;
    margin-bottom: 30px;
    max-width: 180px;
}

.footer-desc {
    color: #ccc;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 400px;
}

.footer-sales-phrase {
    color: var(--primary-color);
    font-size: 1.15rem;
    font-weight: 700;
    max-width: 400px;
    line-height: 1.5;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 10px;
}

.social-links {
    margin-top: 20px;
    display: flex;
    gap: 20px;
}

.social-links a {
    color: #fff;
    font-size: 1.8rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    margin-top: 80px; /* Mais espaço antes da linha */
    padding-top: 40px; /* Mais espaço depois da linha */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

@media (max-width: 768px) {
    footer {
        padding: 80px 0 40px 0;
    }
    

    .footer-content {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 0 20px;
    }
    
    .footer-desc, .footer-sales-phrase {
        max-width: 100%;
    }
    
    .footer-bottom {
        margin-top: 40px;
    }
}

/* --- Timeline Section --- */
.timeline-section {
    background: #f8f8f8;
    padding: 0;
    overflow: hidden;
}

.timeline-container {
    display: flex;
    min-height: 100vh;
}

/* Yellow Sidebar */
.timeline-sidebar {
    background: var(--primary-color);
    width: 350px;
    padding: 80px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;
}

.timeline-main-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    color: #000;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.timeline-intro {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #000;
    font-weight: 500;
}

/* Timeline Content */
.timeline-content {
    flex: 1;
    padding: 100px 180px 100px 60px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.timeline-events {
    position: relative;
    height: 400px;
    margin-bottom: 60px;
}

.timeline-event {
    position: absolute;
    top: 40px;
    width: 150px;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animation class for timeline events */
.timeline-event-animated.visible {
    opacity: 1;
    transform: translateY(0);
}

.event-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 15px;
    text-transform: uppercase;
    line-height: 1.3;
    min-height: 40px;
    transition: color 0.3s;
}

.timeline-event:hover .event-label {
    color: var(--primary-color);
}

.event-line {
    width: 2px;
    height: 80px;
    background: #ddd;
    margin: 0 auto 15px;
    position: relative;
    overflow: hidden;
}

/* Animated line fill */
.event-line-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: #000;
    transition: height 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-event-animated.visible .event-line-fill {
    height: 100%;
}

.event-description {
    font-size: 0.75rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.4;
    min-height: 50px;
}

.event-badge {
    display: inline-block;
    background: var(--primary-color);
    color: #000;
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 4px;
    text-transform: lowercase;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(247, 176, 2, 0.3);
}

.event-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(247, 176, 2, 0.5);
}

/* New badge for Agrotis 2025 */
.event-badge-new {
    background: linear-gradient(135deg, var(--primary-color) 0%, #ffc107 100%);
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(247, 176, 2, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 5px 20px rgba(247, 176, 2, 0.6);
    }
}

/* Timeline Axis */
.timeline-axis {
    position: relative;
}

.axis-line {
    width: 100%;
    height: 2px;
    background: #ddd;
    position: relative;
    overflow: hidden;
}

/* Animated progress bar */
.axis-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #000 0%, var(--primary-color) 100%);
    transition: width 2s cubic-bezier(0.4, 0, 0.2, 1);
}

.axis-progress.active {
    width: 100%;
}

.axis-line::before,
.axis-line::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: #000;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.axis-line::before {
    left: 0;
}

.axis-line::after {
    right: 0;
    background: var(--primary-color);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(247, 176, 2, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(247, 176, 2, 0);
    }
}

.axis-years {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding: 0 10px;
}

.year-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
}

.year {
    font-size: 0.9rem;
    color: #666;
    font-weight: 600;
    transition: all 0.3s;
    cursor: default;
}

.year:hover {
    color: #000;
    transform: translateY(-2px);
}

.year-highlight {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 1rem;
    position: relative;
}

.year-highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--primary-color);
}

.year-current {
    color: var(--primary-color);
    font-weight: 900;
    font-size: 1.1rem;
    position: relative;
    animation: glow-year 2s ease-in-out infinite;
}

@keyframes glow-year {
    0%, 100% {
        text-shadow: 0 0 5px rgba(247, 176, 2, 0.3);
    }
    50% {
        text-shadow: 0 0 15px rgba(247, 176, 2, 0.6);
    }
}

/* Timeline Responsive */
@media (max-width: 1200px) {
    .timeline-sidebar {
        width: 280px;
        padding: 60px 40px;
    }
    
    .timeline-main-title {
        font-size: 2.8rem;
    }
    
    .timeline-content {
        padding: 80px 50px;
    }
    
    .timeline-event {
        width: 150px;
    }
}

@media (max-width: 900px) {
    .timeline-container {
        flex-direction: column;
    }
    
    .timeline-sidebar {
        width: 100%;
        padding: 60px 30px;
        min-height: auto;
    }
    
    .timeline-main-title {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }
    
    .timeline-content {
        padding: 60px 30px;
    }
    
    .timeline-events {
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 40px;
    }
    
    .timeline-event {
        position: static !important;
        width: 100%;
        text-align: left;
        display: flex;
        gap: 20px;
        align-items: flex-start;
    }
    
    .event-line {
        height: 100%;
        min-height: 60px;
        margin: 0;
    }
    
    .event-label,
    .event-description {
        text-align: left;
        min-height: auto;
    }
    
    .axis-years {
        flex-wrap: wrap;
        gap: 10px;
    }
}

/* --- National Presence Map Section --- */
.map-section {
    background: #0a0a0a;
    padding: 0;
    overflow: hidden;
    position: relative;
}

.map-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.map-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 60px;
    align-items: center;
}

/* Map Visual */
.map-visual {
    position: relative;
}

.brazil-map {
    width: 100%;
    max-width: 500px;
    height: auto;
    filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.5));
}

.brazil-outline {
    transition: all 0.3s;
}

.brazil-outline:hover {
    fill: #333;
}

/* Location Pins */
.location-pins .pin {
    transform-origin: center;
}

.pin {
    cursor: pointer;
    transition: opacity 0.3s;
}

.pin:hover {
    filter: drop-shadow(0 0 10px var(--primary-color));
}

/* Map Info */
.map-info {
    color: #fff;
}

.map-label {
    display: inline-block;
    font-size: 1rem;
    letter-spacing: 3px;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    line-height: 1.4;
}

.map-title {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 30px;
    color: #fff;
    font-weight: 700;
}

.map-description {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #ccc;
    margin-bottom: 50px;
    max-width: 500px;
}

/* Map Stats */
.map-stats {
    display: flex;
    gap: 60px;
}

.stat-item-map {
    display: flex;
    align-items: baseline;
    gap: 15px;
}

.stat-number-map {
    font-size: 5rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
    font-family: var(--font-heading);
}

.stat-label-map {
    font-size: 1.1rem;
    color: #fff;
    line-height: 1.3;
    font-weight: 600;
}

/* Map Responsive */
@media (max-width: 1200px) {
    .map-content {
        gap: 60px;
        padding: 80px 40px;
    }
    
    .map-title {
        font-size: 2.3rem;
    }
    
    .stat-number-map {
        font-size: 4rem;
    }
}

@media (max-width: 900px) {
    .map-content {
        grid-template-columns: 1fr;
        gap: 60px;
        padding: 60px 30px;
    }
    
    .brazil-map {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .map-title {
        font-size: 2rem;
    }
    
    .map-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .stat-number-map {
        font-size: 3.5rem;
    }
}


.author-info h4 {
    font-size: 1.1rem;
    color: var(--darker-bg);
    margin-bottom: 5px;
    font-weight: 700;
}

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

@media (max-width: 900px) {
    .testimonials-redesign {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .testimonial-item-redesign {
        padding: 40px 30px;
    }
}
.video-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.video-wrapper-full {
    flex: 1.2; /* Slightly larger video area */
    position: relative;
    padding-bottom: 40%; /* Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.video-wrapper-full iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media (max-width: 900px) {
    .video-row {
        flex-direction: column;
        text-align: center;
    }
    
    .video-wrapper-full {
        width: 100%;
        padding-bottom: 56.25%; /* 16:9 on mobile */
    }
}


/* --- Construction Management Section (Premium Blueprint) --- */
#management.bg-dark-blueprint {
    background-color: #111111; /* Deeper dark background */
    color: #fff;
    position: relative;
    overflow: hidden;
}

/* Technical Grid Overlay */
.blueprint-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: 40px 40px;
    z-index: 1;
    pointer-events: none;
}

.methodology-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

/* Glass Card Style Refined */
.blueprint-card {
    background: rgba(255, 255, 255, 0.03); /* Lighter glass for contrast */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 2px solid var(--primary-color);
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.blueprint-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border-top-width: 4px;
}

.method-number-outline {
    font-size: 6rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08);
    position: absolute;
    bottom: -15px;
    right: 15px;
    z-index: 0;
    line-height: 1;
    opacity: 0.6;
    transition: 0.3s;
}

.blueprint-card:hover .method-number-outline {
    opacity: 0.9;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
}

.blueprint-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    color: #fff;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.blueprint-card p {
    font-size: 1rem;
    color: #aaa;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* Differentials Bar */
.blueprint-diffs {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(to right, rgba(255,255,255,0.01), rgba(255,255,255,0.03), rgba(255,255,255,0.01));
    border-radius: 4px;
    padding: 50px 0;
    position: relative;
    z-index: 2;
}

.differentials-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.differentials-row .diff-icon {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    opacity: 1;
    text-shadow: 0 0 20px rgba(247, 176, 2, 0.3); /* Yellow Glow */
}

.differentials-row .diff-item h4 {
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.differentials-row .diff-item p {
    color: #888;
    font-size: 0.95rem;
    max-width: 250px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .methodology-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .differentials-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .blueprint-card {
        padding: 30px;
    }

    .method-number-outline {
        font-size: 4rem;
    }
}

/* --- New Feedback Section Redesign --- */
.feedback-section {
    background-color: #fff;
    padding: 80px 0;
    overflow: hidden;
}

.feedback-container {
    display: flex;
    max-width: 1600px; /* Wider container for this layout */
    margin: 0 auto;
    padding: 0 40px;
    gap: 60px;
    align-items: stretch;
}

/* Left Column */
.feedback-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Header & Ratings */
.feedback-header {
    margin-bottom: 50px;
}

.feedback-header h2 {
    font-size: 3.5rem;
    color: #111;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.feedback-header h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
}

.feedback-rating-info {
    margin-top: 20px;
    font-family: var(--font-body);
}

.company-info h4 {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.company-info p {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.rating-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rating-score {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
}

.stars {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.rating-count {
    color: #888;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Grid Layout */
.feedback-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.feedback-card {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 250px;
    transition: transform 0.3s;
}

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

.card-yellow {
    background-color: var(--primary-color);
    color: #111;
}

.card-gray {
    background-color: #f4f4f4;
    color: #333;
}

.quote-icon-large {
    font-size: 3rem;
    opacity: 0.2;
    margin-bottom: 10px;
}

.feedback-text {
    font-size: 1rem;
    line-height: 1.5;
    font-style: italic;
    margin-bottom: 20px;
    flex-grow: 1; /* Pushes author down */
}

.feedback-author {
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: auto;
}

/* Footer Source */
.feedback-footer-source {
    margin-top: 40px;
    font-size: 0.8rem;
    color: #aaa;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Right Column - Image */
.feedback-right {
    flex: 0 0 40%; /* Fixed width for image column */
    position: relative;
    min-height: 500px;
}

.feedback-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 1024px) {
    .feedback-container {
        flex-direction: column;
        padding: 0 20px;
    }
    
    .feedback-right {
        height: 400px; /* Fixed height when stacked */
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .feedback-grid {
        grid-template-columns: 1fr; /* Stack cards on mobile */
    }
    
    .feedback-header h2 {
        font-size: 2.5rem;
    }
}

/* --- New Video Section Redesign (Centered) --- */
.video-centered-section {
    background-color: #fff;
    text-align: center;
}

.video-header-new {
    margin-bottom: 50px;
    text-align: left; /* Header is left aligned in the image */
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.video-header-new h2 {
    font-size: 4rem;
    line-height: 1;
    text-transform: uppercase;
    font-weight: 300; /* Regular weight for first part */
    margin-bottom: 20px;
}

.video-header-new h2 .text-black {
    color: #000;
    font-weight: 300;
}

.video-header-new h2 .text-yellow {
    color: var(--primary-color);
    font-weight: 700;
}

.separator-line {
    width: 60px;
    height: 4px;
    background-color: #000;
    display: block;
}

.video-wrapper-new {
    max-width: 1000px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    background-color: #000;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.video-footer-link {
    margin-top: 30px;
    text-align: left;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.video-footer-link p {
    font-size: 0.7rem;
    color: #999;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
}

@media (max-width: 768px) {
    .video-header-new h2 {
        font-size: 2.5rem;
    }
    
    .video-wrapper-new {
        width: 100%;
    }
}

/* --- New Methodology Grid (Pensar, Projetar, Executar) --- */
.methodology-section-v2 {
    background-color: #fff;
    padding: 20px;
}

.methodology-grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
    max-width: 1600px;
    margin: 0 auto;
    height: 800px; /* Fixed height for desktop to match aspect ratios */
}

.methodology-item {
    position: relative;
    overflow: hidden;
}

.method-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.methodology-item:hover .method-img {
    transform: scale(1.05);
}

/* Item 1: Black List (Spans 2 rows, Left Col) */
.item-list-black {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    background-color: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
    color: #fff;
}

.method-list-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.method-step {
    display: flex;
    align-items: center;
    gap: 20px;
}

.step-icon {
    font-size: 2.5rem;
    color: #fff;
    width: 50px;
    text-align: center;
}

.step-icon i {
    color: transparent;
    -webkit-text-stroke: 1px var(--primary-color);
}

.step-text {
    font-size: 2rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.step-icon-separator {
    color: var(--primary-color);
    letter-spacing: 5px;
    font-size: 0.8rem;
    margin-left: 70px; /* Align with text */
    opacity: 0.5;
}

/* Item Images */
.item-img-1 {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.item-img-2 {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
}

.item-img-3 {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

/* Item Yellow Text Box */
.item-text-yellow {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.yellow-box-content {
    text-align: left;
    max-width: 80%;
}

.yellow-box-content p {
    font-size: 1.2rem;
    color: #000;
    line-height: 1.6;
    font-weight: 500;
    margin: 20px 0;
}

.deco-line-black {
    width: 40px;
    height: 2px;
    background-color: #000;
}

/* Responsive */
@media (max-width: 1024px) {
    .methodology-grid-container {
        height: auto;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .item-list-black {
        grid-column: 1 / 3;
        grid-row: auto;
        padding: 40px;
    }
    
    .item-img-1 { grid-column: 1 / 2; }
    .item-img-2 { grid-column: 2 / 3; }
    .item-img-3 { grid-column: 1 / 2; }
    .item-text-yellow { grid-column: 2 / 3; }
}

@media (max-width: 768px) {
    .methodology-grid-container {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .item-list-black, .item-img-1, .item-img-2, .item-img-3, .item-text-yellow {
        grid-column: 1 / 2;
        min-height: 300px;
    }
    
    .item-text-yellow {
        padding: 60px 30px;
    }
}

/* --- Convergence Section ("Convergência de Ideias") --- */
.convergence-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    padding: 100px 20px;
}

/* Left Text */
.convergence-text {
    flex: 0 0 35%;
}

.convergence-header h2 {
    font-size: 3.5rem;
    line-height: 1;
    margin-bottom: 20px;
    color: #000;
}

.convergence-header .text-yellow {
    color: var(--primary-color);
}

.separator-line-yellow {
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin-bottom: 20px; /* Reduced from 35px */
}

.mx-auto {
    margin-left: auto !important;
    margin-right: auto !important;
}

.convergence-lead {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 25px;
    line-height: 1.3;
}

.convergence-desc {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    max-width: 450px;
}

/* Right Visual */
.convergence-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.convergence-visual img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.05));
}

/* Responsive */
@media (max-width: 1024px) {
    .convergence-container {
        flex-direction: column;
        text-align: center;
        gap: 50px;
    }
    
    .convergence-text {
        flex: 1;
    }
    
    .separator-line-yellow {
        margin: 0 auto 35px auto;
    }
    
    .convergence-desc {
        margin: 0 auto;
    }
    
    .convergence-visual img {
        max-width: 90%;
    }
}

/* --- Clients Trust Section --- */
#clients-trust {
    padding-top: 80px;
    padding-bottom: 80px;
}

.clients-header h2 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 25px;
    color: #000;
}

.clients-header .separator-line-yellow {
    margin-bottom: 40px;
}

.clients-grid-visual {
    margin-top: 60px;
    display: flex;
    justify-content: center;
}

.clients-grid-visual img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .clients-header h2 {
        font-size: 2rem;
    }
}

/* --- Orbit A9 Section --- */
#orbit-a9 {
    background-color: #fcfcfc;
}

.orbit-header h2 {
    font-size: 2.8rem;
    max-width: 900px;
    margin: 0 auto 30px;
    line-height: 1.1;
    color: #111;
}

.orbit-subheadline {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    color: #555;
    line-height: 1.6;
}

.orbit-subheadline p {
    margin-bottom: 15px;
}

.orbit-problem-box {
    background: #fff;
    padding: 40px;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    border-left: 5px solid var(--primary-color);
}

.orbit-problem-box h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #000;
}

.symptoms-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.symptoms-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.symptoms-list li i {
    color: #cc0000;
    margin-top: 5px;
    font-size: 1.1rem;
}

.symptoms-list li span {
    font-size: 1.05rem;
    color: #444;
}

.orbit-intro-text {
    padding: 20px 40px;
}

.orbit-intro-text .lead {
    font-size: 1.8rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-transform: uppercase;
}

.orbit-intro-text p:not(.lead) {
    font-size: 1.15rem;
    color: #333;
}

.orbit-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.orbit-step-card {
    background: #fff;
    padding: 40px 30px;
    border: 1px solid #eee;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.orbit-step-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.orbit-step-card .step-num {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    color: rgba(247, 176, 2, 0.1);
    position: absolute;
    top: 10px;
    right: 20px;
    line-height: 1;
    transition: 0.3s;
}

.orbit-step-card:hover .step-num {
    color: rgba(247, 176, 2, 0.2);
}

.orbit-step-card h4 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: #000;
    position: relative;
    z-index: 2;
}

.orbit-step-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    position: relative;
    z-index: 2;
}

.orbit-gains-box {
    background: #111;
    color: #fff;
    padding: 60px;
    border-radius: 4px;
    margin-top: 80px;
}

.orbit-gains-box h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--primary-color);
}

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

.gain-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.gain-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.gain-item span {
    font-size: 1.1rem;
    font-weight: 600;
}

.orbit-cta-box {
    padding: 60px 0;
}

.orbit-cta-box h3 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.orbit-cta-box .microcopy {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #888;
    font-style: italic;
}

@media (max-width: 1024px) {
    .orbit-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .orbit-header h2 {
        font-size: 2rem;
    }
    
    .orbit-problem-solution {
        flex-direction: column;
    }
    
    .orbit-steps-grid {
        grid-template-columns: 1fr;
    }
    
    .orbit-gains-box {
        padding: 40px 20px;
    }
    
    .orbit-intro-text {
        padding: 30px 0;
    }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: #fff;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
}

/* --- Lightbox --- */
#lightbox {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
}

#lightbox.active {
    display: flex;
}

#lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 3rem;
    color: #fff;
    cursor: pointer;
    transition: color 0.3s;
}

.lightbox-close:hover {
    color: var(--primary-color);
}

/* Project Mosaic Grid */
.project-showcase.has-mosaic {
    margin-bottom: 50px;
}

.project-mosaic {
    margin-bottom: 150px;
    margin-top: -100px;
}

.project-mosaic-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 250px 250px;
    gap: 15px;
}

.project-mosaic-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    height: 100%;
    width: 100%;
    cursor: pointer;
}

.project-mosaic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-mosaic-item:hover img {
    transform: scale(1.05);
}

.mosaic-large {
    grid-column: span 2;
    grid-row: span 2;
}

.mosaic-wide {
    grid-column: span 2;
}

.mosaic-tall {
    grid-row: span 2;
}

@media (max-width: 900px) {
    .project-mosaic-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    
    .mosaic-large {
        grid-column: span 2;
        height: 300px;
    }
    
    .mosaic-wide {
        grid-column: span 2;
        height: 200px;
    }
    
    .project-mosaic-item {
        min-height: 200px;
    }
}

/* --- Convergence Grid Layout (New) --- */
.convergence-visual {
    width: 100%;
}

.convergence-architecture-board {
    background: linear-gradient(135deg, #fbc63b 0%, var(--primary-color) 100%);
    border-radius: 12px;
    padding: 60px 40px;
    box-shadow: 0 15px 40px rgba(247, 176, 2, 0.2);
    width: 100%;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.architecture-board-title {
    font-size: 3.5rem;
    
    
    text-transform: uppercase;
    color: #000;
    margin: 0 0 50px 0;
    text-align: center;
    line-height: 1;
    letter-spacing: 2px;
    position: relative;
    z-index: 2;
}

.convergence-sub-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
    position: relative;
    z-index: 2;
}

.masonry-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sub-item {
    background-color: #fafafa;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    border-radius: 8px;
    padding: 30px 25px;
    text-align: left;
    transition: all 0.3s;
    border: 1px solid #f2f2f2;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    cursor: default;
}

.sub-item:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}

.sub-item:hover h4::after {
    width: 100%;
}

.sub-item h4 {
    font-size: 0.95rem;
    margin: 0 0 25px 0;
    
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #000;
    position: relative;
    padding-bottom: 12px;
    line-height: 1.4;
    display: inline-block;
}

.sub-item h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.sub-item-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.sub-item-list li {
    font-size: 0.95rem;
    color: #444;
    padding-left: 20px;
    position: relative;
    line-height: 1.4;
    
}

.sub-item-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    top: -1px;
    color: var(--primary-color);
    
    font-size: 0.95rem;
}

@media (max-width: 900px) {
    .convergence-architecture-board {
        padding: 40px 20px;
    }
    
    .architecture-board-title {
        font-size: 2.8rem;
        margin-bottom: 30px;
    }

    .convergence-sub-items {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .convergence-sub-items {
        grid-template-columns: 1fr;
    }
}

/* --- Image Modal Lightbox --- */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
}

#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
    font-size: 1.1rem;
    font-family: var(--font-body);
}

.modal-content, #caption {  
    animation-name: zoom;
    animation-duration: 0.3s;
}

@keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

.close-modal {
    position: absolute;
    top: 25px;
    right: 45px;
    color: #f1f1f1;
    font-size: 50px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10000;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--primary-color);
    text-decoration: none;
    cursor: pointer;
}

/* Optional: Make project images look clickable */
.project-showcase-img img, .project-mosaic-item img {
    cursor: zoom-in;
}
