:root {
    /* Color Palette - Mindustry Light Theme (White & Blue) */
    --primary: #0070f3;
    --primary-hover: #0056b3;
    --primary-glow: rgba(0, 112, 243, 0.2);
    --bg-dark: #ffffff;
    --bg-alt: #f8fafc;
    --bg-card: #ffffff;
    --bg-nav: rgba(255, 255, 255, 0.9);
    --text-main: #0f172a;
    --text-muted: #64748b;
    --accent: #0070f3;
    --highlight: #0070f3; /* Replaced pink with primary blue */
    --teal: #ffffff; /* Replaced Teal with White for extreme contrast */
    --anthracite: #1a202c; /* Anthracite Gray */
    --navy: #0a192f; /* Deep Navy */
    
    /* Layout Tokens */
    --header-h: 80px;
    --container-w: 1200px;
    --section-pad: 60px 5%;
    --radius-lg: 12px;
    --radius-md: 8px;
    --radius-sm: 4px;
    
    /* Shadows for Light Theme */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    
    /* Animations */
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --transition: all 0.4s var(--ease);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    text-align: left;
}

h1, h2, h3, .brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
}

ul {
    list-style: none;
}

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

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

/* --- Buttons & UI Elements --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    gap: 10px;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-glow);
}

.btn-secondary {
    background: #fff;
    border: 1px solid rgba(0, 112, 243, 0.3);
    color: var(--primary);
}

.btn-secondary:hover {
    background: rgba(0, 112, 243, 0.05);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.glass {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.tag {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 16px;
    display: inline-block;
}

/* --- Navigation --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-h);
    z-index: 1000;
    background: transparent;
    transition: var(--transition);
}

/* Subtle Background Texture Overlays */
.subtle-bg-overlay {
    position: relative;
}

.subtle-bg-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/Gemini_Generated_Image_vta3fbvta3fbvta3.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.05;
    pointer-events: none;
    z-index: -1;
}

/* --- Shared UI Classes --- */
.hero-title-large {
    font-size: clamp(1.8rem, 5vw, 3.2rem);
    max-width: 1200px;
    margin: 0 auto 24px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.hero-subtitle {
    color: rgba(255,255,255,0.8);
    font-size: 1.15rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    text-align: center;
}

.section-title-large {
    font-size: clamp(1.6rem, 5vw, 2.8rem);
    line-height: 1.1;
    background: linear-gradient(135deg, var(--navy) 20%, var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 30px;
    font-weight: 800;
    letter-spacing: -1px;
}

.section-text {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 25px;
}

.feature-card.glass {
    background: #ffffff;
    border: 1px solid rgba(0, 112, 243, 0.06);
    box-shadow: 0 10px 40px rgba(0, 112, 243, 0.02);
    padding: 40px 30px !important;
    border-radius: 40px !important;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.feature-card.glass:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 40px 80px rgba(0, 112, 243, 0.12), 0 0 20px rgba(0, 112, 243, 0.05);
}

.feature-card.glass .feature-icon-box {
    background: #f0f7ff;
    color: var(--primary);
    width: 64px;
    height: 64px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 112, 243, 0.05);
}

.feature-card.glass:hover .feature-icon-box {
    background: var(--primary);
    color: #fff;
    transform: scale(1.1) rotate(-8deg);
    box-shadow: 0 15px 30px rgba(0, 112, 243, 0.2);
}

.feature-card.glass h3 {
    margin-top: 20px;
    color: var(--navy);
    font-size: 1.85rem;
    font-weight: 800;
    text-align: center;
    line-height: 1.2;
}

.feature-card.glass p {
    margin-top: 15px;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    text-align: center;
}

.feature-card.glass {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}


.main-header.scrolled {
    background: var(--bg-nav);
    backdrop-filter: blur(20px);
    height: 80px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-sm);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
}

.brand {
    display: flex;
    align-items: center;
    z-index: 1001;
    position: relative;
    height: 100%;
}

.brand img {
    height: 42px;
    width: auto;
    transition: var(--transition);
}

@media (max-width: 768px) {
    .brand {
        width: auto;
    }
    .brand img {
        height: 42px;
    }
}

.footer-logo img {
    height: 140px;
    width: auto;
    margin-bottom: 20px;
    filter: brightness(0) invert(1); /* Keep white for the dark navy footer */
}

.nav-menu {
    display: flex;
    gap: 24px;
    list-style: none;
    align-items: center;
}

