/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0066cc;
    --secondary-color: #f39c12;
    --dark-color: #1a3d5c;
    --light-color: #ecf0f1;
    --white: #ffffff;
    --gray: #7f8c8d;
    --light-gray: #bdc3c7;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    color: var(--white);
    padding: 20px;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

.cookie-banner.hidden {
    display: none;
}

.cookie-content {
    max-width: 1600px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-content p {
    margin: 0;
    font-size: 14px;
}

.cookie-content a {
    color: var(--secondary-color);
    text-decoration: underline;
}

.btn-accept {
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 10px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-accept:hover {
    background: #e67e22;
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.navbar-signatures {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.signatures-image {
    height: 35px;
    max-width: 100%;
    object-fit: contain;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.signatures-image:hover {
    opacity: 1;
}

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

.logo-image {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

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

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

/* Hide language entry inside menu by default (desktop) */
.lang-menu-item { display: none; }

.nav-menu a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 700;
    transition: color 0.3s ease;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
}

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

/* Language switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-btn {
    background: var(--light-color);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 8px;
    padding: 6px 10px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1;
    transition: all 0.2s ease;
}

.lang-btn:hover {
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.lang-btn.active {
    color: var(--white);
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.25);
}

/* Prevent overlap with hamburger on small screens */
@media (max-width: 968px) {
    .navbar .container { position: relative; }
    /* Hide header language switcher on mobile; use one inside menu */
    .navbar > .container > .lang-switcher { display: none; }
    /* Ensure mobile menu items align uniformly */
    .nav-menu li { 
        width: 100%; 
        display: flex; 
        justify-content: center;
        align-items: center;
    }
    .nav-menu a { 
        display: flex; 
        align-items: center; 
        justify-content: center; 
        width: 100%; 
        padding: 16px 20px; 
        text-align: center;
    }
    .lang-menu-item { 
        display: flex; 
        justify-content: center;
        padding: 12px 20px; 
    }
    .lang-menu-item .lang-switcher { 
        position: static; 
        transform: none;
        justify-content: center;
    }
    .hamburger { z-index: 4; }
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    transition: all 0.3s ease;
}

/* Video Hero Section */
.video-hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none;
    pointer-events: none;
    z-index: 1;
}

.video-content {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 2;
    color: var(--white);
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.75), 0 0 10px rgba(0, 0, 0, 0.6);
    text-align: left;
    max-width: 900px;
    padding: 0 60px;
    transition: left 0.8s ease, transform 0.8s ease, padding 0.8s ease, opacity 0.6s ease;
}

/* Explicit alignment states controlled via JS for sync with video loop */
.video-content.align-left {
    left: 0;
    transform: translateY(-50%);
    text-align: left;
    padding: 0 60px;
}

.video-content.align-center {
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding: 0 20px;
}

@keyframes videoContentMove {
    0% {
        opacity: 0;
        left: 0;
        transform: translateY(-50%);
        text-align: left;
        padding: 0 60px;
    }
    10% {
        opacity: 1;
        left: 0;
        transform: translateY(-50%);
        text-align: left;
        padding: 0 60px;
    }
    80% {
        opacity: 1;
        left: 0;
        transform: translateY(-50%);
        text-align: left;
        padding: 0 60px;
    }
    100% {
        opacity: 1;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        padding: 0 20px;
    }
}

.video-subtitle {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 3px;
    opacity: 0.9;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.8), 0 0 6px rgba(0, 0, 0, 0.7);
}

.video-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 6px 28px rgba(0, 0, 0, 0.85), 0 3px 14px rgba(0, 0, 0, 0.8), 0 0 10px rgba(0, 0, 0, 0.75);
}

.video-description {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.8), 0 0 6px rgba(0, 0, 0, 0.7);
}

.video-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.video-buttons .btn {
    min-width: 200px;
    padding: 15px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.video-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
}

.btn i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.btn-primary:hover {
    background: #e67e22;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(243, 156, 18, 0.4);
}

