/* Reset & Base */
:root {
    --primary-color: #FFD700; /* Gold */
    --primary-dark: #B8860B; /* Dark Goldenrod */
    --secondary-color: #3a3a3a; /* Dark Grey for contrast */
    --accent-color: #8B4513; /* SaddleBrown (Wood) */
    --text-color: #333333; /* Dark Grey for light bg */
    --light-text: #666666;
    --background-color: #FFFFFF; /* White */
    --light-bg: #F9F9F9; /* Off-white */
    --card-bg: #FFFFFF;
    --white: #FFFFFF;
    --black: #000000;
    --font-heading: 'Rubik', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --font-handwritten: 'Amatic SC', cursive;
    --transition: all 0.3s ease;
    --card-border: 1px solid #e0e0e0;
    --shadow-sm: 0 5px 15px rgba(0,0,0,0.13);
    --shadow-md: 0 10px 25px rgba(0,0,0,0.1);
    --gold-glow: 0 0 20px rgba(255, 215, 0, 0.6);
}

@font-face {
    font-family: 'Oduda';
    src: url('../fonts/Oduda-Bold-Demo.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

.font-amatic {
    font-family: var(--font-handwritten);
}

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

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--background-color);
    background-image: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    letter-spacing: 0.5px;
}

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

.section {
    padding: 80px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
    display: inline-block;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 10px;
    text-shadow: none;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--light-text);
    font-family: var(--font-body);
}

/* Buttons - Adventure Style Light */
.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    font-family: var(--font-heading);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: 1px solid var(--primary-dark);
    box-shadow: 0 4px 0 var(--primary-dark);
    text-shadow: none;
}

.btn-primary:hover {
    transform: translateY(2px);
    box-shadow: 0 2px 0 var(--primary-dark);
    filter: brightness(1.05);
}

.btn-primary:active {
    transform: translateY(4px);
    box-shadow: none;
}

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

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--primary-color);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent);
    padding: 20px 0;
    transition: var(--transition);
}

.header.scrolled {
    background-color: var(--white);
    background-image: none; /* Ensure no gradient */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 10px 0;
    border-bottom: none;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.logo img {
    height: 70px;
    filter: drop-shadow(0 0 2px rgba(0,0,0,0.3));
}

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

.nav-list li {
    position: relative;
}

.nav-list li a {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 1.1rem;
    color: var(--white);
    padding: 5px 0;
    position: relative;
    transition: var(--transition);
    text-transform: none;
}

.header.scrolled .nav-list li a {
    color: var(--secondary-color);
}

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

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

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

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

/* Dropdown Menu */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 5px;
    top: 100%;
    left: 0;
    padding: 10px 0;
    border-top: 3px solid var(--primary-color);
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.3s;
}

.dropdown-content li {
    width: 100%;
}

.dropdown-content li a {
    color: var(--text-color) !important;
    padding: 10px 20px;
    display: block;
    font-size: 1rem;
    text-align: left;
}

.dropdown-content li a:hover {
    background-color: var(--light-bg);
    color: var(--black) !important;
}

.dropdown-content li a::after {
    display: none;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.mobile-menu-icon {
    display: none;
    font-size: 2.5rem;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.header.scrolled .mobile-menu-icon {
    color: var(--black);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 100px;
    background-image: url('../images/shape-1.png');
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 2;
    pointer-events: none;
    filter: brightness(0) invert(1);
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: -1;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
    padding: 0 20px;
    animation: fadeInUp 1s ease;
    z-index: 1;
}

.hero-content img {
    width: 300px;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.5));
    animation: glowPulse 3s infinite alternate;
}

@keyframes glowPulse {
    from {
        filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.3));
    }
    to {
        filter: drop-shadow(0 0 25px rgba(255, 215, 0, 0.7));
    }
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-weight: 400;
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    font-weight: 300;
}

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

/* Features Section */
.features {
    background-color: var(--white);
    border-top: none;
}

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

/* Enhanced Feature Cards */
.feature-card {
    height: 400px; /* Taller for background image impact */
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-md);
    /* transition: var(--transition); Removed transition to disable hover effects */
    display: flex;
    align-items: flex-end; /* Text at bottom */
    text-align: left;
    border: none; /* No border for image cards */
}

.feature-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    /* transition: transform 0.5s ease; Removed transition */
    z-index: 1;
}

.feature-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.5) 100%);
    z-index: 2;
    /* transition: var(--transition); Removed transition */
}

