/* 
   JAD Business Clone - Dark Premium Theme
   Based on reference image
*/

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');
/* Remix Icon for icons */
@import url('https://cdn.jsdelivr.net/npm/remixicon@3.5.0/fonts/remixicon.css');

:root {
    /* Core Colors */
    --bg-main: #FFFFFF;
    /* White Base */
    --bg-secondary: #FAFBFD;
    /* Light Grayish Blue */
    --bg-card: #FFFFFF;
    /* White Card */

    --primary-blue: #2563EB;
    /* Bright Blue Accent */
    --primary-hover: #1d4ed8;

    --text-white: #ffffff;
    --text-heading: #0F172A;
    /* Dark Slate for Headings */
    --text-body: #334155;
    /* Slate for Body text */
    --text-muted: #64748B;
    /* Muted Slate */

    --border-color: #E2E8F0;
    /* Light Gray Border */


    /* Variables */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 24px;

    --container-max: 1200px;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    overflow-x: hidden;
    background: linear-gradient(180deg, #FFFFFF 0%, #FAFBFD 100%);
    background-attachment: fixed;
    min-height: 100vh;
    color: var(--text-body);
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    color: var(--text-heading);
    line-height: 1.2;
    font-weight: 700;
}

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

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

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

.gap-sm {
    gap: 1rem;
}

.gap-md {
    gap: 2rem;
}

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

.text-white {
    color: white;
}

.text-blue {
    color: var(--primary-blue);
}

.mt-2 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-4 {
    margin-bottom: 4rem;
}

.mb-1 {
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    /* Slightly rounded, not full pill */
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: #000000;
    color: white;
    border: none;
}

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

.btn-outline {
    border: 1px solid var(--border-color);
    color: var(--primary-blue);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--primary-blue);
    background: rgba(37, 99, 235, 0.05);
}

/* Section Common */
.section-py {
    padding: var(--spacing-lg) 0;
}

/* Header */
.header {
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    background: transparent;
    z-index: 1000;
    transition: background 0.3s;
}

/* Header Scrolled State - Light Theme */
.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header.scrolled .logo span {
    color: var(--text-heading);
}

.header.scrolled .nav-links a {
    color: var(--text-heading);
}

.header.scrolled .nav-links a:hover {
    color: var(--primary-blue);
}

.menu-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    transition: color 0.3s;
}