.nav-item {
    position: relative;
    padding: 15px 0;
}

.nav-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--navy);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    white-space: nowrap;
}

.nav-link i, .nav-link svg {
    width: 12px;
    height: 12px;
    opacity: 0.4;
    transition: var(--transition);
}

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

.nav-item:hover .nav-link i, .nav-item:hover .nav-link svg {
    transform: rotate(180deg);
    opacity: 1;
}

/* --- Dropdown System --- */
.dropdown-menu {
    position: absolute;
    top: calc(100% - 10px);
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background: #fff;
    min-width: 320px;
    padding: 12px;
    border-radius: 18px;
    box-shadow: 0 25px 60px rgba(10, 25, 47, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    border: 1px solid rgba(0,0,0,0.03);
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(5px);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    color: var(--navy);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.dropdown-icon {
    width: 40px;
    height: 40px;
    background: #f8fafc;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
    flex-shrink: 0;
}

.dropdown-icon i, .dropdown-icon svg {
    width: 20px;
    height: 20px;
}

.dropdown-info {
    display: flex;
    flex-direction: column;
}

.dropdown-title {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 2px;
    display: block;
}

.dropdown-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 400;
}

.dropdown-item:hover {
    background: #f1f5f9;
}

.dropdown-item:hover .dropdown-icon {
    background: var(--primary);
    color: #fff;
    transform: scale(1.05);
}

.dropdown-item:hover .dropdown-title {
    color: var(--primary);
}

/* --- Header Actions --- */
.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-left: 20px;
    border-left: 1px solid rgba(0,0,0,0.08);
}

.btn-clients {
    color: var(--navy);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    opacity: 0.7;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-clients:hover {
    opacity: 1;
    color: var(--primary);
}

.btn-discovery {
    background: var(--primary);
    color: #fff;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    box-shadow: 0 8px 16px var(--primary-glow);
    transition: var(--transition);
    white-space: nowrap;
}

.btn-discovery:hover {
    background: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 112, 243, 0.2);
}

.btn-whatsapp {
    background: var(--primary) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 8px 16px var(--primary-glow) !important;
}

.btn-whatsapp:hover {
    background: var(--navy) !important;
    box-shadow: 0 12px 24px rgba(0, 112, 243, 0.3) !important;
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    z-index: 1000;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-float img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.15));
}

.whatsapp-float:hover {
    transform: scale(1.15) rotate(5deg);
}




.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--navy);
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
    width: 44px;
    height: 44px;
    position: relative;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--navy);
    margin: 5px auto;
    transition: 0.3s;
    border-radius: 3px;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    padding-top: var(--header-h);
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

/* --- Grids --- */
.vertical-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

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

.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, transform 8s ease-out; /* Added transform transition */
    transform: scale(1.1); /* Initial state slightly zoomed in */
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1); /* Zoom out effect over time */
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 24, 48, 0.65); /* Industrial blue/navy tint */
    backdrop-filter: blur(4px); /* Subtle blur for depth */
    -webkit-backdrop-filter: blur(4px);
    z-index: 3;
}

.hero-tech-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 25%, rgba(0, 242, 254, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 80% 75%, rgba(0, 112, 243, 0.18) 0%, transparent 45%);
    z-index: 3;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 4;
    width: 100%;
}

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

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(0, 112, 243, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 112, 243, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
}

.hero-content {
    max-width: 900px;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-main);
    font-weight: 700;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 700px;
    line-height: 1.5;
}

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

/* --- Hero Slider Nav Buttons --- */
.slider-nav-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.slider-nav-buttons.lateral-nav {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    padding: 0 40px;
    margin-top: 0;
    transform: translateY(-50%);
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.slider-nav-buttons button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    pointer-events: auto;
}

.slider-nav-buttons button:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 112, 243, 0.4);
}

.slider-nav-buttons button:active {
    transform: scale(0.95);
}

.slider-nav-buttons button i, 
.slider-nav-buttons button svg {
    width: 18px;
    height: 18px;
}

/* --- Feature Sections --- */
.section {
    padding: var(--section-pad);
}

.section-header {
    max-width: 700px;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
    margin-bottom: 20px;
}

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

