/*
Theme Name: Lummini Theme
Theme URI: https://lummini.us/
Author: Seelius Digital
Description: Custom theme for Lummini migrated from static HTML.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lummini
*/
:root {
    --bg-main: #050A2E;
    --bg-alt: #1A1F3F;
    --bg-card: #1E2447;
    --bg-card-dark: #050A2E;
    --bg-card-alt: #282D49;
    --bg-white: #FFFFFF;
    --text-white: #FFFFFF;
    --text-gray: #C7C5D1;
    --text-dark: #000000;
    --accent: #C8A84B;

    --font-heading: 'Manrope', -apple-system, sans-serif;
    --font-body: 'Montserrat', -apple-system, sans-serif;

    --transition-smooth: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Global Logo Color Adjustment */
.lummini-logo,
.footer-logo img,
.mega-menu-info img,
.orbit-circle-bg img {
    filter: brightness(0) invert(1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-white);
    line-height: 1.618;
    /* Golden Ratio */
    overflow-x: hidden;
    position: relative;
}

/* Global Tech Grid Overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(200, 168, 75, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(200, 168, 75, 0.02) 1px, transparent 1px);
    background-size: 100px 100px;
    pointer-events: none;
    z-index: 999;
    opacity: 0.6;
}

h1,
h2,
h3,
h4,
h5,
h6,
.mega-link,
.btn,
.tag,
.lang-select,
.menu-btn {
    font-family: var(--font-heading);
}

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

.container {
    width: 100%;
    max-width: 1376px;
    margin: 0 auto;
}

.section-padding {
    padding: 128px 48px;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 80px 24px;
    }
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to bottom, rgba(5, 10, 46, 0.95) 0%, rgba(5, 10, 46, 0.6) 50%, rgba(5, 10, 46, 0) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(5, 10, 46, 0.95);
    border-bottom: 1px solid rgba(200, 168, 75, 0.2);
    backdrop-filter: blur(15px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 48px;
}

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

.nav-links {
    display: none;
    /* Hide default top nav to favor the mega menu lateral */
}

.menu-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    background: none;
    border: none;
    color: var(--text-white);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.menu-btn:hover {
    transform: scale(1.05);
}

/* MEGA MENU LATERAL */
.mega-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 18, 83, 0.4);
    backdrop-filter: blur(20px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

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

.mega-menu-sidebar {
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 480px;
    height: 100vh;
    background: var(--bg-card-dark);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    padding: 64px 48px;
    display: flex;
    flex-direction: column;
    transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
}

.mega-menu-overlay.active .mega-menu-sidebar {
    right: 0;
}

.close-btn {
    position: absolute;
    top: 32px;
    right: 32px;
    background: none;
    border: none;
    color: var(--text-white);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.close-btn:hover {
    transform: rotate(90deg);
}

.mega-menu-content {
    margin-top: 64px;
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.mega-menu-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.mega-link {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: -1px;
    position: relative;
    width: max-content;
}

.mega-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.mega-link:hover::after {
    width: 100%;
}

.mega-menu-info {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 32px;
}

@media (max-width: 900px) {
    .mega-menu-sidebar {
        max-width: 100%;
        padding: 48px 24px;
    }
}

/* HERO */
.hero {
    position: relative;
    padding: 240px 48px 160px 48px;
    background-color: #050A2E;
    background-image:
        linear-gradient(to bottom, #050A2E 0%, rgba(5, 10, 46, 0.6) 20%, rgba(5, 10, 46, 0.2) 40%, rgba(5, 10, 46, 0.6) 80%, #050A2E 100%),
        linear-gradient(to right, #050A2E 0%, rgba(5, 10, 46, 0.4) 100%),
        url('https://lummini.us/wp-content/uploads/2026/05/BG_HERO.webp');
    background-repeat: no-repeat;
    background-position: center 20%;
    background-size: cover;
    overflow: hidden;
    display: flex;
    align-items: center;
}


/* NEW: Video wrapper ensures the video covers the area and holds overlay gradients */
.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* Keeps video and its masks at the very bottom */
}

/* NEW: The raw video stream */
.hero-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    position: relative;
    z-index: 0; /* Garante que o fluxo do vídeo não passe o overlay (z-index: 1) */
}

/* NEW: Restored your exact top gradients onto a layer directly above the video */
.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(to bottom, #050A2E 0%, rgba(5, 10, 46, 0.6) 20%, rgba(5, 10, 46, 0.2) 40%, rgba(5, 10, 46, 0.6) 80%, #050A2E 100%),
        linear-gradient(to right, #050A2E 0%, rgba(5, 10, 46, 0.4) 100%);
    z-index: 1;
}

/* UPDATED: Raised z-index to 2 to stay above the video layers */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(200, 168, 75, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(200, 168, 75, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 2; /* Moved above video mask */
}

/* UPDATED: Raised z-index to 2 to stay above the video layers */
.hero::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(200, 168, 75, 0.1) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 2; /* Moved above video mask */
    animation: floatGlow 10s ease-in-out infinite;
}

@keyframes floatGlow {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-50px) scale(1.1); }
}

/* UPDATED: Raised z-index to 3 so the scanline strips over everything smoothly */
.hero-scanline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(200, 168, 75, 0.05) 50%, transparent 100%);
    background-size: 100% 4px;
    z-index: 3; /* Moved to top of visual layer */
    pointer-events: none;
    animation: scanline 8s linear infinite;
    opacity: 0.3;
}