.header.scrolled .menu-btn {
    color: var(--text-heading);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo img {
    height: 65px;
    border-radius: 50%;
    /* Makes the hexagonal/square image circular/rounded */
    object-fit: cover;
}

.logo span {
    font-size: 1.75rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.02em;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: color 0.3s;
}

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

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

.nav-links a {
    color: white;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

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

.dropdown {
    position: relative;
    cursor: pointer;
}

/* Mobile Helpers */
.mobile-show {
    display: none;
}

@media (max-width: 768px) {
    .mobile-hide {
        display: none;
    }

    .mobile-show {
        display: block;
    }
}


/* Hero Redesign */
.hero-redesign {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
    /* Space for fixed header */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
    /* Anchor to right to show the man */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Dark until 50%, then fades to lighter */
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.9) 40%, rgba(200, 200, 200, 0.2) 100%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-content {
    max-width: 600px;
    text-align: center;
}

.hero-subtitle {
    display: block;
    font-size: 1.25rem;
    font-weight: 600;
    color: #60a5fa;
    /* Lighter blue for better contrast on dark bg */
    margin-bottom: 1rem;
}

.hero-content h1 {
    font-size: 34px;
    line-height: 1.1;
    color: white;
    /* Hero has dark bg */
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-align: justify;
}

.hero-content p {
    color: white;
    /* Light text for Hero */
    /* Lighter than muted */
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
}

.btn-pink {
    background-color: #4a4a4a;
    /* Gray */
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-block;
    transition: 0.3s;
}

.btn-pink:hover {
    background-color: #333333;
    /* Dark Gray */
    transform: translateY(-2px);
}

.hero-image-wrapper {
    position: relative;
    height: 600px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.hero-man-img {
    max-height: 100%;
    width: auto;
    position: relative;
    z-index: 2;
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

/* Diamond Overlays */
.diamond-shape {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transform: rotate(45deg);
    pointer-events: none;
    z-index: 1;
}

.shape-large {
    width: 600px;
    height: 600px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.shape-medium {
    width: 400px;
    height: 400px;
    top: 50%;
    left: 80%;
    transform: translate(-50%, -50%) rotate(45deg);
    border-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 1024px) {

    html,
    body {
        overflow-x: hidden;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 2rem;
    }

    .hero-content {
        margin: 0 auto;
        padding: 0 1rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
        text-align: justify;
        /* Reduced from default */
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-image-wrapper {
        height: 400px;
        margin-top: 2rem;
    }

    .shape-large {
        width: 300px;
        /* Reduced size */
        height: 300px;
        left: 50%;
        /* Center it */
    }
}

/* Stats/Social Proof Section */
.stats-proof-section {
    background-color: var(--bg-main);
    /* Match hero dark background */
    padding: 3rem 0;
    text-align: center;
}

.stats-heading {
    font-size: 2.5rem;
    color: var(--text-heading);
    margin-bottom: 5rem;
    line-height: 1.2;
    font-weight: 700;
}

.stats-grid {
    display: flex;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto 4rem;
}

.stat-box {
    flex: 1;
    padding: 0 2rem;
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-box:last-child {
    border-right: none;
}

.stat-box h3 {
    font-size: 2.5rem;
    color: black;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-box p {
    color: var(--text-body);
    font-size: 0.9rem;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    max-width: 250px;
}

@media (max-width: 768px) {
    .stats-heading {
        font-size: 1.8rem;
    }

    .stats-grid {
        flex-direction: column;
        gap: 3rem;
    }

    .stat-box {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 2rem;
    }

    .stat-box:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
}

/* Brazil Scenario Section (Quem Somos) */
.brazil-scenario-section {
    background: linear-gradient(90deg, rgba(104, 104, 97, 0.9) 0%, rgba(201, 201, 201, 0.8) 100%);
    padding: 6rem 0;
    overflow: hidden;
    color: black;
}

.scenario-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    align-items: center;
}

.scenario-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    /* Square to make diamond perfect */
    max-width: 300px;
    margin: 0 auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

.scenario-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 20px;
}

.scenario-content {
    max-width: 500px;
}

.scenario-content h2 {
    font-size: 2.5rem;
    color: black;
    margin-bottom: 2rem;
    font-weight: 700;
}

.scenario-content p {
    color: black;
    font-size: 0.97rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    text-align: justify;
}

@media (max-width: 1024px) {
    .scenario-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .scenario-content {
        margin: 0 auto;
    }
}

/* Partners Ticker */
.partners-section {
    position: relative;
    z-index: 1;
    margin-top: 6rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}


.partners-label {
    font-size: 0.85rem;
    color: white;
    max-width: 100px;
    line-height: 1.3;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding-right: 2rem;
}

.partners-logos {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.partner-logo-box {
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: 0.2s;
}

.partner-logo-box:hover {
    opacity: 1;
    border-color: white;
}

.partner-logo-box span {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-heading);
    letter-spacing: 0.05em;
}

/* Services Carousel Section */
.services-section {
    padding: 4rem 0;
    position: relative;
    background: white;
    overflow: hidden;
}

.services-section::before {
    content: 'JAD Business';
    position: absolute;
    top: -50px;
    left: -5%;
    font-size: 25vw;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.02);
    z-index: 0;
    pointer-events: none;
    line-height: 1;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.services-container {
    display: grid;
    grid-template-columns: 0.8fr 2fr;
    /* Favor carousel width */
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Left Content */
.services-content {
    flex: 0 0 350px;
    /* Fixed width for text */
    padding-left: 1rem;
    z-index: 10;
    min-width: 0;
}

/* Right Content: Stats/Carousel */
.services-carousel-wrapper {
    flex: 1;
    /* Take remaining space */
    width: auto;
    position: relative;
    overflow: visible;
    /* Show all content */
    padding-left: 0;
    min-width: 0;
}

.services-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: black;
}

.services-content h2 strong {
    color: var(--text-heading);
    /* just in case */
}

.services-content h2::after {
    content: none;
}

.services-content p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* Renamed logic in CSS (targeting ID or class) for static grid */
#servicesStatic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 equal columns */
    gap: 1rem;
    overflow: visible;
    width: 100%;
    padding: 0;
    animation: none;
}

.service-card-new {
    min-width: 0;
    /* Allow flex/grid shrinking if needed */
    width: 100%;
    height: 300px;
    /* Slightly taller for static view */
    background: #4a4a4a;
    border: 1px solid #666;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: 0.3s;
    backdrop-filter: blur(5px);
}

.service-card-new:hover {
    border-color: var(--primary-blue);
    transform: translateY(-5px);
    background: #5a5a5a;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.service-icon-large {
    font-size: 3rem;
    color: white;
    margin-bottom: 1.5rem;
}

.service-card-new h3 {
    font-size: 0.9rem;
    font-weight: 500;
    color: white;
}

@media (max-width: 1200px) {
    .services-container {
        flex-direction: column;
        align-items: start;
    }

    .services-content {
        margin-bottom: 2rem;
        flex: none;
        width: 100%;
    }

    #servicesStatic {
        grid-template-columns: repeat(2, 1fr);
        /* 2x2 on tablets */
    }
}

@media (max-width: 600px) {
    #servicesStatic {
        grid-template-columns: 1fr;
        /* Stack on mobile */
    }
}

.icon-box h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Solutions Row (4 columns) below Icon Grid */
.solutions-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 6rem;
    text-align: center;
}

.solution-item i {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    display: block;
}

.solution-item h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.solution-item p {
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--text-muted);
}

/* Light Section (Now Transparent) */
.light-section {
    background-color: rgba(255, 255, 255, 0.05);
    /* Glass */
    color: var(--text-heading);
    padding: 3rem 0;
}

.light-section h2 {
    color: var(--text-heading);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.light-section h2::after {
    content: none;
}

.light-section p {
    color: var(--text-body);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.sectors-row {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 6rem;
}

.sector-btn {
    background: #0F172A;
    /* Dark Navy matches theme */
    color: white;
    padding: 1rem 1.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 8px;
    letter-spacing: 0.05em;
    transition: 0.3s;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.sector-btn:hover {
    background: #1e293b;
    transform: translateY(-2px);
    color: white;
}



.feature-img {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.method-tags {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.tag {
    background: #0F172A;
    color: white;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
}

/* Map Section */
.map-section {
    background-color: #fdfdfe;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
    /* For background shapes */
}

/* Geometric Background Shapes (Diamonds) */
.geo-shape {
    position: absolute;
    width: 400px;
    height: 400px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transform: rotate(45deg);
    pointer-events: none;
}

.shape-1 {
    top: 20%;
    left: -200px;
}

.shape-2 {
    top: 50%;
    left: -100px;
    width: 300px;
    height: 300px;
}

.map-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.map-section .section-title {
    font-size: 2.5rem;
    color: var(--text-heading);
    line-height: 1.2;
    margin-bottom: 2rem;
}

.map-section .section-title strong {
    color: var(--text-heading);
}

.map-section .section-title::after {
    content: none;
}

.map-section .text-body p {
    color: var(--text-body);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 500px;
}

.map-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brasil-map {
    width: 100%;
    height: auto;
    /* Image already has the correct visuals */
    opacity: 1;
    max-height: 100%;
}

/* Markers */
.map-marker {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.marker-dot {
    width: 12px;
    height: 12px;
    background: #2563EB;
    /* Blue dot for visibility on light map */
    border-radius: 2px;
    /* Diamond-ish square */
    transform: rotate(45deg);
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.3);
    position: relative;
}

/* Add the tech-looking internal dot or border if needed */
.marker-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 2px;
}

.marker-label {
    color: var(--text-body);
    font-size: 0.8rem;
    white-space: nowrap;
}

/* Connecting lines (simplified for CSS) */
/* In a real production, SVG lines are better, but borders works for simple horizontal lines */
.marker-label::before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 1px;
    background: rgba(0, 0, 0, 0.2);
    /* Darker line */
    margin-right: 0.5rem;
    vertical-align: middle;
}

/* Footer */
.footer {
    background: linear-gradient(90deg, rgba(104, 104, 97, 0.9) 0%, rgba(201, 201, 201, 0.8) 100%);
    /* Gradient as requested */
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
}

.footer-col h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.footer-col a {
    display: block;
    margin-bottom: 0.75rem;
    color: #f1f5f9;
    /* Light text for contrast */
}

.footer-col a:hover {
    color: white;
    /* Brighter on hover */
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 3rem;
    padding-top: 1.5rem;
    text-align: center;
    color: #e2e8f0;
    /* Light text for contrast */
    font-size: 0.75rem;
}

/* Structure Section */
.structure-section {
    padding: 6rem 0;
    background: linear-gradient(90deg, rgba(104, 104, 97, 0.9) 0%, rgba(201, 201, 201, 0.8) 100%);
    text-align: center;
    color: black;
}

.structure-header {
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.structure-header h2 {
    font-size: 2.5rem;
    color: black;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.structure-header h2 strong {
    color: black;
    font-weight: 700;
}

.structure-header h2::after {
    content: none;
}

.structure-header p {
    color: black;
    font-size: 1.1rem;
}

/* Pillars Grid - The bordered quadrant look */
.pillars-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    overflow: hidden;
    /* For border radius */
    max-width: 1000px;
    margin: 0 auto 3rem auto;
}

.pillar-card {
    padding: 3rem 2rem;
    text-align: center;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #ffffff;
}

/* Remove borders for edge items to create the perfect 2x2 grid with outer border */
.pillar-card:nth-child(2n) {
    border-right: none;
}

.pillar-card:nth-child(3),
.pillar-card:nth-child(4) {
    border-bottom: none;
}

.pillar-icon {
    width: 60px;
    height: 60px;
    background: black;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.pillar-card h3 {
    color: black;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.pillar-card p {
    color: black;
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 350px;
    text-align: justify;
}

.structure-footer {
    max-width: 900px;
    margin: 0 auto;
}

.structure-footer p {
    color: var(--text-body);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* White Section (Now Transparent) */
.white-section {
    padding: 3rem 0;
}

/* Center everything in white section features */
.white-section .feature-grid {
    display: block !important;
    /* Override generic grid */
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.white-section .feature-content {
    width: 100%;
    margin: 0 auto;
}

.white-section .feature-content h2 {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.white-section .feature-content p {
    margin-left: auto;
    margin-right: auto;
}

.white-section video {
    display: block;
    margin: 2rem auto !important;
    max-width: 100%;
}

/* Image Shadow Effect for Solution Section */
.img-shadow-effect {
    position: absolute;
    width: 90%;
    height: 90%;
    top: 20%;
    right: -10%;
    background: #E6E5DE;
    /* Beige */
    border-radius: 50%;
    filter: blur(60px);
    z-index: 1;
    opacity: 0.8;
}

/* Ensure the image sits on top */
.feature-img-styled {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    display: block;
}

/* Content Section */
.content-section {
    background: linear-gradient(90deg, rgba(104, 104, 97, 0.9) 0%, rgba(201, 201, 201, 0.8) 100%);
    padding: 6rem 0;
    overflow: hidden;
    border-top: 1px solid var(--border-color);
    /* Subtle separator */
}

.content-header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.content-title-box h2 {
    font-size: 3rem;
    color: black;
    line-height: 1.1;
    font-weight: 700;
}

.content-actions {
    max-width: 500px;
}

.content-actions p {
    color: black;
    font-size: 0.95rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.content-grid-layout {
    display: grid;
    grid-template-columns: 1fr;
    /* Single column */
    gap: 4rem;
    align-items: flex-start;
}

/* Featured Post */
.featured-img-box {
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    height: 300px;
}

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

.featured-post-card:hover .featured-img-box img {
    transform: scale(1.05);
}

.post-category {
    display: block;
    color: #ef4444;
    /* Red accent for category */
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    letter-spacing: 0.05em;
}

.featured-post-card h3 {
    color: white;
    font-size: 1.5rem;
    line-height: 1.3;
}

/* Recent Posts List */
.recent-posts-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.post-list-item {
    border-bottom: 1px solid var(--border-color);
    padding: 2rem 0;
}

.post-list-item:first-child {
    padding-top: 0;
}

.post-list-item:last-child {
    border-bottom: none;
}

.post-list-item h4 {
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.4;
    transition: 0.3s;
}

.post-list-item:hover h4 {
    color: var(--primary-blue);
}

/* FAQ Section */
.faq-section {
    background-color: #060B18;
    /* Darkest theme color */
    padding: 4rem 0;
}

.faq-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
}

.faq-header h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 300;
    /* Let strong handle boldness */
}

.faq-header h2 strong {
    font-weight: 700;
}

.faq-header p {
    color: var(--text-muted);
    font-size: 1rem;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item {
    border-bottom: 1px solid rgba(37, 99, 235, 0.2);
    /* Blueish separator line */
}

.faq-item summary {
    list-style: none;
    padding: 2rem 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-question {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

.faq-icon-dot {
    width: 8px;
    height: 8px;
    background-color: #ef4444;
    border-radius: 50%;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-answer {
    padding: 0 1rem 2rem;
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
    max-width: 90%;
}

.faq-item[open] summary {
    background-color: rgba(255, 255, 255, 0.02);
}

@media (max-width: 1024px) {
    .content-header-wrapper {
        flex-direction: column;
    }

    .content-grid-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}


@media (max-width: 768px) {

    /* Mobile Stack */
    .pillars-grid {
        grid-template-columns: 1fr;
    }

    .pillar-card {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .pillar-card:last-child {
        border-bottom: none;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-stats-row {
        flex-direction: column;
        gap: 2rem;
    }

    .hero-stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 1rem;
        padding-right: 0;
    }

    .partners-section {
        flex-direction: column;
        align-items: flex-start;
    }


    .partners-label {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 1rem;
        width: 100%;
        max-width: 100%;
        margin-bottom: 1rem;
    }

    .hero-stats,
    .solutions-row,
    .feature-grid,
    .map-content,
    .services-container {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }

    .icon-box:nth-child(3n) {
        border-right: 1px solid var(--border-color);
    }

    .icon-box {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .hero h1 {
        font-size: 2rem;
        text-align: center;
    }

    .hero-intro {
        padding-left: 0;
        text-align: center;
    }

    .hero-intro p {
        margin: 0 auto 2rem;
    }

    .hero-btns {
        justify-content: center;
    }

    .mobile-hide {
        display: none;
    }
}

/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s;
}

.modal-content {
    background-color: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-color);
    text-align: center;
    animation: slideUp 0.3s;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: var(--text-muted);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}

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

.modal-content h3 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.modal-content p {
    color: var(--text-body);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    text-align: justify;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Mobile Menu Styles */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #0F172A;
    /* Dark theme background */
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.mobile-menu-links a {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.mobile-menu-links a:hover {
    color: var(--primary-blue);
}

/* Benefits Section Redesign */
.benefits-section {
    padding: 3rem 0;
    background: white;
}

.benefits-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.benefits-main-title {
    font-size: 2.5rem;
    color: #0F172A;
    margin-bottom: 4rem;
    font-weight: 800;
    text-align: center;
    letter-spacing: -0.02em;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    /* Left column smaller than right */
    gap: 4rem;
    align-items: center;
    position: relative;
}

/* Vertical Divider Line */
.benefits-grid::after {
    content: '';
    position: absolute;
    left: 38%;
    /* Adjust based on column ratio */
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.1) 20%, rgba(0, 0, 0, 0.1) 80%, transparent);
}

.benefits-subtitle-col h3 {
    color: #0F172A;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    padding-right: 2rem;
    /* text-align: justify; removed as it creates bad spacing */
}

/* Add a subtle decorative line under the subtitle */
/* Decorative line removed as per request */
.benefits-subtitle-col h3::after {
    content: none;
}

.benefits-text-col {
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.8;
}

.benefits-text-col p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.benefits-cta-box {
    text-align: center;
    margin-top: 4rem;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .benefits-grid::after {
        display: none;
        /* Remove vertical line on mobile */
    }

    .benefits-subtitle-col h3 {
        font-size: 1.8rem;
        text-align: center;
        padding-right: 0;
        margin-bottom: 1rem;
    }

    .benefits-subtitle-col h3::after {
        margin: 1.5rem auto 0;
        /* Center decoration */
    }

    .benefits-text-col {
        text-align: left;
    }
}

/* Content Section Cards Redesign */
.content-section {
    padding: 6rem 0;
    background-color: var(--bg-secondary);
}

.content-grid-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 1024px) {
    .content-grid-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .content-title-box {
        text-align: center;
        margin-bottom: 3rem;
    }

    .content-title-box p {
        margin: 1rem auto 0;
    }
}

.content-title-box h2 {
    font-size: 2.5rem;
    line-height: 1.2;
}

.content-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .content-cards-grid {
        grid-template-columns: 1fr;
    }
}

.content-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
}

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

.card-icon {
    font-size: 2rem;
    color: white;
    margin-bottom: 1.5rem;
    background: black;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: 0.3s;
}

.card-icon:hover {
    transform: rotateY(180deg);
}



.card-category {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 0.5rem;
    display: block;
}

.card-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.5;
    flex-grow: 1;
    /* Pushes button down if heights vary */
}

.btn-card-action {
    font-size: 0.85rem;
    font-weight: 600;
    color: black;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.2s;
}

.content-card:hover .btn-card-action {
    gap: 0.75rem;
}

.content-card:hover .btn-card-action i {
    transform: translateX(2px);
}

/* Contact Hub Section */
.contact-hub-section {
    padding: 6rem 0;
    background-color: var(--bg-main);
    text-align: center;
}

.contact-hub-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact-logo-box {
    margin-bottom: 2rem;
}

.contact-hub-logo {
    height: 120px;
    /* Larger than header logo */
    width: auto;
    object-fit: contain;
    border-radius: 50%;
    /* Ensuring consistent shape if it has background */
}

.contact-hub-title {
    font-size: 2.5rem;
    color: var(--text-heading);
    margin-bottom: 4rem;
    font-weight: 500;
    /* Slightly lighter than bold based on ref */
    font-family: serif;
    /* Trying to match the more elegant font in ref, or keep sans */
    font-family: 'Plus Jakarta Sans', sans-serif;
    /* Stick to site font but maybe lighter weight */
}

.contact-links-row {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.contact-hub-link {
    font-size: 1.1rem;
    color: var(--text-body);
    text-decoration: none;
    position: relative;
    transition: color 0.3s;
    font-weight: 500;
}

.contact-hub-link:hover {
    color: var(--primary-blue);
}

@media (max-width: 768px) {
    .contact-links-row {
        flex-direction: column;
        gap: 2rem;
    }

    .contact-hub-title {
        font-size: 2rem;
    }
}

/* Footer Map */
.footer-map-col {
    flex: 0 1 400px;
    /* Fixed width to ensure squareness and fit, but allow shrink */
    max-width: 400px;
    width: 100%;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    margin-left: 0;
    /* Remove auto push now that it's in middle */
}

.footer-map-col iframe {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

@media (max-width: 900px) {
    .footer-map-col {
        width: 100%;
        height: 300px;
        flex: none;
        margin-left: 0;
        margin-top: 2rem;
    }
}

/* Administration Section Redesign */
/* Administration Section Redesign */
.adm-section-wrapper {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding: 2rem 0;
}

.adm-title-full {
    margin-bottom: 2rem;
}

.adm-title-full h2 {
    font-size: 2rem;
    color: var(--text-heading);
    line-height: 1.1;
    text-align: center;
    text-transform: uppercase;
    max-width: 100%;
    margin: 0 auto;
}

.adm-content-rows {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.adm-row-block {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    /* Text smaller, video larger */
    gap: 4rem;
    align-items: center;
}

.adm-text-side p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-body);
    text-align: justify;
}

.adm-media-side {
    width: 100%;
}

.adm-media-wrapper {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    background: #000;
}

.adm-media-wrapper video,
.adm-media-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 900px) {
    .adm-row-block {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .adm-title-full h2 {
        font-size: 2rem;
        text-align: center;
        max-width: 100%;
    }
}

#adm-condominio {
    background: linear-gradient(90deg, rgba(104, 104, 97, 0.9) 0%, rgba(201, 201, 201, 0.8) 100%);
}

@media (max-width: 768px) {
    .hero-content p {
        text-align: center;
    }
}
/* Modal Form Styles */
.modal-form-layout {
    max-width: 700px;
    width: 95%;
    text-align: left;
    padding: 2.5rem;
}

.demonstration-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.form-group {
    width: 100%;
}

.form-row {
    display: flex;
    gap: 1.5rem;
    width: 100%;
}

.form-input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    color: #333;
    outline: none;
    transition: border-color 0.3s;
}

.form-input:focus {
    border-color: var(--primary-blue);
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.btn-submit {
    flex: 1;
    background-color: #3b82f6; /* Blue matching screenshot */
    color: white;
    border: none;
    padding: 0.8rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background 0.3s;
}

.btn-submit:hover {
    background-color: #2563eb;
}

.btn-accountant {
    flex: 1;
    background-color: #e2e8f0; /* Light Gray */
    color: black;
    border: none;
    padding: 0.8rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background 0.3s;
}

.btn-accountant:hover {
    background-color: #cbd5e1;
}

@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
        gap: 1rem;
    }
    .modal-form-layout {
        padding: 1.5rem;
    }
}