/* Feature Grid (Solutions) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.feature-card {
    padding: 40px;
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
}

.feature-inner {
    position: relative;
    z-index: 1;
}

.feature-icon-box {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    background: rgba(0, 112, 243, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 24px;
    border: 1px solid rgba(0, 112, 243, 0.1);
}

.feature-card h3 {
    margin-bottom: 16px;
    font-size: 1.35rem;
    color: var(--text-main);
}

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

.feature-card:hover {
    border-color: rgba(0, 112, 243, 0.2);
    background: #fff;
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

/* --- Showcase Section --- */
.showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.showcase-content h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.showcase-img {
    position: relative;
}

.showcase-img img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 40px 100px rgba(0,0,0,0.8);
    border: 1px solid rgba(255,255,255,0.1);
}

.showcase-img::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    bottom: -20px;
    left: -20px;
    background: var(--primary-glow);
    filter: blur(80px);
    opacity: 0.2;
    z-index: -1;
}

/* --- Academy / Facilitator Section --- */
.academy-preview {
    background: #0a0a0c;
    border-radius: var(--radius-lg);
    padding: 80px;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.facilitator-img {
    width: 100%;
    border-radius: var(--radius-md);
    filter: grayscale(0.2);
}

/* --- Footer --- */
.footer {
    background: #fff;
    color: var(--navy);
    padding: 100px 0 40px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-column h4 {
    color: var(--navy);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

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

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: var(--transition);
}

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

.footer-info-text {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 300px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-social-btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.05);
    color: var(--navy);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.footer-social-btn i, .footer-social-btn svg {
    width: 20px;
    height: 20px;
    stroke-width: 2px;
}

.footer-social-btn:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-5px) scale(1.05);
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(0, 112, 243, 0.2);
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--text-muted);
    font-size: 0.92rem;
    padding: 12px 16px;
    background: rgba(15, 23, 42, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    transition: all 0.3s var(--ease);
    text-decoration: none;
}

.footer-contact-item:hover {
    background: #fff;
    border-color: var(--primary);
    color: var(--primary);
    transform: translateX(8px);
    box-shadow: 0 10px 20px rgba(0, 112, 243, 0.05);
}

.footer-contact-item i, .footer-contact-item svg {
    color: var(--primary);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.footer-contact-item:hover i, .footer-contact-item:hover svg {
    transform: scale(1.1);
}

.contact-card {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: rgba(0, 112, 243, 0.03);
    border: 1px solid rgba(0, 112, 243, 0.08);
    border-radius: 16px;
    transition: all 0.4s var(--ease);
    text-decoration: none;
}

.contact-card:hover {
    background: #fff;
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 112, 243, 0.08);
}

.contact-social-btn:hover {
    transform: translateY(-3px);
    border-color: var(--primary) !important;
    box-shadow: 0 10px 20px rgba(0, 112, 243, 0.1);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom-text {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    gap: 25px;
}

.footer-bottom-links a {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-logo-img {
    width: 160px;
    height: auto;
    margin-bottom: 20px;
}

@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }
}

@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-info-text {
        margin: 0 auto 25px;
    }
    
    .footer-socials {
        justify-content: center;
    }
    
    .footer-contact-item {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
}


/* --- Global Icon Styling --- */
[data-lucide], .lucide {
    stroke-width: 2.5px !important;
    vertical-align: middle;
}

.feature-icon-box i, .service-icon-box i {
    width: 28px;
    height: 28px;
}

.header-actions .social-link-item i {
    width: 20px;
    height: 20px;
    stroke-width: 2px !important;
}
/* --- Responsive --- */
/* --- Tulip Styled Sections --- */

.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
}

.tab-item {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    position: relative;
    padding-bottom: 10px;
    transition: var(--transition);
}

.tab-item.active {
    color: var(--primary);
}

.tab-item.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
}

.showcase-factory {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 80px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-lg);
}

.showcase-factory img {
    width: 100%;
    border-radius: var(--radius-md);
    display: block;
}

/* --- Split Section (Text + Image) --- */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Solution Specific Ratios & Reordering */
.split-text-left { 
    grid-template-columns: 1.2fr 0.8fr;
}

.split-text-right { 
    grid-template-columns: 0.8fr 1.2fr;
}

@media (min-width: 1025px) {
    .split-text-right {
        grid-template-areas: "visual text";
    }
    .split-text-right .split-text-block { grid-area: text; }
    .split-text-right .split-visual-block { grid-area: visual; }
}

