:root {
    /* Brand Colors - Inferred from UniFECAF identity */
    --primary-green: #00A859;
    --primary-blue: #0054A6;
    --dark-blue: #0B1F4F;
    --accent-cyan: #00E5FF;

    /* Neutral Colors */
    --text-dark: #1A1A1A;
    --text-light: #F5F5F5;
    --bg-light: #F8F9FA;
    --white: #FFFFFF;

    /* Effects */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 15px 40px rgba(0, 168, 89, 0.2);
    --transition-fast: 0.3s ease;

    /* Spacing */
    --section-padding: 5rem 0;
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(to right, var(--primary-green), var(--primary-blue));
    width: 0%;
    z-index: 2000;
    transition: width 0.1s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    background-color: #050f26;
    /* Matches footer bottom to hide overscroll gaps */
    height: 100%;
}

body {
    background-color: #f8fafc;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    margin: 0;
    padding: 0;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

/* Moved Fixed Gradient to Pseudo-element for Performance (Compositor Layer) */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    /* Behind the grid pattern */
    background-image:
        radial-gradient(circle at 10% 20%, rgba(0, 168, 89, 0.03), transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 84, 166, 0.03), transparent 40%);
    pointer-events: none;
}

/* Global Subtle Grid Pattern - Using Pseudo to avoid interference */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* Very low opacity grid for 'texture' without noise */
    background-image:
        linear-gradient(rgba(11, 31, 79, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(11, 31, 79, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

/* Floating Solid Shapes (Added via pseudo-elements to sections or distinct divs if possible, 
   but here we define a class we can add to HTML or use existing hero shapes) */
.geo-shape {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    opacity: 0.85;
    /* Increased opacity for visibility */
}

/* Solid Circle */
.geo-circle {
    width: 150px;
    height: 150px;
    background-color: var(--primary-green);
    border-radius: 50%;
}

/* Hollow Square */
.geo-square {
    width: 100px;
    height: 100px;
    border: 8px solid var(--primary-blue);
    background: transparent;
    transform: rotate(15deg);
}

/* Solid Triangle (using border hack) */
.geo-triangle {
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 100px solid var(--accent-cyan);
    opacity: 0.4;
}



/* Typography */
h1,
h2,
h3,
h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

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

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

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

.highlight {
    background: linear-gradient(120deg, var(--primary-green), var(--accent-cyan), var(--primary-blue));
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-weight: 800;
    animation: gradient-text 5s ease infinite;
}

@keyframes gradient-text {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition-fast);
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
    color: var(--white);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 168, 89, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 168, 89, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    margin-left: 10px;
}

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

/* Header */
/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--primary-green);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 168, 89, 0.2);
    transition: 0.3s;
}

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

.logo img {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
    /* Make logo white */
}

.desktop-nav a {
    margin-left: 30px;
    font-weight: 500;
    color: white;
    /* White text for green header */
    transition: 0.3s;
    position: relative;
    opacity: 0.9;
}

.desktop-nav a:hover {
    opacity: 1;
}

.desktop-nav a:not(.btn-nav)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    /* White underline */
    transition: 0.3s;
}

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

.desktop-nav .btn-nav {
    background: white;
    color: var(--primary-green);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    opacity: 1;
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: white;
    /* White icon */
    cursor: pointer;
}

.mobile-nav {
    display: none;
    /* JS will toggle */
    flex-direction: column;
    background: white;
    padding: 20px;
    border-top: 1px solid #eee;
}

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

.mobile-nav a {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    color: var(--dark-blue);
    font-weight: 600;
}

/* Hero Section */
/* Hero Section */
.hero {
    position: relative;
    padding: 180px 0 120px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.8) 0%, rgba(240, 249, 255, 0.4) 100%);
    overflow: hidden;
}

/* New Geometric Hero Shapes */
.hero-shapes .shape {
    position: absolute;
    z-index: 0;
    animation: float-geo 12s infinite ease-in-out;
    will-change: transform;
    /* Performance Optimization */
}

/* Replace blurred blobs with Sharp Geometric Forms */
.shape-1 {
    /* Large Hollow Blue Circle */
    width: 400px;
    height: 400px;
    background: transparent;
    border: 40px solid rgba(0, 84, 166, 0.05);
    border-radius: 50%;
    filter: none;
    /* Remove blur */
    top: -100px;
    right: -100px;
}

