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

:root {
    --color-primary: #241D5E; /* Azul escuro da marca */
    --color-secondary: #8C8C8C; /* Cinza do texto 'Master' */
    --color-accent: #6E6E6E; /* Cinza médio do símbolo */
    --color-light: #FFFFFF; /* Fundo branco */
    --color-dark: #000000; /* Preto para textos */
    
    /* Cores complementares */
    --text-dark: #1A1A1A;
    --text-light: #6E6E6E;
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    --border-color: #E5E5E5;

    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.2);
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #f8f8f8;
    max-width: 1920px;
    margin: 0 auto;
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #0d1b4c 0%, #1a0f4a 100%);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #1a0f4a 0%, #0d1b4c 100%);
}

html {
    scrollbar-width: thin;
    scrollbar-color: #0d1b4c #f1f1f1;
}

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

.main-header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 15px 0;
}

.navbar-container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

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

.logo-wrapper {
    flex-shrink: 0;
}

.logo {
    height: 60px;
    width: auto;
    display: block;
}

.nav-menu {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
}

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

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 0;
    transition: color 0.3s;
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    list-style: none;
    padding: 10px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark);
    text-decoration: none;
    transition: background 0.3s;
}

.dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--color-primary);
}

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

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: all 0.3s;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 90px;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    z-index: 999;
}

.mobile-nav-list {
    list-style: none;
    padding: 20px;
}

.mobile-nav-list li {
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-list a {
    display: block;
    padding: 15px 0;
    color: var(--text-dark);
    text-decoration: none;
}

.hero-section {
    position: relative;
    background: linear-gradient(135deg, var(--color-primary) 0%, #3A2F7D 100%);
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(13, 27, 76, 0.9) 0%, rgba(13, 27, 76, 0.4) 40%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    padding: 60px 0;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
    cursor: pointer;
    border: 2px solid transparent;
}

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

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

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

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

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

.btn-outline {
    background: transparent;
    color: white;
    border-color: white;
}

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

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
}

.about-section {
    padding: 80px 0;
    background: #ffffff;
}

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

.about-content p {
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.8;
}

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

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

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
    text-transform: none;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

.services-section {
    padding: 80px 0;
    background: #f8f8f8;
}

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

.service-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    color: var(--color-primary);
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-description {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

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

.capability-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.capability-card-link:hover {
    text-decoration: none;
}

.equipment-section {
    padding: 80px 0;
    background: #ffffff;
}

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

.feature-item {
    background: #f8f8f8;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.05);
}

.feature-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--color-primary);
}

.feature-item p {
    color: var(--text-light);
}

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

.cta-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, #3A2F7D 100%);
    padding: 80px 0;
    text-align: center;
}

.cta-content {
    color: white;
}

.cta-title {
    font-size: 36px;
    margin-bottom: 15px;
}

.cta-subtitle {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.main-footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    margin-bottom: 20px;
    color: white;
}

.footer-column p,
.footer-column ul {
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: rgba(255,255,255,0.6);
}

.footer-legal-links {
    margin-bottom: 15px;
}

.footer-legal-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
    padding: 0 5px;
}

.footer-legal-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-legal-links .separator {
    color: rgba(255,255,255,0.4);
    margin: 0 8px;
    font-size: 12px;
}

@media (max-width: 768px) {
    .footer-legal-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-legal-links .separator {
        display: none;
    }
    
    .footer-legal-links a {
        display: block;
        padding: 5px 0;
    }
}

.footer-logo {
    height: 60px;
    max-width: 100%;
    width: auto;
    margin-bottom: 20px;
    object-fit: contain;
}

.footer-certification {
    margin-top: 20px;
}