@keyframes scanline {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

/* UPDATED: Raised z-index to 4 to guarantee text readability and element clickability */
.hero .container {
    position: relative;
    z-index: 4; /* Keeps text and buttons on the very top layer */
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -2px;
    max-width: 1000px;
    text-transform: none;
    background: linear-gradient(135deg, #FFF 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: rgba(199, 197, 209, 0.9);
    line-height: 1.5;
    max-width: 650px;
    border-left: 2px solid var(--accent);
    padding-left: 24px;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 17px 32px;
    border-radius: 24px;
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: var(--bg-card-dark);
    box-shadow: 0 0 20px rgba(200, 168, 75, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: #D4B96A;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(200, 168, 75, 0.4);
}


/* FEATURES */
.features {
    background: var(--bg-alt);
    position: relative;
    overflow: hidden;
}

.features::after {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(200, 168, 75, 0.04) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

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

.features h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 80px;
    letter-spacing: -1px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 48px;
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-top: 8px;
}

.feature-card p {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.6;
}

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

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

/* IMPACT */
.impact {
    background-color: var(--bg-main);
    background-image: radial-gradient(circle at 0% 50%, rgba(0, 174, 255, 0.08) 0%, transparent 60%);
}

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

.impact-content h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 32px;
}

.impact-content p {
    font-size: 20px;
    color: var(--text-gray);
    line-height: 1.4;
    max-width: 448px;
}

@keyframes rotateClockwise {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes floatNode {

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

    50% {
        transform: translate(-50%, -50%) translateY(-15px);
    }
}

.impact-graphic {
    position: relative;
    width: 100%;
    max-width: 384px;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.impact-graphic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    border: 3px dashed rgba(255, 255, 255, 0.1);
    animation: rotateClockwise 40s linear infinite;
    pointer-events: none;
}

.orbit-circle-bg {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: #232845;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    box-shadow: 0 0 50px rgba(200, 168, 75, 0.1);
}

.orbit-circle-bg h2 {
    font-weight: 800;
    font-size: 2rem;
    letter-spacing: -0.5px;
    color: var(--text-white);
    margin: 0;
}

.node {
    position: absolute;
    background: #333951;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 9999px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-white);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    transform: translate(-50%, -50%);
    z-index: 20;
    animation: floatNode 6s ease-in-out infinite;
    transition: var(--transition-smooth);
}

.node:hover {
    background: var(--accent);
    color: var(--bg-main);
    transform: translate(-50%, -50%) scale(1.1);
    cursor: default;
}

.node-1 {
    top: 0%;
    left: 50%;
    animation-delay: 0s;
}

.node-2 {
    top: 50%;
    left: 100%;
    animation-delay: 1.5s;
}

.node-3 {
    top: 50%;
    left: 0%;
    animation-delay: 3s;
}

.node-4 {
    top: 100%;
    left: 50%;
    animation-delay: 4.5s;
}

@media (max-width: 900px) {
    .impact-container {
        grid-template-columns: 1fr;
    }

    .impact-graphic {
        margin-top: 48px;
    }
}

/* EVENTS */
.events {
    background: var(--bg-alt);
    position: relative;
    overflow: hidden;
}

.events::after {
    content: '';
    position: absolute;
    bottom: -15%;
    left: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(0, 174, 255, 0.04) 0%, transparent 70%);
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
}

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

.events-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 64px;
}

.events-titles h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.events-titles p {
    font-size: 16px;
    color: var(--text-gray);
    max-width: 498px;
}

.carousel-nav {
    display: flex;
    gap: 16px;
}

.nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #333951;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.3s;
}