@media (max-width: 1024px) {
    .split-section, 
    .split-text-left, 
    .split-text-right { 
        grid-template-columns: 1fr !important;
        grid-template-areas: none !important;
        gap: 60px !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    .split-section > div {
        width: 100% !important;
        max-width: 100% !important;
    }

    video {
        max-width: 100% !important;
        height: auto !important;
    }
}

.split-text h3 {
    font-size: 2.5rem;
    margin-bottom: 24px;
    line-height: 1.2;
}

.accordion-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 24px 0;
}

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

.accordion-header h4 {
    font-size: 1.1rem;
    font-weight: 600;
}

.accordion-content {
    display: none;
    padding-top: 15px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.accordion-item.active .accordion-content {
    display: block;
}

/* --- Vertical Cards --- */
.vertical-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 60px;
}

.vertical-card {
    height: 550px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    background: #f1f5f9;
    cursor: pointer;
    transition: var(--transition);
}

.vertical-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: var(--transition);
}

.vertical-card:hover img {
    opacity: 1;
    transform: scale(1.05);
}

.vertical-card-content {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
    z-index: 2;
    color: #fff;
}

.vertical-card-content h4 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: #fff;
}

/* --- Stats Bar --- */
.stats-bar {
    background: var(--primary);
    padding: 80px 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    color: #fff;
    border: none;
}

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

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    display: block;
    margin-bottom: 10px;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* --- Resources --- */
.resource-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.resource-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.resource-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 112, 243, 0.2);
    box-shadow: var(--shadow-lg);
}

.resource-img {
    height: 220px;
    width: 100%;
    object-fit: cover;
}

.resource-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.resource-link {
    margin-top: auto;
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* --- Logo Grid --- */
.logo-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 60px;
    opacity: 0.5;
    padding: 40px 0;
}

.logo-grid div {
    text-align: center;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: #222; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #333; }

@media (max-width: 1024px) {
    .split-section { grid-template-columns: 1fr; }
    .vertical-cards-grid { grid-template-columns: repeat(2, 1fr); }
    .resource-grid { grid-template-columns: repeat(2, 1fr); }
    .logo-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .vertical-cards-grid { grid-template-columns: 1fr; }
    .resource-grid { grid-template-columns: 1fr; }
    .stats-bar { flex-direction: column; gap: 40px; }
    
    /* Header Mobile Fix */
    .main-header {
        height: 80px;
        background: var(--bg-nav) !important;
        backdrop-filter: blur(20px);
    }
    
    .header-container {
        padding: 0 40px !important;
        height: 80px;
    }
    
    .social-links-header {
        display: none !important;
    }
    
    .nav-menu {
        display: none;
    }
    
    .nav-cta-desktop {
        display: none !important;
    }
    
    .mobile-menu-btn {
        display: block !important;
    }
    
    .header-actions {
        display: flex !important;
        align-items: center;
        gap: 0;
    }

    .section-title-large {
        line-height: 1.3 !important;
        margin-bottom: 20px !important;
    }
    
    .section-text {
        text-align: left;
    }

    .split-section {
        gap: 40px !important;
    }

    .hero-content p {
        font-size: 1rem !important;
        margin-bottom: 30px !important;
    }
    
    .hero {
        padding-top: 100px;
        min-height: 60vh;
    }
    
    .carousel-arrows {
        padding: 0 10px !important;
    }
    
    .carousel-arrows button {
        padding: 10px !important;
    }
    
    .container {
        padding: 0 20px !important;
    }
    
    .section {
        padding: 60px 0 !important;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr !important;
    }
    
    .value-grid-4 {
        grid-template-columns: 1fr !important;
    }
    
    .feature-card {
        padding: 25px !important;
    }
    
    .feature-card h3 {
        font-size: 1.2rem !important;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .lateral-nav {
        display: none !important;
    }
}

/* --- New Styles added for Nosotros page --- */
.btn-highlight {
    background: #ffffff;
    color: var(--primary);
    box-shadow: 0 4px 14px rgba(255, 255, 255, 0.2);
}

.btn-highlight:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.comp-table-wrapper {
    overflow-x: auto;
    margin-top: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    background: #fff;
}

.comp-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.comp-table th, .comp-table td {
    padding: 24px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.comp-table th {
    background: var(--bg-alt);
    font-weight: 700;
    color: var(--text-main);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.comp-table td {
    font-size: 0.95rem;
}

.comp-table td:first-child {
    font-weight: 600;
    color: var(--text-main);
    background: rgba(10, 25, 47, 0.02);
}

.comp-table tr:last-child td {
    border-bottom: none;
}

.mindustry-col {
    color: var(--primary);
    font-weight: 700;
    background: rgba(0, 112, 243, 0.03);
}

.values-grid-5 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

@media (min-width: 1200px) {
    .values-grid-5 {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* --- Home Value Grid --- */
.value-grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.value-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 32px;
    border: 1px solid rgba(0, 112, 243, 0.08);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.04);
    transition: all 0.6s var(--ease);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 1;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--primary);
    opacity: 0;
    transition: 0.4s ease;
}

.value-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 112, 243, 0.12);
    border-color: var(--primary);
}

.value-card:hover::before {
    opacity: 1;
}

.value-card:hover .feature-icon-box {
    transform: scale(1.1) rotate(5deg);
    background: var(--primary);
    color: #fff;
}

.value-card .feature-icon-box {
    transition: 0.4s ease;
}

.value-card h3 {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--navy) 30%, var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0px;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -2px;
}