.shape-2 {
    /* Solid Green Square with Rounded Corners */
    width: 200px;
    height: 200px;
    background: rgba(0, 168, 89, 0.1);
    border-radius: 20px;
    filter: none;
    /* Remove blur */
    bottom: 100px;
    left: 5%;
    transform: rotate(45deg);
    animation-delay: 2s;
}

.shape-3 {
    /* Additional Shape if valid, otherwise just defining styles */
    /* Small Accent Circle */
    width: 50px;
    height: 50px;
    background: var(--accent-cyan);
    border-radius: 50%;
    top: 20%;
    left: 40%;
    opacity: 0.2;
}

@keyframes float-geo {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* Global Shapes Container */
.global-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.global-shapes .shape {
    position: absolute;
    animation: float-geo 15s infinite ease-in-out;
    opacity: 0.85;
    will-change: transform;
    /* Performance Optimization */
    /* Matching the requested opacity level */
}

/* Shape 3: Solid Blue Rounded Square (Features/About) */
/* Shape 3: Solid Blue Triangle (Features/About) */
.shape-3 {
    width: 220px;
    height: 220px;
    background: rgba(0, 84, 166, 0.08);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    top: 1000px;
    left: 90%;
    /* Force to far right */
    right: auto;
    transform: translateX(-50%) rotate(25deg);
    animation-delay: 1s;
}

/* Shape 4: Hollow Green Circle (Courses) */
.shape-4 {
    width: 350px;
    height: 350px;
    background: transparent;
    border: 30px solid rgba(0, 168, 89, 0.05);
    border-radius: 50%;
    top: 1800px;
    left: -100px;
    animation-delay: 3s;
}

/* Shape 5: Solid Green Circle (Gallery) */
.shape-5 {
    width: 120px;
    height: 120px;
    background: rgba(0, 168, 89, 0.1);
    border-radius: 50%;
    top: 2600px;
    right: 15%;
    animation-delay: 5s;
}

/* Shape 6: Hollow Blue Square (Location) */
.shape-6 {
    width: 250px;
    height: 250px;
    background: transparent;
    border: 20px solid rgba(0, 84, 166, 0.05);
    border-radius: 40px;
    top: 3400px;
    left: 5%;
    transform: rotate(-10deg);
    animation-delay: 2s;
}

/* Shape 7: Solid Green Rounded Square (CTA/Footer) */
.shape-7 {
    width: 200px;
    height: 200px;
    background: rgba(0, 168, 89, 0.08);
    border-radius: 30px;
    bottom: 10%;
    /* Relative to bottom */
    right: -40px;
    transform: rotate(45deg);
    animation-delay: 4s;
    top: auto;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.badge {
    background: rgba(0, 168, 89, 0.1);
    color: var(--primary-green);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 20px;
}

.hero-text h1 {
    color: var(--dark-blue);
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-image {
    position: relative;
}

.hero-img-wrapper {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    transform: rotate(-2deg);
    transition: 0.5s;
}

.hero-img-wrapper:hover {
    transform: rotate(0);
}

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

.floating-card {
    position: absolute;
    bottom: 30px;
    left: -30px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow-soft);
    animation: float 6s infinite ease-in-out;
}

.floating-card i {
    font-size: 2rem;
    color: var(--primary-blue);
}

.floating-card div {
    display: flex;
    flex-direction: column;
}



/* Features: Transparent to maintain continuity */
.features {
    padding: 80px 0;
    background: transparent;
    position: relative;
    z-index: 2;
}

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

.section-header h2 {
    color: var(--dark-blue);
    margin-bottom: 15px;
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 24px;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.05),
        inset 0 0 0 1px rgba(255, 255, 255, 0.6);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 84, 166, 0.15);
    background: white;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.icon-box {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(0, 168, 89, 0.1) 0%, rgba(0, 84, 166, 0.05) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 2rem;
    color: var(--primary-green);
    transition: 0.4s;
    position: relative;
}

.feature-card:hover .icon-box {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-blue) 100%);
    color: white;
    transform: rotate(-5deg) scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 168, 89, 0.3);
}

.feature-card h3 {
    font-size: 1.5rem;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.feature-card p {
    color: #64748b;
    line-height: 1.6;
    font-size: 1rem;
}

/* Gallery / Carousel */
.gallery-section {
    padding: 100px 0;
    background: transparent;
    /* Fluid background */
    overflow: hidden;
}

.carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 500px;
    /* Fixed height for consistency */
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    backdrop-filter: blur(5px);
    transition: 0.3s;
    z-index: 10;
}