.nav-btn:hover {
    background: var(--accent);
}

.events-carousel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.event-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.event-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.event-img {
    height: 256px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.event-card:hover .event-img {
    transform: scale(1.1);
}

.event-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    background: linear-gradient(0deg, var(--bg-card) 0%, rgba(30, 36, 71, 0.00) 100%);
    opacity: 0.6;
}

.event-content {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.event-meta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.tag {
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.tag-blue {
    background: var(--accent);
    color: var(--bg-main);
}

.tag-dark {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    text-transform: none;
    letter-spacing: normal;
    padding: 0;
}

.event-content h3 {
    font-size: 24px;
    font-weight: 700;
}

.event-content p {
    font-size: 16px;
    color: var(--text-gray);
}

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

@media (max-width: 768px) {
    .events-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
    }

    .events-carousel {
        grid-template-columns: 1fr;
    }
}


/* CONNECTIONS BENTO */
.connections {
    background-color: var(--bg-main);
    background-image: radial-gradient(circle at 100% 50%, rgba(0, 174, 255, 0.08) 0%, transparent 60%);
}

.connections h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    line-height: 1.2;
    text-align: center;
    margin-bottom: 80px;
    letter-spacing: -1px;
}

.connections-layout {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 32px;
}

.main-card {
    grid-column: 1 / span 2;
    grid-row: 1 / span 2;
    background: linear-gradient(165deg, #FFFFFF 0%, #E8EBF2 100%);
    border-radius: 24px;
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.main-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 100% 0%, rgba(200, 168, 75, 0.08) 0%, transparent 40%);
    z-index: 1;
    pointer-events: none;
}

.main-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
}

.main-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.12;
    transition: transform 1.5s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.5s ease;
    filter: grayscale(1) brightness(1.1);
}

.main-card:hover .main-card-img {
    transform: scale(1.05);
    opacity: 0.2;
}

.main-card-content {
    position: relative;
    z-index: 10;
    color: #000;
}

.main-card h3 {
    font-size: 30px;
    font-weight: 700;
    margin: 15px 0;
}

.main-card p {
    font-size: 18px;
    opacity: 0.8;
}

.side-card-1,
.side-card-2,
.side-card-3 {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.side-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.08;
    transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.5s ease;
    z-index: 0;
}

.side-card-1::after,
.side-card-2::after,
.side-card-3::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 0% 0%, rgba(200, 168, 75, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 100% 100%, rgba(0, 174, 255, 0.04) 0%, transparent 40%);
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.5s ease;
}