.feature-content {
    position: relative;
    z-index: 3;
    padding: 30px;
    width: 100%;
    transform: translateY(0);
    /* transition: var(--transition); Removed transition */
}

.feature-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: block;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.feature-card h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    border-bottom: 3px solid var(--primary-color);
    display: inline-block;
    padding-bottom: 5px;
}

.feature-card p {
    color: #e0e0e0;
    font-size: 1.1rem;
    opacity: 1;
    transform: translateY(0);
    /* transition: var(--transition); Removed transition */
}

/* Explicitly disable hover effects just in case */
.feature-card:hover {
    transform: none !important;
    box-shadow: var(--shadow-md) !important;
}

.feature-card:hover .feature-bg {
    transform: none !important;
}

/* Contact Page Redesign */
.contact-cards-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.contact-card {
    background: var(--white);
    padding: 30px 20px;
    text-align: center;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #eee;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.icon-box-large {
    width: 70px;
    height: 70px;
    background-color: rgba(105, 105, 105, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    font-size: 1.8rem;
    margin-bottom: 20px;
    transition: var(--transition);
}

.contact-card:hover .icon-box-large {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.contact-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.contact-card p {
    color: var(--light-text);
    font-size: 1rem;
    margin-bottom: 0;
}

.contact-map-wrapper {
    width: 100%;
    height: 360px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-cards-row {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-card {
        width: 100%;
        max-width: 100%;
    }
}

/* Footer */
.footer {
    background-color: #3b251a;
    color: #ffffff;
    padding: 60px 0 20px;
    border-top: none;
    position: relative;
    margin-top: 50px; /* Space for the shape */
}

.footer::before {
    content: '';
    position: absolute;
    top: -90px; /* Adjust based on image height */
    left: 0;
    width: 100%;
    height: 101px;
    background-image: url('../images/shape-13.png');
    background-size: cover;
    background-repeat: no-repeat;
    pointer-events: none;
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.footer-brand img {
    height: 80px;
}

.footer-brand p {
    font-weight: 400;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    line-height: 1.2;
    color: var(--primary-color);
}

.footer-links h3, .footer-social h3 {
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--white);
}

.footer-links h3::after, .footer-social h3::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: #fff;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    transition: var(--transition);
    border: none;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: .5px solid #949494;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #dbdbdb;
}

/* Page Header */
.page-header {
    position: relative;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    background-size: cover;
    background-position: center;
    margin-top: 0;
    border-bottom: none;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(0, 0, 0, 0.5); */
    z-index: 1;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    height: 100px;
    background-image: url(../images/shape-1.png);
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 2;
    pointer-events: none;
    filter: brightness(0) invert(1);
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 1rem;
    opacity: 0.9;
    color: #f0f0f0;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
}

.breadcrumbs li::after {
    content: '/';
    margin-left: 10px;
    color: var(--primary-color);
}

.breadcrumbs li:last-child::after {
    display: none;
}

.breadcrumbs a {
    color: var(--white);
}

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

/* Article Content */
.article-content {
    background: var(--card-bg);
    padding: 50px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    max-width: 900px;
    margin: 0 auto;
    border: var(--card-border);
    color: var(--text-color);
}

.article-content h2 {
    color: var(--secondary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 15px;
    margin-top: 30px;
    margin-bottom: 25px;
    font-size: 2rem;
}

.article-content h3 {
    color: var(--secondary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.5rem;
    border-left: 4px solid var(--primary-color);
    padding-left: 15px;
}

.article-content p {
    margin-bottom: 20px;
    text-align: justify;
    line-height: 1.8;
}

.article-content strong {
    color: var(--secondary-color);
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: #e0e0e0;
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-item {
    padding: 20px 50px;
    position: relative;
    background: inherit;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -14px;
    background-color: var(--white);
    border: 4px solid #323232;
    top: 45px;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

.timeline-item.right::after {
    left: -14px;
}

.timeline-content {
    padding: 25px;
    background-color: var(--card-bg);
    position: relative;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border: var(--card-border);
    border-bottom: 5px solid var(--primary-color);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 30px;
    width: 0;
    height: 0;
    border-style: solid;
}

.timeline-item.left .timeline-content::before {
    right: -10px;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent var(--card-bg);
}

.timeline-item.right .timeline-content::before {
    left: -10px;
    border-width: 10px 10px 10px 0;
    border-color: transparent var(--card-bg) transparent transparent;
}

.timeline-month {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.timeline-content h3 {
    margin-top: 10px;
    font-size: 1.4rem;
    color: var(--secondary-color);
}

.timeline-content p {
    font-size: 1rem;
    color: var(--light-text);
    margin-bottom: 8px;
}

/* Uniform Cards */
.uniform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.uniform-card {
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
    border: var(--card-border);
    border-bottom: 5px solid var(--black);
}

.uniform-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.uniform-img {
    height: 445px;
    width: 100%;
    object-fit: cover;
}

.uniform-body {
    padding: 30px;
}

.uniform-body h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.uniform-body p {
    color: var(--light-text);
    margin-bottom: 25px;
    font-size: 1rem;
}

/* Step List (Matricula) */
.step-list {
    counter-reset: step;
    list-style: none;
    padding: 0;
}

.step-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 40px;
}

.step-item::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background-color: var(--white);
    color: var(--secondary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    text-align: center;
    line-height: 46px;
    font-weight: bold;
    font-size: 1.5rem;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    font-family: var(--font-heading);
}

.step-item h3 {
    margin-bottom: 10px;
    color: var(--secondary-color);
}

/* Price Cards (Investimento) */
.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.price-card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    text-align: center;
    border: 1px solid #333;
    position: relative;
    overflow: hidden;
}

.price-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--secondary-color); /* Default hidden-ish */
}

.price-card.highlight {
    transform: scale(1.05);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(0,0,0,0.5), 0 0 20px rgba(255, 215, 0, 0.1);
}

.price-card.highlight::before {
    background: var(--primary-color);
}

.price-header {
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.price-card h3 {
    color: var(--white);
    font-size: 1.5rem;
}

.price-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
    font-family: var(--font-heading);
}

.price-period {
    color: var(--light-text);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-features li {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    color: var(--text-color);
}

.price-features li:last-child {
    border-bottom: none;
}

.price-features li strong {
    color: var(--secondary-color);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 10px;
    padding: 20px 0;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    height: 250px;
    border: none;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-md);
    z-index: 10;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .header .container {
        padding: 0 20px;
    }

    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        text-align: center;
        border-bottom: 2px solid var(--primary-color);
    }

    .nav-list.active {
        display: flex;
    }
    
    .nav-list li a {
        color: var(--secondary-color);
        display: block;
        font-size: large;
        padding: 10px 0;
        border-bottom: 1px solid #eee;
    }

    /* Mobile Dropdown */
    .dropdown:hover .dropdown-content {
        display: none; /* Disable hover on mobile */
    }
    
    .dropdown-content {
        position: static;
        display: none;
        box-shadow: none;
        background-color: #f5f5f5;
        padding: 15px;
    }
    
    .dropdown.active .dropdown-content {
        display: block;
    }

    .mobile-menu-icon {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item::after {
        left: 17px !important;
    }
    
    .timeline-item.right {
        left: 0;
    }

    .timeline-item.left .timeline-content::before,
    .timeline-item.right .timeline-content::before {
        left: -10px;
        right: auto;
        border-width: 10px 10px 10px 0;
        border-color: transparent var(--card-bg) transparent transparent;
    }

    .price-card.highlight {
        transform: scale(1);
    }

    /* Investment Page Tablet/Mobile Adjustments */
    .investment-grid {
        display: flex;
        flex-direction: column;
        gap: 50px;
    }

    .investment-images {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }

    .investment-content {
        width: 100%;
        text-align: center;
        align-items: center;
    }

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

    .investment-list {
        text-align: left;
        display: inline-grid; /* Keeps grid behavior but centered in parent if needed */
        width: 100%;
        max-width: 600px;
    }

    .payment-options {
        width: 100%;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .lead-text {
        margin-left: auto;
        margin-right: auto;
        max-width: 800px;
    }
}

@media (max-width: 576px) {
    .investment-list {
        grid-template-columns: 1fr;
    }
    
    .payment-options {
        grid-template-columns: 1fr;
    }
    
    .investment-content h2 {
        font-size: 2.2rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }

    /* Collage Fixes for Mobile/Tablet */
    .investment-images {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin: 0;
    }

    .img-large-wrapper {
        width: 100%;
        max-width: 100%;
        margin: 0;
        border-radius: 15px;
    }

    .img-small-group {
        position: static; /* Remove relative/absolute positioning context if any inherited */
        display: flex;
        flex-direction: row;
        width: 100%;
        margin: -50px 0 0 0 !important; /* Add top margin instead of negative margin */
        gap: 15px;
        justify-content: space-between;
    }

    .img-small-wrapper {
        width: 48%;
        min-width: auto;
        border-radius: 15px;
        border: 3px solid var(--white);
    }

    .stats-card {
        width: 48%;
        min-width: auto;
        flex: initial;
        padding: 15px;
    }
    
    .stats-value {
        font-size: 1.5rem;
    }
    
    .stats-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .img-small-group {
        flex-direction: column;
    }
    
    .img-small-wrapper, .stats-card {
        width: 100%;
    }
    
    .payment-options {
        gap: 15px;
    }
    
    .option-card-mini {
        padding: 20px;
    }
}

/* Global Mobile Adjustments */
@media (max-width: 768px) {
    .section {
        padding: 50px 0;
    }
    
    .page-header {
        height: 250px;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
        margin-top: 50px;
    }
    
    .investment-hero {
        padding: 40px 0;
    }
}

.timeline-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 4px solid #323232;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
/* History CTA */
.history-cta {
    text-align: center;
    border-top: 5px solid var(--dark);
    border-bottom: 5px solid var(--dark);
}

.history-cta h2 {
    color: var(--primary-color);
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.history-cta p {
    color: #f0f0f0;
}

/* Menu Button */
.nav-list .btn-menu {
    padding: 8px 20px !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    border-radius: 4px;
    margin-left: 10px;
    transform: none !important; /* Prevent hover move to keep menu stable */
    color: var(--secondary-color) !important; /* Ensure dark text */
    background-color: var(--primary-color);
    border: 1px solid var(--primary-dark);
}

.nav-list .btn-menu:hover {
    background-color: var(--card-bg);
    box-shadow: none !important;
    color: var(--dark) !important;
}

.nav-list .btn-menu::after {
    display: none !important; /* Remove underline effect */
}


/* CTA Redesign */
.cta-redesign {
    background-color: var(--white);
    padding: 100px 0;
}

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

.cta-text-column {
    padding-right: 20px;
}

.cta-subtitle {
    font-size: 1rem;
    color: var(--light-text);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 5px;
    margin-bottom: 20px;
    display: inline-block;
    font-weight: 700;
}

.cta-text-column h2 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.cta-text-column p {
    margin-bottom: 20px;
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.7;
}

.cta-image-column {
    position: relative;
}

.cta-main-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    object-fit: cover;
    aspect-ratio: 4/3;
}

.cta-overlay-card {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background-color: var(--primary-color); /* Gold */
    padding: 40px;
    border-radius: 5px; /* Square with slight radius */
    max-width: 350px;
    box-shadow: var(--shadow-md);
    color: var(--secondary-color); /* Dark Text on Gold */
}

.cta-overlay-card h3 {
    color: var(--secondary-color);
    font-size: 1.8rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

.cta-overlay-card p {
    color: var(--secondary-color);
    margin-bottom: 25px;
    font-weight: 500;
}

.cta-link {
    font-weight: 700;
    color: var(--primary-dark);
    text-decoration: underline;
    font-size: 1.1rem;
}

.cta-link:hover {
    color: var(--primary-color);
}

.btn-cta-card {
    display: inline-block;
    color: var(--secondary-color);
    font-weight: 800;
    font-size: 1.1rem;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 2px;
}

.btn-cta-card:hover {
    color: var(--white);
    border-bottom-color: var(--white);
}

@media (max-width: 992px) {
    .cta-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .cta-text-column {
        padding-right: 0;
        text-align: center;
    }
    
    .cta-overlay-card {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: -50px;
        margin-left: auto;
        margin-right: auto;
        max-width: 90%;
    }
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    border: 2px solid var(--white);
    border-radius: 5px;
    animation: zoomIn 0.3s ease;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--white);
    font-size: 3rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2001;
}

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

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Investment Page Redesign */
.investment-hero {
    padding: 80px 0;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

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

/* Left Side - Images */
.investment-images {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.img-large-wrapper {
    position: relative;
    width: 85%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    z-index: 1;
}

.img-large {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.img-large-wrapper:hover .img-large {
    transform: scale(1.05);
}

.img-small-group {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    margin-left: 15%; /* Indent to create the collage effect */
    margin-top: -50px; /* Overlap */
    position: relative;
    z-index: 2;
}

.img-small-wrapper {
    width: 290px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 5px solid var(--white);
}

.img-small {
    width: 100%;
    height: auto;
    display: block;
}

.stats-card {
    background-color: var(--white);
    padding: 20px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    text-align: center;
    border: 1px solid #eee;
}

.stats-value {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--secondary-color);
    line-height: 1;
}

.stats-label {
    font-size: 0.8rem;
    color: var(--light-text);
    margin-top: 5px;
}

/* Right Side - Content */
.investment-content {
    display: flex;
    flex-direction: column;
}

.section-tag {
    color: var(--primary-dark);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-tag::before {
    content: '+';
    font-size: 1.2rem;
}

.investment-content h2 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--secondary-color);
    border: none;
    padding: 0;
}

.lead-text {
    font-size: 1.1rem;
    color: var(--light-text);
    margin-bottom: 30px;
    line-height: 1.6;
}

.investment-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 30px;
    margin-bottom: 40px;
}

.investment-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
    font-size: 0.95rem;
}

.investment-list li i {
    color: var(--primary-color);
    font-size: 1rem;
}

/* Payment Options */
.payment-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.option-card-mini {
    background-color: var(--light-bg);
    padding: 25px;
    border-radius: 15px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.option-card-mini:hover {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.mini-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 215, 0, 0.2);
    color: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.option-card-mini h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.option-card-mini p {
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.option-card-mini small {
    display: block;
    font-size: 0.8rem;
    color: var(--light-text);
    line-height: 1.4;
}

.not-included-text {
    font-size: 0.85rem;
    color: var(--light-text);
    background-color: #fff5f5;
    padding: 15px;
    border-radius: 10px;
    border-left: 3px solid #e74c3c;
}

/* Journey Section */
.pathfinder-journey {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background-image: url('../images/home_bg2.png'); /* Or aventura.jpg */
    background-size: cover;
    background-position: center;
    color: var(--white);
}

.pathfinder-journey::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0) 100%); /* Light overlay */
    z-index: 0;
}

.pathfinder-journey .container {
    position: relative;
    z-index: 1;
}

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

.journey-header span {
    color: var(--black) !important;
    font-size: 1.2rem !important;
    font-family: 'Rubik', sans-serif;
}

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

.journey-subtitle::before {
    content: '+ ';
    font-weight: 900;
    color: var(--primary-color);
}

.journey-header h2 {
    font-size: 3rem;
    max-width: 800px;
    margin: 0 auto;
    color: var(--secondary-color);
    line-height: 1.2;
}

.journey-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.journey-column {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.journey-column.center {
    justify-content: center;
    align-items: center;
}

.journey-main-image {
    max-height: 600px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.2));
    transition: transform 0.3s ease;
}

.journey-main-image:hover {
    transform: scale(1.02);
}

.journey-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
    border: 3px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

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

.journey-icon {
    width: 50px;
    height: 50px;
    background-color: rgb(236 236 236);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #323232;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.journey-card:hover .journey-icon {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    transform: rotate(10deg);
}

.journey-text h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--secondary-color);
    font-weight: 700;
}