.carousel-btn:hover {
    background: white;
    color: var(--dark-blue);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: 0.3s;
}

.indicator.active {
    background: var(--primary-green);
    transform: scale(1.2);
}

/* CTA Section - Modern Green */
/* CTA Section - Dark Blue with Wave */
.cta-parallax {
    position: relative;
    padding: 120px 0 160px;
    background: var(--dark-blue);
    /* Solid match for wave and footer */
    color: white;
    text-align: center;
    overflow: visible;
    margin-top: 100px;
    z-index: 10;
}

.custom-wave-divider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: translateY(-99%);
}

.custom-wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 150px;
    transform: rotate(180deg);
}

.custom-wave-divider .shape-fill {
    fill: var(--dark-blue);
}

/* Modern Grid Background for CTA */
.cta-parallax::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.2;
    mask-image: linear-gradient(to bottom, transparent, black, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black, transparent);
    pointer-events: none;
}

.cta-parallax h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    color: white;
    /* Highlight Headline in White */
}

.cta-parallax p {
    position: relative;
    z-index: 2;
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
    color: #cbd5e1;
}

.overlay-dark {
    display: none;
}

/* Footer */
footer {
    background: linear-gradient(180deg, var(--dark-blue) 0%, #050f26 100%);
    color: white;
    padding: 100px 0 30px;
    position: relative;
    margin-top: auto;
    /* Visual-only extension to cover overscroll/bounce without adding scroll height */
    box-shadow: 0 50vh 0 50vh #050f26;
    clip-path: inset(0 -100vmax -50vh -100vmax);
}

/* Watermark Logo */
footer::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background-image: url('midia/logo-unifecaf.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.03;
    pointer-events: none;
    filter: grayscale(100%);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col {
    position: relative;
    z-index: 1;
}

.footer-logo {
    height: 50px;
    filter: brightness(0) invert(1);
    margin-bottom: 25px;
    opacity: 0.9;
}

.footer-col p {
    color: #cbd5e1;
    margin-bottom: 20px;
}

/* Ensure headings are visible */
.footer-col h4 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.3rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-green);
    border-radius: 2px;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--primary-green);
    transform: translateY(-3px);
}

.footer-links li {
    list-style: none;
    margin-bottom: 12px;
}

.footer-links a,
.footer-links li {
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

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

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #64748b;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .floating-card {
        display: none;
    }

    .hero-shapes .shape {
        width: 200px;
        height: 200px;
    }

    h1 {
        font-size: 2.5rem;
    }
}

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

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .carousel-track {
        height: 300px;
        /* Smaller height on mobile */
    }
}

/* Glassmorphism Utility */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

/* 5. Location Section - Tech Blue */
/* 5. Location Section - Fluid Global Background */
/* 5. Location Section - Fluid Global Background */
.location-section {
    padding: 100px 0;
    position: relative;
    background: transparent;
    overflow: hidden;
    color: var(--dark-blue);
}

/* Remove leftover gradients/patterns */
.location-section::before,
.location-section::after {
    display: none;
}

.location-section .container {
    position: relative;
    z-index: 1;
}

.location-section .section-header h2,
.location-section .section-header p {
    color: var(--dark-blue);
}