.side-card-1:hover::after,
.side-card-2:hover::after,
.side-card-3:hover::after {
    opacity: 1.5;
    background:
        radial-gradient(circle at 0% 0%, rgba(200, 168, 75, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(0, 174, 255, 0.08) 0%, transparent 50%);
}

.side-card-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.side-card-1 {
    grid-column: 3 / span 2;
    grid-row: 1 / span 1;
    background: #151A3F;
    border-radius: 24px;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
}

.side-card-1:hover {
    transform: translateY(-8px);
    border-color: rgba(200, 168, 75, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.side-card-1 h3 {
    font-size: 24px;
    margin-bottom: 14px;
}

.side-card-1 p {
    color: var(--text-gray);
    font-size: 16px;
}

.side-card-2 {
    grid-column: 3 / span 1;
    grid-row: 2 / span 1;
    background: #1A1F4D;
    border-radius: 24px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

.side-card-2:hover {
    transform: translateY(-8px);
    border-color: rgba(200, 168, 75, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.side-card-3 {
    grid-column: 4 / span 1;
    grid-row: 2 / span 1;
    background: #0A0F35;
    border-radius: 24px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

.side-card-3:hover {
    transform: translateY(-8px);
    border-color: rgba(200, 168, 75, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.side-card-2 h3,
.side-card-3 h3 {
    font-size: 20px;
}

@media (max-width: 1024px) {
    .connections-layout {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .main-card {
        grid-column: 1;
        grid-row: auto;
        min-height: 400px;
    }

    .side-card-1,
    .side-card-2,
    .side-card-3 {
        grid-column: 1;
        grid-row: auto;
        min-height: 200px;
    }
}

/* CONTACT */
.contact {
    background: var(--bg-alt);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-info h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: 56px;
    letter-spacing: -1px;
}

.contact-info p {
    font-size: 20px;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 448px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 32px;
}

.icon-bg {
    width: 48px;
    height: 48px;
    border-radius: 24px;
    background: var(--accent);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.info-item span {
    font-size: 18px;
    font-weight: 600;
}

.contact-form-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 48px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

input,
textarea {
    background: var(--bg-card-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 17px 24px;
    color: white;
    font-family: inherit;
    font-size: 16px;
}

input::placeholder,
textarea::placeholder {
    color: #6B7280;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-select {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    font-size: 14px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--font-heading);
    outline: none;
    transition: 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 32px;
}

.lang-select:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.lang-select option {
    background: var(--bg-card-dark);
    color: var(--text-white);
}

textarea {
    resize: vertical;
    border-radius: 24px;
}

.full-width {
    width: 100%;
    margin-top: 24px;
}

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-card {
        padding: 24px;
    }
}

/* FOOTER */
.logo:hover {
    transform: scale(1.05);
}

.footer-link {
    position: relative;
    display: inline-block;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: var(--transition-smooth);
}

.footer-link:hover::after {
    width: 100%;
}

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

footer {
    background: var(--bg-card-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 48px;
}

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

.footer-link,
.footer-copy {
    color: var(--text-gray);
    font-size: 14px;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
}

/* UTILITY ANIMATIONS */
.opacity-0 {
    opacity: 0;
    transform: translateY(30px);
}

.fade-in-up {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* EXPERTISE SLIDER */
.expertise {
    background: var(--bg-main);
}

.expertise-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 64px;
}

.expertise-titles h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.expertise-titles p {
    font-size: 16px;
    color: var(--text-gray);
    max-width: 600px;
}

.expertise-slider-container {
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.expertise-slider {
    display: flex;
    gap: 32px;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.expertise-card {
    flex: 0 0 calc(33.333% - 22px);
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.expertise-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.expertise-img {
    height: 240px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.expertise-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(10, 18, 83, 0.5));
}

.expertise-content {
    padding: 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.expertise-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--accent);
}

.expertise-card p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.6;
}

@media (max-width: 1100px) {
    .expertise-card {
        flex: 0 0 calc(50% - 16px);
    }
}

@media (max-width: 768px) {
    .expertise-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
    }

    .expertise-card {
        flex: 0 0 100%;
    }
}

/* MODAL STYLES */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 18, 83, 0.85);
    backdrop-filter: blur(10px);
    z-index: 3000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    padding: 24px;
}

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

.modal-content {
    background: var(--bg-card-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    padding: 48px;
    max-width: 600px;
    width: 100%;
    position: relative;
    transform: translateY(40px);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: var(--text-gray);
    cursor: pointer;
    transition: 0.3s;
}

.modal-close:hover {
    color: var(--text-white);
    transform: rotate(90deg);
}

.modal-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 24px;
}

.modal-desc {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-gray);
}

.tag.tag-blue {
    cursor: pointer;
    transition: var(--transition-smooth);
}

.tag.tag-blue:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(200, 168, 75, 0.3);
}
