/* ================================
   CSS VARIABLES - blueEnergy Palette
   ================================ */
:root {
    /* Primary Colors - Based on blueEnergy logo */
    --primary-blue: #1e4a7a;
    --primary-light-blue: #4ea8d8;
    --accent-cyan: #7ec8e3;
    --accent-bright-blue: #2b8fcc;
    
    /* Neutral Colors */
    --dark-navy: #0d2840;
    --text-dark: #1a1a1a;
    --text-medium: #4a5568;
    --text-light: #718096;
    --white: #ffffff;
    --off-white: #f8fafc;
    --light-gray: #e2e8f0;
    --medium-gray: #cbd5e0;
    
    /* Accent Colors */
    --success-green: #10b981;
    --warning-orange: #f59e0b;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-light-blue) 100%);
    --gradient-hero: linear-gradient(135deg, rgba(30, 74, 122, 0.95) 0%, rgba(43, 143, 204, 0.85) 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(13, 40, 64, 0.3) 0%, rgba(13, 40, 64, 0.7) 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(30, 74, 122, 0.08);
    --shadow-md: 0 4px 12px rgba(30, 74, 122, 0.12);
    --shadow-lg: 0 10px 30px rgba(30, 74, 122, 0.15);
    --shadow-xl: 0 20px 50px rgba(30, 74, 122, 0.2);
    
    /* Spacing */
    --container-max: 1320px;
    --container-padding: 2rem;
    
    /* Typography */
    --font-display: 'Manrope', sans-serif;
--font-body: 'Manrope', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ================================
   RESET & BASE STYLES
   ================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ================================
   HEADER & NAVIGATION
   ================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-medium);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(44, 158, 232, 0.35);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-image {
    height: 45px;
    width: auto;
    transition: transform var(--transition-medium);
}

.logo-image:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color var(--transition-fast);
    letter-spacing: 0.01em;
    text-shadow: 0 1px 6px rgba(0,0,0,0.45);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-medium);
}

/*.nav-link:hover,
.nav-link.active {
    color: var(--primary-blue);
}*/

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.btn-primary {
    padding: 0.75rem 1.75rem;
    background: var(--gradient-primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-medium);
    box-shadow: var(--shadow-sm);
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 2px;
    transition: all var(--transition-fast);
}





/* Language Selector */
.lang-selector {
    position: relative;
    margin-left: 16px;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.lang-flag {
    width: 22px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
}

.lang-arrow {
    font-size: 12px;
    color: #333;
}

/* Dropdown */
.lang-dropdown {
    position: absolute;
    right: 0;
    top: 120%;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    list-style: none;
    padding: 6px 0;
    margin: 0;
    min-width: 140px;
    display: none;
    z-index: 999;
}

.lang-dropdown li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    cursor: pointer;
}

.lang-dropdown li:hover {
    background: #f2f2f2;
}

.lang-dropdown img {
    width: 20px;
    height: 14px;
    border-radius: 2px;
}

/* Show dropdown */
.lang-selector.open .lang-dropdown {
    display: block;
}


/* ================================
   HERO SECTION
   ================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Hero Carousel */
.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.carousel-track {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
    animation: kenBurns 10s ease-in-out infinite;
}

@keyframes kenBurns {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
}

/* Carousel Controls */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-medium);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 2rem;
}

.carousel-btn.next {
    right: 2rem;
}

.carousel-indicators {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all var(--transition-medium);
    padding: 0;
}

.indicator.active {
    background: var(--white);
    width: 40px;
    border-radius: 6px;
}

/* Hero Content */
.hero-content {

    padding-top: 80px;
    position: relative;
    z-index: 5;
    width: 100%;
    padding: 8rem 0 6rem;
}

.hero-text {
    max-width: 900px;
    animation: fadeInUp 1s ease-out;
}

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

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-bright-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 700px;
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

.btn-hero-primary,
.btn-hero-secondary {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all var(--transition-medium);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
}

.btn-hero-primary {
    background: var(--white);
    color: var(--primary-blue);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

/* Hero Features */
.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 5rem;
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    transition: all var(--transition-medium);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}

.feature-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.feature-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.feature-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    font-weight: 300;
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 1.5rem;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
    
    .hero-features {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .nav-menu,
    .btn-primary {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-content {
        padding: 6rem 0 4rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 3rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .carousel-btn.prev {
        left: 1rem;
    }
    
    .carousel-btn.next {
        right: 1rem;
    }
    
    .carousel-indicators {
        bottom: 2rem;
    }
}

@media (max-width: 480px) {
    :root {
        --container-padding: 1.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
}

/* ================================
   UTILITY CLASSES
   ================================ */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }





/* ================================
   VIDEO YOUTUBE
   ================================ */


.video-section {
    padding: 80px 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 120, 255, 0.04),
        transparent
    );
}

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

/* Text */
.video-title {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 16px;
}

.video-description {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555;
}

/* Video responsive */
.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* 📱 Mobile */
@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .video-title {
        font-size: 1.6rem;
    }

    .video-description {
        font-size: 1rem;
    }
}



/* ================================
   TECNOLOGIAS
   ================================ */


.tecnologias{
    margin: auto;
    max-width: 80%;
}





/* ================================
   FOOTER
   ================================ */
.footer {
    background: var(--dark-navy);
    color: rgba(255, 255, 255, 0.9);
    margin-top: auto;
}

.footer-main {
    padding: 4rem 0 3rem;
}

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

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

.footer-title {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    transition: all var(--transition-fast);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent-cyan);
    transform: translateX(5px);
}

/* Footer Brand Column */
.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-cta-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all var(--transition-medium);
    text-decoration: none;
}

.social-icon:hover {
    background: var(--accent-cyan);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(78, 168, 216, 0.3);
}

.social-icon svg {
    width: 24px;
    height: 24px;
}

/* Footer Bottom */
.footer-bottom {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo img {
    height: 50px;
    width: auto;
     filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.70));
    opacity: 0.9;
}

.footer-mission {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 700px;
    font-weight: 300;
}

/* Copyright Bar */
.footer-copyright {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
}

.copyright-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright-content p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
}

.privacy-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.privacy-link:hover {
    color: var(--accent-cyan);
}

/* Footer Responsive */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .footer-main {
        padding: 3rem 0 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 3rem;
    }
    
    .footer-brand {
        order: -1;
    }
    
    .footer-social {
        justify-content: flex-start;
    }
    
    .footer-bottom {
        padding-top: 2rem;
    }
    
    .copyright-content {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .footer-title {
        font-size: 0.85rem;
    }
    
    .footer-links a {
        font-size: 0.95rem;
    }
    
    .footer-mission {
        font-size: 0.95rem;
    }
    
    .social-icon {
        width: 44px;
        height: 44px;
    }
    
    .social-icon svg {
        width: 22px;
        height: 22px;
    }
}