/* Main White Card Wrapper */
/* Main Location Wrapper */
.location-card-wrapper {
    background: white;
    padding: 30px;
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: stretch;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Map Styling */
.map-frame {
    width: 100%;
    height: 100%;
    min-height: 450px;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-frame iframe {
    filter: saturate(1.1);
    /* Slight boost to map colors */
}

/* Info Grid Styling */
.location-info-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0;
    justify-content: center;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    background: #f8fafc;
    border-radius: 24px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.info-item:hover {
    transform: translateX(10px);
    background: white;
    border-color: var(--primary-green);
    box-shadow: 0 10px 30px rgba(0, 168, 89, 0.1);
}

.emoji-icon {
    font-size: 2.5rem;
    line-height: 1;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
    animation: bounce-soft 3s infinite;
}

.info-text strong {
    display: block;
    color: var(--dark-blue);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.info-text p {
    color: #64748b;
    margin: 0;
    line-height: 1.4;
    font-size: 1rem;
}

@keyframes bounce-soft {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

@media (max-width: 900px) {
    .location-card-wrapper {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 30px;
    }

    .map-frame {
        height: 350px;
        min-height: auto;
    }

    .info-item:hover {
        transform: translateY(-5px);
    }
}

/* Hero Form Styles */
.hero-form-wrapper {
    display: flex;
    justify-content: flex-end;
}

.lead-capture-form {
    background: linear-gradient(160deg, var(--dark-blue) 0%, #061229 100%);
    padding: 40px;
    border-radius: 24px;
    width: 100%;
    max-width: 420px;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    text-align: center;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-badge-top {
    background: white;
    color: var(--dark-blue);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 24px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.9rem;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
}

.form-badge-top i {
    color: var(--primary-green);
    font-size: 1.1rem;
}

.scarcity-card {
    background: #EAF6FF;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    text-align: left;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.scarcity-content {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.scarcity-icon {
    color: #FFC107;
    font-size: 1.2rem;
    margin-top: 2px;
}

.scarcity-content div {
    display: flex;
    flex-direction: column;
}

.scarcity-content strong {
    color: var(--dark-blue);
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.scarcity-content small {
    color: #555;
    font-size: 0.8rem;
    line-height: 1.2;
}

.scarcity-count {
    font-size: 2rem;
    font-weight: 800;
    color: #007991;
    line-height: 1;
    animation: scarcity-pulse 1.5s infinite ease-in-out;
}

@keyframes scarcity-pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
        color: #d32f2f;
        /* Call attention with Red pulse */
    }

    100% {
        transform: scale(1);
    }
}

.form-instruction {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin-bottom: 20px;
    font-weight: 500;
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

.form-group label {
    display: block;
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid transparent;
    background: #F0F4F8;
    color: #333;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
}

.form-group input:focus {
    background: white;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.3);
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: #00C853;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 10px;
    margin-bottom: 20px;
    box-shadow: 0 4px 0 #009624;
    /* 3D effect based on button style often seen in LPs */
    transition: 0.2s;
}

.btn-submit:hover {
    background: #00E676;
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #009624;
}

.btn-submit:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #009624;
}

.form-security {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive adjustments for Form */
@media (max-width: 900px) {
    .hero-form-wrapper {
        justify-content: center;
        margin-top: 30px;
    }
}

/* Hero Refinements */
.hero-top-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.badge-pill {
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.badge-location {
    background: white;
    color: var(--dark-blue);
    border: 1px solid #eee;
}

.badge-location i {
    color: #DC2626;
    /* Red pin */
}

.badge-rating {
    background: var(--primary-green);
    color: white;
    background: linear-gradient(135deg, #00A859 0%, #008546 100%);
}

.badge-rating i {
    color: #FFD700;
    /* Gold star */
}

.badge-enade {
    background: var(--primary-blue);
    color: white;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
}

.badge-enade i {
    color: #00E5FF;
    /* Cyan trophy */
}

.hero-text h1 {
    font-size: 3.8rem;
    line-height: 1.05;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

/* WhatsApp Button in Hero */
.btn-whatsapp {
    background: #25D366;
    color: white;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy transition */
}

.btn-whatsapp:hover {
    background: #20BA5C;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
}

/* Urgency Box */
.urgency-box {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(0, 168, 89, 0.15);
    padding: 10px 20px;
    border-radius: 12px;
    margin-top: 25px;
    margin-bottom: 25px;
    border: 1px solid rgba(0, 168, 89, 0.3);
    color: var(--dark-blue);
    font-size: 0.95rem;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background: #EF4444;
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(239, 68, 68, 0.4);
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

/* Social Proof */
.social-proof {
    display: flex;
    align-items: center;
    gap: 15px;
}

.avatar-stack {
    display: flex;
}

.avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    border: 2px solid white;
    margin-left: -10px;

    first-of-type {
        margin-left: 0;
    }
}

.avatar:nth-child(1) {
    background-color: #3B82F6;
    z-index: 5;
    margin-left: 0;
}

.avatar:nth-child(2) {
    background-color: #10B981;
    z-index: 4;
}

.avatar:nth-child(3) {
    background-color: #F59E0B;
    z-index: 3;
}

.avatar:nth-child(4) {
    background-color: #EF4444;
    z-index: 2;
}

.avatar:nth-child(5) {
    background-color: #8B5CF6;
    z-index: 1;
}

.social-proof p {
    font-size: 0.9rem !important;
    margin-bottom: 0 !important;
    line-height: 1.3;
}

/* Floating WhatsApp Fix Button */
.floating-whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 90px;
    height: 90px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
    z-index: 9999;
    transition: 0.3s;
    animation: float-btn 3s infinite ease-in-out;
    will-change: transform;
}

.floating-whatsapp-btn:hover {
    transform: scale(1.1);
    background: #20BA5C;
}

@keyframes float-btn {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .floating-whatsapp-btn {
        width: 75px;
        height: 75px;
        font-size: 2.3rem;
        bottom: 20px;
        right: 20px;
    }

    .social-proof {
        flex-direction: column;
        align-items: center;
        /* Centered on mobile */
        gap: 10px;
    }

    .hero-top-badges {
        justify-content: center;
        flex-wrap: wrap;
        /* Allow wrapping on very small screens */
    }
}

/* Button Sizing Fixes */
.hero-btns {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 25px;
    /* Ensure space for urgency box */
}

/* Base button sizing override */
.btn {
    padding: 16px 32px;
    /* Bigger touch target */
    font-size: 1rem;
    font-weight: 800;
    /* Bolder text */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    height: 56px;
    /* Fixed height for alignment */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

/* Specific Adjustments */
.btn-whatsapp {
    background: #25D366;
    color: white;
    border: none;
    /* Reset border if any */
    flex-grow: 1;
    /* Grow on mobile */
    max-width: 300px;
    /* Prevent excessive width on ultra-wide */
    font-size: 0.95rem;
    /* Slight adjust for long text */
}

.btn-outline {
    border: 2px solid var(--primary-blue);
    background: transparent;
    color: var(--primary-blue);
    margin-left: 0;
    /* Reset previous margin-left */
    flex-grow: 1;
    max-width: 200px;
}

@media (max-width: 480px) {
    .hero-btns {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .btn,
    .btn-whatsapp,
    .btn-outline {
        width: 100%;
        max-width: none;
        margin: 0;
    }
}

/* Main Button Animations */

/* 1. Continuous Pulse for High Priority Actions (WhatsApp & Form Submit) */
@keyframes pulse-glow-green {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.btn-whatsapp,
.btn-submit {
    animation: pulse-glow-green 2s infinite;
    position: relative;
    overflow: hidden;
    /* For shiny effect */
}

/* 2. Shiny Reflection Effect (Sheen) */
.btn-whatsapp::after,
.btn-submit::after,
.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.4) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: sheen 3s infinite;
    animation-delay: 1s;
    /* Offset from pulse */
}

@keyframes sheen {
    0% {
        left: -100%;
    }

    20% {
        left: 200%;
    }

    /* Fast pass */
    100% {
        left: 200%;
    }

    /* Wait */
}

/* 3. Enhanced Hover State */
.btn:hover,
.btn-submit:hover {
    transform: translateY(-4px) scale(1.02);
    filter: brightness(1.1);
}

/* Secondary Button Hover - Slide Effect */
.btn-outline {
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: color 0.4s ease;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--primary-blue);
    z-index: -1;
    transition: width 0.4s ease;
}

.btn-outline:hover {
    color: white !important;
    background: transparent !important;
    /* Override previous solid hover if any */
}

.btn-outline:hover::before {
    width: 100%;
}

/* Fix Overflow and Positioning for CTA Button */
.btn-primary {
    position: relative;
    overflow: hidden;
    /* Clips the sheen animation */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    /* Ensures centering */
    vertical-align: middle;
}

/* Ensure large button in CTA is properly sized */
.btn-large {
    padding: 20px 50px;
    font-size: 1.2rem;
    border-radius: 50px;
    min-width: 250px;
}

/* Ensure sheen layer is behind text but above bg */
.btn-primary::after {
    z-index: 1;
}

.btn-primary span,
.btn-primary i {
    z-index: 2;
    position: relative;
}

/* CTA Alignment Fix */
.cta-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-btn-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.cta-parallax .btn-primary {
    /* Ensure no weird margins interfere */
    margin: 0;
    /* Reset any potentially conflicting transforms if necessary, though AOS handles it on wrapper now */
}

/* Courses Section: Transparent for Continuity */
.courses-section {
    padding: 80px 0;
    background: transparent;
    border: none;
    position: relative;
}

/* Remove decorative strip if it breaks continuity, or update it */
.courses-section::before {
    display: none;
}

.courses-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    background: #f1f5f9;
    color: var(--dark-blue);
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    font-size: 0.95rem;
}

.filter-btn:hover {
    background: #e2e8f0;
}

.filter-btn.active {
    background: var(--primary-green);
    color: white;
    box-shadow: 0 8px 20px rgba(0, 168, 89, 0.4);
    transform: translateY(-2px);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    margin-bottom: 60px;
}

.course-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    padding: 20px 15px;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 4px solid var(--primary-blue);
    border-radius: 16px;
    color: var(--dark-blue);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none !important;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 84, 166, 0.12);
    border-bottom-color: var(--primary-green);
}

.course-icon {
    font-size: 2rem;
    /* Adjusted icon size */
    margin-bottom: 5px;
    transition: 0.4s;
    display: inline-block;
}

.course-card:hover .course-icon {
    transform: scale(1.1) rotate(5deg);
}



.course-card::after {
    content: '\f232';
    /* WhatsApp Icon FontAwesome */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    color: #25D366;
    font-size: 1.2rem;
    transition: 0.3s;
}

.course-card:hover::after {
    opacity: 1;
    right: 10px;
    /* Subtle slide in */
}

/* Hide filtered items */
.course-card.hide {
    display: none;
}

/* Highlighting the 'Not Found' Link */
.text-muted-link {
    color: var(--primary-green);
    /* Notable green */
    font-size: 1rem;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: 0.3s;
    display: inline-block;
    padding: 5px 10px;
    border-radius: 5px;
}

.text-muted-link:hover {
    color: var(--primary-blue);
    background: rgba(0, 84, 166, 0.05);
}

.mt-4 {
    margin-top: 30px;
}

@media (max-width: 768px) {
    .courses-filter {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
        white-space: nowrap;
    }

    .filter-btn {
        flex-shrink: 0;
    }
}

/* Continuous Marquee Gallery */
.gallery-section {
    padding-bottom: 60px;
    /* Space after */
    overflow: hidden;
    background: transparent;
}

.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 30px 0;
    /* Soft fade edges */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.marquee-track {
    display: flex;
    gap: 30px;
    width: max-content;
    /* 3 sets of images -> scroll 1/3 to loop */
    animation: marquee-scroll 50s linear infinite;
    will-change: transform;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-item {
    width: 350px;
    height: 250px;
    border-radius: 20px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    background: white;
    border: 4px solid white;
    cursor: pointer;
}

.marquee-item:hover {
    transform: scale(1.05) translateY(-5px);
    z-index: 10;
    box-shadow: 0 15px 40px rgba(0, 168, 89, 0.25);
    border-color: var(--primary-green);
}

.marquee-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s;
}

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

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-33.333%);
        /* Move 1/3 (one complete set) */
    }
}

/* Mobile Adjustments for Marquee */
@media (max-width: 768px) {
    .marquee-item {
        width: 250px;
        height: 180px;
    }

    .marquee-track {
        animation-duration: 40s;
        /* Faster on small screens? Or same */
    }
}

/* Azurez CRM Integration Styles */
.hidden {
    display: none !important;
}

#azurez-lp-form-error-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    display: none;
    /* JS will toggle */
    background-color: rgba(220, 38, 38, 0.1);
    color: #ff8a8a;
    border: 1px solid rgba(220, 38, 38, 0.3);
    font-size: 0.9rem;
}

#azurez-lp-success-state {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    /* Use same gradient/bg as form wrapper */
    border-radius: 24px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    /* Enhance glass effect if overlap */
}

.success-content {
    text-align: center;
    padding: 20px;
    animation: fadeIn 0.5s ease;
}

.success-icon {
    font-size: 4rem;
    color: #00C853;
    margin-bottom: 20px;
    display: block;
    animation: success-pulse 1.5s infinite;
}

#azurez-lp-success-state h4 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

#azurez-lp-success-state p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

.btn-small:hover {
    background: white;
    color: var(--dark-blue);
}

@keyframes success-pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

/* Correção do Honeypot - Ocultação Robusta */
.azurez-lp-form-honeypot {
    display: none !important;
    position: absolute;
    left: -9999px;
    visibility: hidden;
    opacity: 0;
    height: 0;
    width: 0;
    z-index: -100;
}