.btn-primary:hover i {
    transform: translateX(3px);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-secondary:hover i {
    transform: scale(1.1);
}

/* Company Banner */
.company-banner {
    background: var(--dark-color);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.company-banner h1 {
    font-size: 36px;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: lowercase;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 36px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 50px;
    color: var(--dark-color);
}

.text-center {
    text-align: center;
    margin-top: 40px;
}

/* About Section */
.about {
    background: var(--light-color);
}

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

.about-main p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}

.about-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about-card {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-card h5 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-card h5 i {
    color: var(--secondary-color);
}

.about-card p {
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.7;
}

.values-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px 20px;
    margin-top: 15px;
    width: 100%;
    max-width: 100%;
}

.values-list li {
    padding: 15px 10px;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    background: var(--white);
    border-radius: 8px;
    text-align: left;
    justify-content: flex-start;
    min-height: 60px;
    flex-direction: row;
    font-weight: 500;
    color: var(--dark-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.values-list li i {
    color: var(--secondary-color);
    font-size: 20px;
    min-width: 24px;
    margin-bottom: 0;
}

.values-list li:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
    background: var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.values-list li:hover i {
    color: var(--primary-color);
    transform: scale(1.1);
}

/* Services Section */
.services {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.service-card {
    position: relative;
    background: var(--primary-color);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    padding: 50px 30px;
    text-align: center;
    border-radius: 10px;
    transition: all 0.3s ease;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.85) 0%, rgba(26, 61, 92, 0.85) 100%);
    transition: all 0.3s ease;
    z-index: 1;
}

.service-content {
    position: relative;
    z-index: 2;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(26, 84, 144, 0.3);
}

.service-card:hover .service-overlay {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.75) 0%, rgba(26, 61, 92, 0.75) 100%);
}

.service-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.service-icon i {
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon i {
    transform: scale(1.2);
}

.service-card h3 {
    font-size: 22px;
    font-weight: 600;
    text-transform: uppercase;
}

.services-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.services-content p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}

/* Products Section */
.products {
    background: var(--light-color);
}

.products .section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.products .section-title i {
    color: var(--secondary-color);
}

.products-intro {
    text-align: center;
    font-size: 18px;
    color: var(--gray);
    max-width: 900px;
    margin: -20px auto 40px;
    line-height: 1.6;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px;
    margin-bottom: 50px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.product-card {
    background: var(--white);
    padding: 16px 12px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

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

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

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 102, 204, 0.2);
    border-color: var(--primary-color);
}

.product-icon-wrapper {
    width: 45px;
    height: 45px;
    margin: 0 auto 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    position: relative;
}

.product-icon-wrapper::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-color), #e67e22);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-card:hover .product-icon-wrapper::after {
    opacity: 1;
}