.certification-link {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.certification-link:hover {
    transform: scale(1.05);
}

.bureau-veritas-badge-footer {
    display: inline-block;
    background: white;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transform: scale(0.85);
    transform-origin: left;
}

.bv-badge-content-footer {
    display: flex;
    height: 50px;
}

.bv-red-section-footer {
    background: #DC143C;
    color: white;
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 100px;
}

.bv-iso-footer {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 1px;
}

.bv-bureau-footer {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.bv-cert-footer {
    font-size: 8px;
    opacity: 0.9;
}

.bv-logo-section-footer {
    background: white;
    padding: 6px 10px;
    display: flex;
    align-items: center;
}

.bv-circle-footer {
    width: 38px;
    height: 38px;
    border: 2px solid #DC143C;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bv-shield-footer {
    color: #DC143C;
    font-size: 12px;
    font-weight: 800;
}

.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, #0d1b4c 0%, #838280 50%, #0d1b4c 100%);
    z-index: 99999;
    transition: width 0.3s ease;
    box-shadow: 0 2px 10px rgba(13, 27, 76, 0.8);
}

.tech-resources-section {
    margin-top: 80px;
    padding: 60px 0;
    background: transparent;
    border-radius: 20px;
}

.tech-subtitle {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    text-align: center;
    max-width: 800px;
    margin: 15px auto 0 auto;
}

.tech-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.tech-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(13, 27, 76, 0.08);
    border: 1px solid rgba(13, 27, 76, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0d1b4c 0%, #1a0f4a 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.tech-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(13, 27, 76, 0.15);
}

.tech-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: linear-gradient(135deg, #0d1b4c 0%, #1a0f4a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.tech-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s;
    opacity: 0;
}

.tech-card:hover .tech-icon::before {
    opacity: 1;
    animation: shine 0.6s ease-out;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.tech-icon i {
    font-size: 28px;
    color: white;
    position: relative;
    z-index: 1;
}

.tech-content h4 {
    font-size: 20px;
    font-weight: 600;
    color: #0d1b4c;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.tech-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    z-index: 1000;
    cursor: pointer;
}

.whatsapp-icon {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0d1b4c;
    font-size: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.whatsapp-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover .whatsapp-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
    color: #25D366;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

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

.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0d1b4c 0%, #1a0f4a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(13, 27, 76, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(13, 27, 76, 0.5);
    background: linear-gradient(135deg, #1a0f4a 0%, #0d1b4c 100%);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .whatsapp-icon {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
    
    .whatsapp-pulse {
        width: 45px;
        height: 45px;
    }
    
    .back-to-top {
        bottom: 20px;
        left: 20px;
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
    
    .progress-bar {
        height: 2px;
    }
}

.lgpd-popup {
    position: fixed;
    bottom: 90px; /* Above back-to-top button */
    left: 30px;
    max-width: 300px;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
}

.lgpd-popup.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.lgpd-content {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.lgpd-icon {
    text-align: center;
    margin-bottom: 12px;
}

.lgpd-icon i {
    font-size: 28px;
    color: #0d1b4c;
    background: linear-gradient(135deg, rgba(13, 27, 76, 0.1) 0%, rgba(26, 15, 74, 0.1) 100%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.lgpd-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px 0;
    text-align: center;
}

.lgpd-content p {
    font-size: 13px;
    line-height: 1.5;
    color: #666;
    margin: 0 0 16px 0;
    text-align: center;
}

.lgpd-content a {
    color: #0d1b4c;
    font-weight: 600;
    text-decoration: none;
}

.lgpd-content a:hover {
    text-decoration: underline;
}

.lgpd-actions {
    display: flex;
    gap: 8px;
}

.lgpd-btn {
    flex: 1;
    padding: 10px 12px;
    border: none;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.lgpd-accept {
    background: linear-gradient(135deg, #0d1b4c 0%, #1a0f4a 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(13, 27, 76, 0.3);
}

.lgpd-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(13, 27, 76, 0.4);
    background: linear-gradient(135deg, #1a0f4a 0%, #0d1b4c 100%);
}

.lgpd-settings {
    background: rgba(13, 27, 76, 0.1);
    color: #0d1b4c;
    border: 1px solid rgba(13, 27, 76, 0.2);
}

.lgpd-settings:hover {
    background: rgba(13, 27, 76, 0.15);
    border-color: rgba(13, 27, 76, 0.3);
    transform: translateY(-1px);
}

.lgpd-btn i {
    font-size: 11px;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .lgpd-popup {
        bottom: 75px; /* Above back-to-top button on mobile */
        left: 20px;
        right: 20px;
        max-width: calc(100vw - 40px);
        width: auto;
    }
    
    .lgpd-content {
        padding: 18px;
    }
    
    .lgpd-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .lgpd-btn {
        padding: 12px;
        font-size: 13px;
    }
}

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

.lgpd-popup.visible .lgpd-content {
    animation: lgpdSlideUp 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.clients-section {
    padding: 0;
    background: linear-gradient(135deg, #0d1b4c 0%, #1a0f4a 100%);
    position: relative;
    overflow: hidden;
}

.clients-section::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(13, 27, 76, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    animation: float 20s ease-in-out infinite;
}

.clients-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(131, 130, 128, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.clients-section .section-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
}

.clients-section .section-header::before {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #0d1b4c, transparent);
}

.clients-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, 
        rgba(13, 27, 76, 0.1) 0%, 
        rgba(131, 130, 128, 0.06) 100%);
    color: #0d1b4c;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 32px;
    border: 1px solid rgba(13, 27, 76, 0.15);
    box-shadow: 0 4px 15px rgba(13, 27, 76, 0.08);
    transition: all 0.3s ease;
}

.clients-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13, 27, 76, 0.12);
}

.clients-badge i {
    font-size: 14px;
    opacity: 0.8;
}

.clients-section .section-title {
    font-size: 52px;
    color: #241d5e;
    margin-bottom: 24px;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: relative;
}

.clients-section .section-title span {
    color: #838280;
}

.clients-section .section-subtitle {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 300;
}

.clients-carousel {
    position: relative;
    width: 100%;
    padding: 30px 0;
    background: linear-gradient(135deg, #0d1b4c 0%, #1a0f4a 100%);
    overflow: hidden;
}

.clients-track {
    display: flex;
    animation: scroll-clients 25s linear infinite;
    width: fit-content;
}

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

.client-logo {
    flex: 0 0 200px;
    padding: 15px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s ease;
}

.client-logo::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 70%;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    border-radius: 2px;
}

.client-logo:last-child::after {
    display: none;
}

.client-logo::before {
    content: '';
    position: absolute;
    inset: 15px;
    background: transparent;
    border-radius: 20px;
    transition: all 0.4s ease;
    z-index: -1;
}

.client-logo:hover::before {
    background: transparent;
    box-shadow: none;
}

.client-logo img {
    max-width: 120px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.client-logo:hover img {
    filter: brightness(0) invert(1);
    opacity: 1;
    transform: scale(1.12);
}

.client-logo img[src*="midea-carrier"] {
    max-width: 180px;
    max-height: 90px;
}

.client-logo img[src*="trane"] {
    max-width: 180px;
    max-height: 90px;
}

@keyframes scroll-clients {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-200px * 5));
    }
}

.clients-carousel::before,
.clients-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 2;
    pointer-events: none;
}

.clients-carousel::before {
    left: 0;
    background: linear-gradient(to right, #0d1b4c 0%, rgba(13, 27, 76, 0.8) 50%, transparent 100%);
}

.clients-carousel::after {
    right: 0;
    background: linear-gradient(to left, #1a0f4a 0%, rgba(26, 15, 74, 0.8) 50%, transparent 100%);
}

.history-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.history-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(36, 29, 94, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.history-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: 50%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(131, 130, 128, 0.02) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.history-grid {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.history-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(36, 29, 94, 0.25);
    background: linear-gradient(135deg, #241D5E, #838280);
    aspect-ratio: 3/4;
    min-height: 500px;
    margin: 40px;
}

.history-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(100%);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.history-image:hover img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.history-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(36, 29, 94, 0.2) 0%, 
        transparent 100%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.history-image:hover .history-overlay {
    opacity: 1;
}

.history-content {
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.history-content .section-title {
    text-align: left;
    margin-bottom: 30px;
    font-size: 42px;
    color: var(--color-primary);
    position: relative;
    font-weight: 700;
}

.history-text {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 25px;
    text-align: justify;
}

.history-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 40px 0 35px;
    padding: 0;
    background: transparent;
    border: none;
}

.history-stat {
    text-align: center;
    padding: 20px 10px;
    background: white;
    border-radius: 15px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(36, 29, 94, 0.08);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.history-stat::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(36, 29, 94, 0.05) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.6s ease;
}

.history-stat:hover::before {
    transform: scale(1);
}

.history-stat:hover {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border-color: #838280;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(131, 130, 128, 0.2);
}

.history-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 12px;
    background: linear-gradient(135deg, #838280, #6E6E6E);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    position: relative;
}

.history-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(131, 130, 128, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.2;
    }
    50% {
        transform: scale(1.2);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 0.2;
    }
}

.history-icon i {
    font-size: 22px;
    color: white;
    z-index: 1;
    position: relative;
}

.history-stat:hover .history-icon {
    transform: rotateZ(10deg) scale(1.1);
    background: linear-gradient(135deg, var(--color-primary), #3A2F7D);
}

.history-stat:hover .history-icon::after {
    opacity: 1;
}

.history-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 5px;
    line-height: 1;
    position: relative;
    letter-spacing: -1px;
}

.history-number::after {
    content: attr(data-suffix);
    font-size: 0.5em;
    position: relative;
    top: -0.5em;
    margin-left: 2px;
}

.history-label {
    font-size: 12px;
    color: #6E6E6E;
    line-height: 1.5;
    display: block;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.history-content .btn {
    margin-top: 35px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--color-primary);
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 2px solid var(--color-primary);
    position: relative;
    overflow: hidden;
    max-width: 160px;
    justify-content: center;
}

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

.history-content .btn:hover::before {
    left: 0;
}

.history-content .btn:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(36, 29, 94, 0.3);
}

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

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

.sectors-section {
    padding: 0;
    background: #0d1b4c;
    position: relative;
    overflow: hidden;
}

.sectors-section .container {
    padding-top: 80px;
    padding-bottom: 80px;
}

.sectors-section .section-title,
.sectors-section .section-subtitle {
    color: white;
}

.sectors-nav {
    background: white;
    padding: 0;
    margin: 0;
    width: 100%;
    overflow: hidden;
    position: relative;
    z-index: 10;
    border-bottom: 1px solid #0d1b4c;
}

.sectors-nav-inner {
    display: flex;
    justify-content: center;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
}

.sector-nav-btn {
    background: transparent;
    border: none;
    padding: 20px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    flex: 1;
    max-width: 200px;
    justify-content: center;
    color: #0d1b4c;
    font-weight: 500;
}

.sector-nav-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #0d1b4c;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.sector-nav-btn.active {
    background: #0d1b4c;
    color: white;
}

.sector-nav-btn:hover:not(.active) {
    background: rgba(41,22,110,0.05);
}

.sector-nav-btn:hover::after {
    transform: scaleX(1);
}

.sector-nav-btn.active::after {
    display: none;
}

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

.sector-nav-btn span {
    font-size: 14px;
    text-transform: capitalize;
}

.sectors-slider {
    position: relative;
    width: 100%;
    height: 750px;
    margin-top: 0;
}

.sector-slide {
    display: none;
    position: relative;
    width: 100%;
    height: 100%;
}

.sector-slide.active {
    display: block;
    animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.sector-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(41,22,110,0.9) 0%, rgba(41,22,110,0.3) 60%, transparent 100%);
    z-index: 1;
}

.sector-content {
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    z-index: 2;
    color: white;
    max-width: 600px;
}

.sector-content h3 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: capitalize;
    position: relative;
}

.sector-content p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.95;
}

.sector-badges {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 12px 24px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.badge i {
    font-size: 18px;
    color: white;
}

.badge span {
    font-size: 14px;
    font-weight: 500;
    text-transform: capitalize;
}

.sector-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 25px;
    padding: 12px 24px;
    background: transparent;
    border: 2px solid white;
    border-radius: 25px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.sector-cta:hover {
    background: white;
    color: #0d1b4c;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.sector-cta i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.sector-cta:hover i {
    transform: translateX(3px);
}

.sectors-stats {
    margin-top: 0;
    padding: 50px 40px;
    background: linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(41,22,110,0.3) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 24px;
    margin: 0 40px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 50px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.stat-block {
    text-align: center;
    color: white;
    position: relative;
    padding: 20px;
    border-radius: 16px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    min-width: 160px;
}

.stat-block:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.08);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.stat-block i {
    font-size: 40px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 20px;
    display: block;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.stat-value {
    display: block;
    font-size: 48px;
    font-weight: 900;
    color: white;
    margin-bottom: 12px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
    line-height: 1;
}

.stat-label {
    font-size: 15px;
    color: rgba(255,255,255,0.9);
    text-transform: capitalize;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Responsive */
@media (max-width: 1024px) {
    .sectors-slider {
        height: 500px;
    }
    
    .sector-content {
        max-width: 500px;
    }
    
    .sector-content h3 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .sectors-nav {
        flex-wrap: wrap;
        border-radius: 20px;
    }
    
    .sector-nav-btn {
        padding: 12px 15px;
        flex: 0 1 auto;
    }
    
    .sector-nav-btn span {
        display: none;
    }
    
    .sectors-slider {
        height: 400px;
    }
    
    .sector-content {
        left: 20px;
        max-width: 90%;
    }
    
    .sector-content h3 {
        font-size: 28px;
    }
    
    .sector-content p {
        font-size: 16px;
    }
    
    .sectors-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .stat-value {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .sectors-slider {
        height: 350px;
    }
    
    .sector-badges {
        gap: 10px;
    }
    
    .badge {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .badge i {
        font-size: 14px;
    }
}

.video-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
}

.video-popup.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    cursor: pointer;
    animation: fadeIn 0.3s ease;
}

.video-popup-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    background: #1a1a1a;
    border-radius: 10px;
    padding: 60px 40px;
    animation: slideUp 0.3s ease;
    z-index: 1;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.video-popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 20px;
}

.video-popup-close:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    transform: rotate(90deg);
}

.video-placeholder {
    text-align: center;
    color: white;
    padding: 40px 20px;
}

.video-placeholder i {
    font-size: 80px;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 30px;
    display: block;
}

.video-placeholder h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: white;
    font-weight: 600;
}

.video-placeholder p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Responsive */
@media (max-width: 1024px) {
    .tech-masonry {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .history-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .history-image {
        height: 300px;
    }
    
    .history-content {
        padding: 60px 40px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-menu.active {
        display: block;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .equipment-features {
        grid-template-columns: 1fr;
    }
    
    .clients-section {
        padding: 40px 0;
    }
    
    .client-logo {
        flex: 0 0 150px;
        padding: 0 20px;
    }
    
    .client-logo img {
        max-width: 120px;
        max-height: 60px;
    }

    .client-logo img[src*="midea-carrier"] {
        max-width: 150px;
        max-height: 75px;
    }

    .client-logo img[src*="trane"] {
        max-width: 150px;
        max-height: 75px;
    }

    .video-popup-content {
        padding: 40px 20px;
    }
    
    .video-placeholder i {
        font-size: 60px;
    }
    
    .video-placeholder h2 {
        font-size: 24px;
    }
    
    .video-placeholder p {
        font-size: 16px;
    }

    .tech-resources-section {
        margin-top: 60px;
        padding: 40px 0;
        margin-left: -15px;
        margin-right: -15px;
        border-radius: 0;
    }
    
    .tech-masonry {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    
    .tech-card {
        padding: 25px;
        margin: 0 15px;
    }
    
    .tech-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .tech-icon i {
        font-size: 24px;
    }
    
    .tech-content h4 {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .tech-content p {
        font-size: 13px;
        line-height: 1.5;
    }
    
    .history-section {
        padding: 60px 0;
    }
    
    .history-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .history-image {
        aspect-ratio: 16/9;
    }
    
    .history-content {
        padding: 0;
    }
    
    .history-content .section-title {
        font-size: 32px;
        text-align: center;
    }
    
    .history-content .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .history-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .history-stat {
        padding: 20px 15px;
    }
    
    .history-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 12px;
    }
    
    .history-icon i {
        font-size: 16px;
    }
    
    .history-number {
        font-size: 32px;
    }
    
    .history-label {
        font-size: 12px;
    }
    
    .history-content .btn {
        display: inline-flex;
        width: auto;
    }
}

.tour-content {
    padding: 20px;
}

.tour-content h2 {
    color: #0d1b4c;
    font-size: 2rem;
    margin-bottom: 25px;
    text-align: center;
}

.tour-content h2 i {
    margin-right: 10px;
    color: #f8b902;
}

.tour-instructions {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
}

.instruction-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #0d1b4c;
    font-weight: 600;
}

.instruction-badge i {
    color: #f8b902;
    font-size: 1.2rem;
}

.instruction-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.instruction-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.instruction-item:hover {
    border-color: #f8b902;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.instruction-item.recommended {
    border-color: #f8b902;
    background: linear-gradient(135deg, #fffdf5 0%, #fff9e6 100%);
}

.instruction-item i {
    font-size: 1.5rem;
    color: #0d1b4c;
    min-width: 30px;
    text-align: center;
}

.instruction-item strong {
    color: #0d1b4c;
    display: block;
    margin-bottom: 4px;
}

.instruction-item p {
    margin: 0;
    font-size: 0.85rem;
    color: #6c757d;
}

.tour-video-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    margin-bottom: 20px;
    background: #000;
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
}

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

.tour-tips {
    background: #e6f3ff;
    padding: 15px 20px;
    border-radius: 8px;
    border-left: 4px solid #0d1b4c;
}

.tour-tips p {
    margin: 0;
    color: #495057;
}

.tour-tips i {
    color: #f8b902;
    margin-right: 8px;
}

.tour-tips strong {
    color: #0d1b4c;
}

.tour-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.tour-popup.active {
    display: flex;
}

.tour-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.tour-popup-content {
    position: relative;
    max-width: 90vw;
    width: 1400px;
    max-height: 90vh;
    background: white;
    border-radius: 20px;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    animation: popupSlideIn 0.3s ease;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.tour-popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.tour-popup-close:hover {
    background: white;
    transform: rotate(90deg);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.tour-popup-close i {
    color: #0d1b4c;
    font-size: 1.2rem;
}

body.popup-blur > *:not(.tour-popup):not(.video-popup) {
    filter: blur(4px);
    transition: filter 0.3s ease;
}

@media (max-width: 768px) {
    .tour-popup-content {
        max-width: 95vw;
        max-height: 95vh;
        margin: 10px;
        border-radius: 15px;
    }
    
    .tour-content {
        padding: 15px;
    }
    
    .tour-content h2 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .instruction-options {
        grid-template-columns: 1fr;
    }
    
    .tour-video-container {
        padding-bottom: 56.25%; /* Mantém 16:9 */
    }
    
    .tour-popup-close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
    }
    
    .tour-instructions {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .tour-video-container {
        padding-bottom: 56.25%; /* Mantém 16:9 */
    }
    
    .instruction-item {
        padding: 10px;
    }
    
    .tour-tips {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
}