.bg-pattern {
    background-image: radial-gradient(rgba(0, 112, 243, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
}

.value-card p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-top: 15px;
}

.solution-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 112, 243, 0.05);
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.bg-navy { background: var(--navy); color: #fff; }
.bg-anthracite { background: var(--anthracite); color: #fff; }

.dual-approach-section {
    position: relative;
    background-image: linear-gradient(135deg, rgba(0, 112, 243, 0.7) 0%, rgba(10, 25, 47, 0.9) 100%), url('images/hero_industrial_smart_factory.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.about-hero {
    background-image: linear-gradient(135deg, rgba(10, 25, 47, 0.95) 0%, rgba(10, 25, 47, 0.8) 100%), 
                      url('images/human_ingenuity_hero_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.home-hero {
    background-image: linear-gradient(135deg, rgba(10, 25, 47, 0.9) 0%, rgba(10, 25, 47, 0.7) 100%), 
                      url('images/smart_factory_visibility_hero_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.tech-solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 100px;
    margin-bottom: 80px;
}



.tech-card-bg-number {
    position: absolute;
    top: -20px;
    right: 20px;
    font-size: 8rem;
    font-weight: 900;
    color: rgba(0, 112, 243, 0.03);
    pointer-events: none;
    font-family: 'Outfit', sans-serif;
}

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

@media (max-width: 768px) {
    .container {
        padding: 0 40px !important;
    }

    .tech-solution-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 60px;
    }
    
    .tech-solution-grid .feature-card:nth-child(2) {
        transform: translateY(0);
    }
    
    .tech-card-bg-number {
        font-size: 5rem;
        right: 10px;
    }
    
    .home-hero .container {
        flex-direction: column;
        text-align: center;
        justify-content: center !important;
        padding-top: 40px !important;
    }
    
    .hero-text-side {
        text-align: center !important;
        margin-bottom: 40px;
    }
    

    
    .hero-text-side h1 {
        font-size: clamp(2rem, 9vw, 2.5rem) !important;
        line-height: 1.1 !important;
        margin-bottom: 20px !important;
    }
    
    .hero-text-side p {
        font-size: 1.1rem !important;
        margin-bottom: 30px !important;
        opacity: 0.9 !important;
    }

    /* Hide only Discovery Button, Keep Menu Button */
    .btn-discovery {
        display: none !important;
    }

    .header-actions {
        display: flex !important;
    }

    /* Hide Carousel Arrows on Mobile (Auto-scroll only) */
    .hero-slider-controls {
        display: none !important;
    }

    /* Sections Mobile Padding */
    .section {
        padding: 60px 0 !important;
    }

    /* Hero Buttons */
    .hero-text-side div[style*="display: flex"] {
        flex-direction: column !important;
        gap: 12px !important;
    }

    .hero-text-side div[style*="display: flex"] .btn {
        width: 100% !important;
        justify-content: center !important;
    }

    /* Footer Mobile Fixes */
    .footer-container {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        text-align: center;
    }

    .footer-column {
        align-items: center !important;
        display: flex;
        flex-direction: column;
    }

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

    .footer-contact-item {
        justify-content: center;
        width: 100%;
        max-width: 300px;
    }
}



/* --- Scroll Highlight Effect --- */
.highlight-scroll {
    display: inline;
    background-image: linear-gradient(120deg, rgba(0, 112, 243, 0.15) 0%, rgba(0, 112, 243, 0.15) 100%);
    background-repeat: no-repeat;
    background-size: 0% 40%;
    background-position: 0 85%;
    transition: background-size 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.highlight-scroll.active {
    background-size: 100% 40%;
}