.product-icon-wrapper i {
    font-size: 22px;
    color: var(--white);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.product-card:hover .product-icon-wrapper {
    transform: scale(1.1) rotate(360deg);
}

.product-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.product-card:hover h3 {
    color: var(--primary-color);
}

.product-size {
    font-size: 11px;
    font-weight: 600;
    color: var(--secondary-color);
    background: rgba(243, 156, 18, 0.1);
    padding: 3px 8px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.product-card:hover .product-size {
    background: var(--secondary-color);
    color: var(--white);
}

.product-description {
    font-size: 11px;
    color: var(--gray);
    line-height: 1.4;
    margin-bottom: 10px;
    min-height: 26px;
}

.product-applications {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 8px;
}

.product-applications span {
    font-size: 10px;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 4px 6px;
    background: var(--light-color);
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.product-applications span i {
    color: var(--primary-color);
    font-size: 9px;
    transition: all 0.3s ease;
}

.product-card:hover .product-applications span {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    color: var(--white);
}

.product-card:hover .product-applications span i {
    color: var(--secondary-color);
    transform: scale(1.2);
}

.products-footer {
    text-align: center;
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.products-footer p {
    font-size: 16px;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.products-footer p i {
    color: var(--primary-color);
    font-size: 20px;
}

.products-footer .btn {
    margin: 0;
}

/* Products CE note and standards list */
.products-footer .products-ce {
    font-weight: 600;
    color: var(--dark-color);
}

.products-footer .products-standards {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
    text-align: left;
    max-width: 1000px;
}

.products-footer .products-standards li {
    background: var(--light-color);
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--dark-color);
    font-size: 15px;
    line-height: 1.5;
}

.products-footer .products-standards li strong {
    color: var(--primary-color);
}

/* Stats Section */
.stats {
    background: var(--white);
    padding: 40px 0;
    margin-top: -40px;
}

.section-title i {
    color: var(--secondary-color);
    margin-right: 10px;
}

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

.stat-card {
    text-align: center;
    padding: 30px;
}

.stat-icon {
    font-size: 60px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.stat-icon i {
    transition: transform 0.3s ease;
}

.stat-card:hover .stat-icon i {
    transform: scale(1.15) rotate(5deg);
}

.stat-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.stat-card p {
    font-size: 15px;
    color: var(--gray);
}

/* Projects Section */
.projects {
    background: var(--light-color);
}

.projects-intro {
    max-width: 900px;
    margin: 0 auto 40px;
    text-align: center;
}

.projects-intro p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
    color: var(--gray);
}

/* Project Video */
.project-video-container {
    margin: 0 0 50px 0;
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.project-video {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.project-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.project-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
    color: var(--white);
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.project-icon {
    font-size: 48px;
    color: var(--secondary-color);
}

.project-icon i {
    transition: transform 0.3s ease;
}

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

.project-header h3 {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    flex: 1;
}

.project-content {
    padding: 30px;
}

.project-content p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--gray);
    margin-bottom: 20px;
}

.project-info {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.project-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: var(--light-color);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-color);
}

.project-badge i {
    color: var(--primary-color);
}

/* Project Card Full Width */
.project-card-full {
    grid-column: 1 / -1;
}

.project-details {
    background: var(--light-color);
    padding: 25px;
    border-radius: 8px;
    margin: 20px 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.project-detail-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.detail-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

.project-download {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px solid var(--light-color);
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.3);
}

.download-btn:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 102, 204, 0.4);
    color: var(--white);
}

.download-btn i {
    font-size: 18px;
}

.project-badge:last-child {
    background: var(--primary-color);
    color: var(--white);
}

.project-badge:last-child i {
    color: var(--secondary-color);
}

.projects-footer {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.funding-partners h4 {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
}

.partners-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.partner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.partner-item i {
    font-size: 40px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.partner-item span {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-color);
}

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

/* Partners Banner */
.partners-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.partners-image {
    max-width: 100%;
    height: auto;
    max-height: 120px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.partner-item:hover i {
    color: var(--secondary-color);
    transform: scale(1.15);
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
    color: var(--white);
}

.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-header h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.contact-header p {
    font-size: 18px;
    font-weight: 300;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: start;
}

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

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-icon {
    font-size: 40px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.contact-icon i {
    transition: transform 0.3s ease;
}

.contact-item:hover .contact-icon i {
    transform: scale(1.1);
}

.contact-item h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

.contact-item p {
    font-size: 14px;
    opacity: 0.9;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group input,
.form-group textarea {
    padding: 15px;
    border: 2px solid var(--light-gray);
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
}

.checkbox-group label {
    font-size: 14px;
    color: var(--dark-color);
}

.checkbox-group label a {
    color: var(--primary-color);
    text-decoration: underline;
}

.form-message {
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-message.success {
    background: #27ae60;
    color: var(--white);
    display: block;
}

.form-message.error {
    background: #e74c3c;
    color: var(--white);
    display: block;
}

/* Contact Map */
.contact-map {
    width: 100%;
    margin-top: 50px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.contact-map iframe {
    width: 100%;
    height: 450px;
    border: 0;
    display: block;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 30px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

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

.footer-logo-image {
    height: 70px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-logo-image:hover {
    opacity: 1;
}

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

.footer-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 12px;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-credit {
    font-size: 14px;
}

.footer-credit strong {
    color: var(--secondary-color);
}

.footer-credit a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-credit a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.footer-reclamacoes {
    display: flex;
    justify-content: center;
    align-items: center;
}

.reclamacoes-logo {
    height: 40px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.reclamacoes-logo:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 968px) {
    .container {
        padding: 0 20px;
    }
    
    .hamburger {
        display: flex;
    }

    .navbar-signatures {
        display: flex;
        flex: 0.6;
    }

    .signatures-image {
        height: 30px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        right: auto;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        align-items: center;
        justify-content: flex-start;
        gap: 0;
        margin: 0;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
        right: 0;
    }

    .nav-menu li {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .nav-menu a {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        width: 100%;
        padding: 16px 20px;
    }

    .video-title {
        font-size: 36px;
    }

    .video-subtitle {
        font-size: 16px;
    }

    .video-description {
        font-size: 16px;
    }

    .video-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .video-buttons .btn {
        min-width: 250px;
    }

    .logo-image {
        height: 50px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    /* Center about text on mobile */
    .about-main { 
        text-align: center;
        padding: 0;
        margin: 0;
    }
    
    .about-main p { 
        text-align: center;
        padding: 0;
        margin-left: 0;
        margin-right: 0;
    }
    
    .about-details {
        padding: 0;
        margin: 0;
    }
    
    .about-card {
        text-align: center;
        margin-left: 0;
        margin-right: 0;
    }
    
    .about-card h5 {
        justify-content: center;
    }
    
    .about-card p {
        text-align: center;
    }

    .values-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px 15px;
    }

    .values-list li {
        padding: 12px 8px;
        font-size: 14px;
        min-height: 55px;
    }

    .values-list li i {
        font-size: 18px;
        margin-bottom: 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 18px;
        margin-bottom: 30px;
        max-width: 100%;
    }

    .product-card {
        padding: 18px 15px;
    }

    .product-icon-wrapper {
        width: 45px;
        height: 45px;
    }

    .product-icon-wrapper i {
        font-size: 22px;
    }

    .product-card h3 {
        font-size: 16px;
    }

    .products-intro {
        font-size: 16px;
        margin: -20px auto 30px;
    }

    .products-footer {
        padding: 25px;
        max-width: 100%;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-details {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 20px;
    }

    .partners-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .partners-image {
        max-height: 100px;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .contact-map iframe {
        height: 400px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-logo-image {
        height: 56px;
    }
}

@media (max-width: 600px) {
    .navbar-signatures {
        flex: 0.35;
    }

    .signatures-image {
        height: 22px;
        min-height: 22px;
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
        filter: contrast(1.1) brightness(1.05);
    }

    .navbar .container {
        gap: 15px;
        padding: 0 15px;
    }
}

/* iPhone e dispositivos muito pequenos */
@media (max-width: 480px) {
    .navbar-signatures {
        flex: 0.4;
    }

    .signatures-image {
        height: 24px;
        min-height: 24px;
        max-width: none;
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
        filter: contrast(1.15) brightness(1.08);
    }

    .navbar .container {
        gap: 8px;
        padding: 0 10px;
    }
    
    .nav-menu {
        width: 100%;
        padding: 15px 0;
    }
    
    .nav-menu li {
        width: 100%;
        padding: 0;
        margin: 0;
    }
    
    .nav-menu a {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 14px 15px;
    }
}

/* Telas de alta densidade (iPhone Retina, etc.) */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .signatures-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

@media (max-width: 480px) and (-webkit-min-device-pixel-ratio: 2) {
    .signatures-image {
        height: 26px;
        min-height: 26px;
        filter: contrast(1.2) brightness(1.1);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .video-hero-section {
        height: 70vh;
    }

    .video-content {
        padding: 0 30px;
        max-width: 100%;
    }

    @keyframes videoContentMove {
        0% {
            opacity: 0;
            left: 0;
            transform: translateY(-50%);
            text-align: left;
            padding: 0 30px;
        }
        10% {
            opacity: 1;
            left: 0;
            transform: translateY(-50%);
            text-align: left;
            padding: 0 30px;
        }
        80% {
            opacity: 1;
            left: 0;
            transform: translateY(-50%);
            text-align: left;
            padding: 0 30px;
        }
        100% {
            opacity: 1;
            left: 50%;
            transform: translate(-50%, -50%);
            text-align: center;
            padding: 0 20px;
        }
    }

    .video-subtitle {
        font-size: 14px;
        letter-spacing: 2px;
    }

    .video-title {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .video-description {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .video-buttons .btn {
        min-width: 200px;
        padding: 12px 25px;
        font-size: 14px;
    }

    .section-title {
        font-size: 28px;
    }

    .company-banner h1 {
        font-size: 24px;
    }

    .logo-image {
        height: 40px;
    }

    .products-grid {
        grid-template-columns: 1fr !important;
        gap: 18px;
        margin-bottom: 30px;
        max-width: 100%;
    }

    .product-card {
        padding: 30px 20px;
    }

    .product-icon-wrapper {
        width: 70px;
        height: 70px;
    }

    .product-icon-wrapper i {
        font-size: 32px;
    }

    .product-card h3 {
        font-size: 20px;
    }

    .product-description {
        font-size: 14px;
        min-height: auto;
    }

    .product-applications span {
        font-size: 13px;
        padding: 8px 10px;
    }

    .products-intro {
        font-size: 15px;
        margin: -20px auto 30px;
        padding: 0 10px;
    }

    .products-footer {
        padding: 25px 20px;
        gap: 20px;
    }

    .products-footer p {
        font-size: 14px;
        flex-direction: column;
        text-align: center;
    }

    .values-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px 10px;
    }

    .values-list li {
        padding: 10px 8px;
        font-size: 13px;
        gap: 8px;
        min-height: 45px;
        font-weight: 500;
    }

    .values-list li i {
        font-size: 16px;
        min-width: 20px;
        margin-bottom: 0;
    }

    .about-card {
        padding: 20px 15px;
        text-align: center;
        margin: 0;
    }
    
    .about-card h5 {
        justify-content: center;
        text-align: center;
    }
    
    .about-card p {
        text-align: center;
        padding: 0;
        margin-left: 0;
        margin-right: 0;
    }
    
    .about-main {
        text-align: center;
        padding: 0;
    }
    
    .about-main p {
        text-align: center;
        padding: 0;
        margin-left: 0;
        margin-right: 0;
    }

    .project-header h3 {
        font-size: 18px;
    }

    .detail-label {
        font-size: 11px;
    }

    .detail-value {
        font-size: 16px;
    }

    .download-btn {
        padding: 12px 25px;
        font-size: 14px;
    }

    .download-btn i {
        font-size: 16px;
    }

    .contact-header h2 {
        font-size: 32px;
    }

    .contact-form-wrapper {
        padding: 25px;
    }

    .partners-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .partners-image {
        max-height: 80px;
    }

    .project-header {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo-image {
        height: 48px;
    }

    .contact-map {
        margin-top: 30px;
    }

    .contact-map iframe {
        height: 300px;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Tablet Landscape - Medium Screens */
@media (min-width: 769px) and (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 16px;
        max-width: 100%;
    }

    .product-card {
        padding: 16px 12px;
    }

    .product-card h3 {
        font-size: 15px;
    }

    .product-description {
        font-size: 11px;
    }
    
    .products-footer {
        max-width: 100%;
    }
}

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

/* Optimização para Full HD (1920x1080) */
@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
    }

    body {
        font-size: 18px;
    }

    .section-title {
        font-size: 3rem;
    }

    .signatures-image {
        height: 40px;
    }

    .hero h1 {
        font-size: 4rem;
    }

    .hero p {
        font-size: 1.5rem;
    }

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

    .video-subtitle {
        font-size: 1.5rem;
    }

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

    .about-main h3 {
        font-size: 2.5rem;
    }

    .about-main p {
        font-size: 1.2rem;
    }

    .service-card h3,
    .product-card h3 {
        font-size: 1.8rem;
    }

    .service-card p,
    .product-card p {
        font-size: 1.1rem;
    }

    .stats-grid {
        gap: 50px;
    }

    .stat-number {
        font-size: 3.5rem;
    }

    .stat-label {
        font-size: 1.2rem;
    }

    .project-card h3 {
        font-size: 1.8rem;
    }

    .project-card p {
        font-size: 1.1rem;
    }

    .contact-info h3 {
        font-size: 2rem;
    }

    .contact-info p,
    .contact-info a {
        font-size: 1.1rem;
    }

    .logo-image {
        height: 70px;
    }

    .nav-menu a {
        font-size: 16px;
        font-weight: 700;
        letter-spacing: 0.5px;
    }

    .btn {
        font-size: 1.1rem;
        padding: 15px 40px;
    }

    .services-grid,
    .products-grid,
    .projects-grid {
        gap: 40px;
    }

    .about-cards {
        gap: 40px;
    }

    .about-card {
        padding: 40px;
    }

    .service-card,
    .product-card,
    .project-card {
        padding: 40px;
    }

    .contact-map iframe {
        height: 500px;
    }

    .partners-image {
        max-height: 140px;
    }
}

/* Desktop override to ensure 4 columns on large screens */
@media (min-width: 969px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        max-width: 1100px;
        margin-left: auto;
        margin-right: auto;
    }
}