.journey-text p {
    font-size: 0.95rem;
    color: var(--light-text);
    line-height: 1.5;
    margin-bottom: 0;
}

/* Responsive for Journey Section */
@media (max-width: 992px) {
    .journey-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    
    .journey-column.center {
        order: -1;
        margin-bottom: 10px;
    }
    
    .journey-main-image {
        max-height: 400px;
    }
    
    .journey-header h2 {
        font-size: 2.2rem;
    }
    
    .journey-column {
        gap: 20px;
    }
}

/* FORCE MOBILE STACKING FOR INVESTMENT PAGE */
@media (max-width: 992px) {
    .investment-grid {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: 1fr !important; /* Fallback */
    }
    
    .investment-images, .investment-content {
        width: 100% !important;
        max-width: 100% !important;
    }
}


.btn-youtube {
    background-color: #e74c3c;
    border-bottom: 3px solid #c0392b;
    color: var(--white);
    box-shadow: none !important;
}

.btn-instagram {
    background: #405de6; /* Fallback color */
    background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);   
    border-bottom: 3px solid #c0392b;
    color: var(--white);
    box-shadow: none !important;
}

/* Language Switcher */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 20px;
    border-left: 1px solid rgba(255,255,255,0.3);
    padding-left: 20px;
}

.header.scrolled .lang-switch {
    border-left-color: #ddd;
}

.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lang-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lang-btn:hover, .lang-btn.active-lang {
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    border: 2px solid #ffd700;
}

.header.scrolled .lang-btn:hover, 
.header.scrolled .lang-btn.active-lang {
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    border: 2px solid #2c2c2c;
}

@media (max-width: 992px) {
    .lang-switch {
        margin: 20px 0 0 0;
        border-left: none;
        border-top: 1px solid #eee;
        padding-left: 0;
        padding-top: 20px;
        justify-content: center;
        width: 100%;
    }
}

