/* =============================================
   CAPUTO ENGENHARIA - ULTRA MODERN STYLES
   VERSÃO ATUALIZADA E MELHORADA
   ============================================= */

/* Variables */
:root {
    --primary: #fb3430;
    --primary-dark: #d42925;
    --primary-light: #ff5854;
    --black: #000000;
    --white: #ffffff;
    --gray-light: #f8f9fa;
    --gray: #6c757d;
    --dark: #212529;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #fb3430 0%, #ff5854 100%);
    --gradient-dark: linear-gradient(135deg, #000000 0%, #212529 100%);
    --gradient-hero: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #000000 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.15);
    --shadow-2xl: 0 25px 50px rgba(0,0,0,0.25);
    --shadow-glow: 0 0 40px rgba(251, 52, 48, 0.3);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--white);
    color: var(--dark);
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    padding-left: 15px;
    padding-right: 15px;
}

@media (max-width: 576px) {
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* Scroll Progress */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(0,0,0,0.1);
    z-index: 9999;
}

.scroll-progress-bar {
    height: 100%;
    background: var(--gradient-primary);
    width: 0%;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(251, 52, 48, 0.5);
}

/* WhatsApp Ultra Button */
.whatsapp-ultra {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--white);
    padding: 15px 20px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
    overflow: hidden;
}

.whatsapp-ultra::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    animation: shine 3s infinite;
}

@keyframes shine {
    0%, 100% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.whatsapp-ultra:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.6);
    padding-right: 120px;
}

.whatsapp-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #25D366;
    border-radius: 50px;
    animation: pulse-whatsapp 2s infinite;
}

@keyframes pulse-whatsapp {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

.whatsapp-icon {
    font-size: 24px;
    margin-right: 10px;
    z-index: 1;
}

.whatsapp-text {
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1;
}

.whatsapp-ultra:hover .whatsapp-text {
    opacity: 1;
}

/* Navbar Ultra Modern */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    padding: 1rem 0;
    z-index: 9998;
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.navbar-logo {
    height: 50px;
    transition: var(--transition);
}

.navbar-logo:hover {
    transform: scale(1.05);
}

.nav-link {
    color: var(--dark) !important;
    font-weight: 500;
    margin: 0 15px;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: var(--transition);
    border-radius: 3px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.navbar-toggler {
    border: none;
    padding: 0;
    background: transparent;
}

.hamburger {
    width: 30px;
    height: 20px;
    position: relative;
}

.hamburger span {
    position: absolute;
    width: 100%;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger span:nth-child(3) { bottom: 0; }

.navbar-toggler[aria-expanded="true"] .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.navbar-toggler[aria-expanded="true"] .hamburger span:nth-child(2) {
    opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.navbar-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn-call {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary) !important;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-call:hover {
    background: var(--primary);
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(251, 52, 48, 0.3);
}

.btn-cta {
    background: var(--primary);
    color: var(--white) !important;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(251, 52, 48, 0.4);
}

/* Hero Section Ultra */
.hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    overflow: hidden;
    isolation: isolate;
    margin-bottom: 0;
    padding-top: 100px; /* Espaço para navbar fixa */
}

@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding-bottom: 40px;
        padding-top: 80px;
    }
    
    .hero-content {
        padding: 60px 0 40px 0;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding-bottom: 20px;
        padding-top: 70px;
    }
    
    .hero-content {
        padding: 40px 0 30px 0;
    }
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.hero-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(251, 52, 48, 0.2) 0%, transparent 50%);
}

/* Animated Shapes Background */
.animated-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(251, 52, 48, 0.1) 0%, transparent 70%);
    animation: float-shape 20s infinite ease-in-out;
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: -150px;
    left: -150px;
    animation-delay: 7s;
}

.shape-3 {
    width: 250px;
    height: 250px;
    top: 50%;
    left: 50%;
    animation-delay: 14s;
}

@keyframes float-shape {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -50px) scale(1.1); }
    66% { transform: translate(-50px, 50px) scale(0.9); }
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 120px 0 80px 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(251, 52, 48, 0.1);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(251, 52, 48, 0.2);
    backdrop-filter: blur(10px);
    font-size: 0.9rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--white);
}

.title-line {
    display: block;
    font-size: 3rem;
    color: var(--primary);
    text-shadow: 0 0 30px rgba(251, 52, 48, 0.5);
}

.title-highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.feature-item i {
    color: var(--primary);
    font-size: 1.2rem;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.btn-hero-primary {
    background: var(--primary);
    color: var(--white);
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-hero-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.btn-hero-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-hero-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(251, 52, 48, 0.4);
    color: var(--white);
}

.btn-hero-secondary {
    background: transparent;
    color: var(--white);
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    text-decoration: none;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    transform: translateY(-3px);
    color: var(--white);
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
    text-shadow: 0 0 20px rgba(251, 52, 48, 0.5);
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Hero Video Container */
.hero-video-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .hero-video-container {
        margin-top: 30px;
    }
}

@media (max-width: 576px) {
    .hero-video-container {
        margin-top: 20px;
    }
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 540px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.hero-video {
    width: 100%;
    height: auto;
    display: block;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(251, 52, 48, 0.1) 0%, transparent 100%);
    pointer-events: none;
}

.video-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.frame-corner {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 3px solid var(--primary);
}

.frame-corner.tl {
    top: 10px;
    left: 10px;
    border-right: none;
    border-bottom: none;
}

.frame-corner.tr {
    top: 10px;
    right: 10px;
    border-left: none;
    border-bottom: none;
}

.frame-corner.bl {
    bottom: 10px;
    left: 10px;
    border-right: none;
    border-top: none;
}

.frame-corner.br {
    bottom: 10px;
    right: 10px;
    border-left: none;
    border-top: none;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.float-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    animation: orbit 15s linear infinite;
}

.float-element i {
    font-size: 1.5rem;
    color: var(--primary);
}

.element-1 {
    top: 10%;
    animation-delay: 0s;
}

.element-2 {
    top: 40%;
    animation-delay: 5s;
}

.element-3 {
    top: 70%;
    animation-delay: 10s;
}

@keyframes orbit {
    0% { transform: rotate(0deg) translateX(150px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(150px) rotate(-360deg); }
}

/* Hero Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    animation: bounce 2s infinite;
}

.scroll-mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 25px;
    margin: 0 auto 10px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 10px;
    background: var(--primary);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.5s infinite;
}

@keyframes scroll-wheel {
    0% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(15px); opacity: 0; }
}

/* Section Styles */
.section-header {
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: rgba(251, 52, 48, 0.1);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--dark);
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.section-description {
    color: var(--gray);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background: var(--gray-light);
    position: relative;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    padding: 35px;
    position: relative;
    transition: var(--transition);
    overflow: hidden;
}

.service-glow {
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(251, 52, 48, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s;
}

.service-card:hover .service-glow {
    opacity: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.service-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(251, 52, 48, 0.1);
}

.service-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(251, 52, 48, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 25px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
    color: var(--white);
    transform: rotate(5deg) scale(1.1);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark);
}

.service-description {
    color: var(--gray);
    margin-bottom: 25px;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.service-features li {
    padding: 8px 0;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features i {
    color: var(--primary);
    font-size: 1.2rem;
}

.service-hover {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--primary);
    font-weight: 600;
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition);
}

.service-card:hover .service-hover {
    opacity: 1;
    transform: translateX(0);
}

.services-cta {
    margin-top: 60px;
}

.cta-text {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 30px;
}

.cta-text i {
    color: var(--primary);
    margin-right: 10px;
}

/* Button Styles */
.btn-lg-primary {
    background: var(--primary);
    color: var(--white);
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-lg-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(251, 52, 48, 0.4);
    color: var(--white);
}

/* Engineering Section */
.engineering-section {
    padding: 100px 0;
    background: var(--white);
    position: relative;
    z-index: 1;
}

.engineering-areas {
    margin-top: 40px;
}

.area-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
    transition: var(--transition);
    border: 2px solid transparent;
}

.area-item:hover {
    background: linear-gradient(135deg, rgba(251, 52, 48, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    transform: translateX(10px);
    border-color: rgba(251, 52, 48, 0.2);
}

.area-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.area-info h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 5px;
}

.area-info p {
    color: var(--gray);
    margin: 0;
}

/* Engineering Visual */
.engineering-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 500px;
}

.visual-container {
    position: relative;
    width: 400px;
    height: 400px;
}

.rotating-element {
    position: relative;
    width: 100%;
    height: 100%;
}

.orbit {
    position: absolute;
    border: 2px dashed rgba(251, 52, 48, 0.2);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.orbit-1 {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.orbit-2 {
    width: 75%;
    height: 75%;
    top: 12.5%;
    left: 12.5%;
    animation-duration: 15s;
    animation-direction: reverse;
}

.orbit-3 {
    width: 50%;
    height: 50%;
    top: 25%;
    left: 25%;
    animation-duration: 10s;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.orbit-item {
    position: absolute;
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
}

.orbit-item i {
    color: var(--primary);
    font-size: 1.5rem;
}

.center-element {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.center-logo {
    width: 100px;
}

.stats-cards {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
}

.stat-card {
    background: var(--white);
    padding: 20px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    border: 2px solid rgba(251, 52, 48, 0.1);
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

/* Team Section */
.team-section {
    padding: 100px 0;
    background: var(--gray-light);
    position: relative;
    z-index: 1;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: var(--gradient-primary);
    transform: rotate(45deg);
    opacity: 0;
    transition: var(--transition);
}

.team-card:hover::before {
    opacity: 0.1;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.team-icon {
    width: 80px;
    height: 80px;
    background: rgba(251, 52, 48, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--primary);
    transition: var(--transition);
}

.team-card:hover .team-icon {
    background: var(--gradient-primary);
    color: var(--white);
    transform: rotate(360deg);
}

.team-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.team-card p {
    color: var(--gray);
    margin: 0;
}

/* Why Section */
.why-section {
    padding: 100px 0;
    background: var(--white);
    position: relative;
    z-index: 1;
}

.benefits-list {
    margin-top: 40px;
}

.benefit-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 15px;
    transition: var(--transition);
}

.benefit-item:hover {
    background: var(--gray-light);
    transform: translateX(10px);
}

.benefit-icon {
    flex-shrink: 0;
}

.benefit-icon i {
    font-size: 2rem;
    color: var(--primary);
}

.benefit-text h5 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 5px;
}

.benefit-text p {
    color: var(--gray);
    margin: 0;
}

.why-cta {
    margin-top: 40px;
}

/* Why Visual */
.why-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.circle-progress {
    position: relative;
    width: 140px;
    height: 140px;
}

.circle-progress svg {
    width: 140px;
    height: 140px;
    transform: rotate(-90deg);
}

.circle-progress circle {
    fill: none;
    stroke-width: 8;
    stroke: var(--gray-light);
}

.circle-progress circle.progress {
    stroke: var(--primary);
    stroke-dasharray: 377;
    stroke-dashoffset: 377;
    animation: progress 2s ease-out forwards;
}

@keyframes progress {
    to {
        stroke-dashoffset: calc(377 - (377 * var(--progress)) / 100);
    }
}

.circle-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.percentage {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.label {
    font-size: 0.9rem;
    color: var(--gray);
}

.achievement-badge {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 20px 30px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(251, 52, 48, 0.3);
}

.achievement-badge i {
    font-size: 2rem;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
    z-index: 0;
}

.cta-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 35px,
        rgba(251, 52, 48, 0.05) 35px,
        rgba(251, 52, 48, 0.05) 70px
    );
}

.cta-gradient-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.3) 100%);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-title span {
    color: var(--primary);
    text-shadow: 0 0 30px rgba(251, 52, 48, 0.5);
}

.cta-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-cta-white {
    background: var(--white);
    color: var(--primary);
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.btn-cta-white:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(251, 52, 48, 0.4);
}

.btn-cta-outline {
    background: transparent;
    color: var(--white);
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid var(--white);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.btn-cta-outline:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: var(--gray-light);
    position: relative;
    z-index: 1;
}

.contact-form-container {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 12px 20px;
    padding-right: 45px;
    border: 2px solid var(--gray-light);
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(251, 52, 48, 0.1);
}

.field-icon {
    position: absolute;
    right: 20px;
    top: 42px;
    color: var(--gray);
    pointer-events: none;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.btn-form-submit {
    width: 100%;
    padding: 15px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-form-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(251, 52, 48, 0.4);
}

/* Contact Info */
.contact-info {
    margin-top: 60px;
}

.info-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: rgba(251, 52, 48, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.info-card:hover .info-icon {
    background: var(--gradient-primary);
    color: var(--white);
    transform: rotate(360deg);
}

.info-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.info-card p,
.info-card a {
    color: var(--gray);
    text-decoration: none;
    transition: var(--transition);
}

.info-card a:hover {
    color: var(--primary);
}

/* Map Container */
.map-container {
    margin-top: 60px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
}

.map-overlay {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 1;
}

.map-card {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.map-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.map-card p {
    color: var(--gray);
    margin-bottom: 15px;
}

.btn-map {
    background: var(--primary);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-map:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding-top: 80px;
}

.footer-top {
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    height: 60px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
    color: var(--white);
}

.footer-widget h5 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--white);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--primary);
}

.footer-bottom {
    padding: 30px 0;
}

.copyright {
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.developer {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.5);
}

.developer-link {
    display: inline-flex;
    align-items: center;
}

.developer-logo {
    height: 30px;
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

.developer-link:hover .developer-logo {
    filter: none;
}

/* Scroll to Top */
.scroll-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(251, 52, 48, 0.3);
    transition: var(--transition);
    z-index: 1000;
}

.scroll-top.show {
    display: flex;
}

.scroll-top:hover {
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 15px 35px rgba(251, 52, 48, 0.5);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--gray-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Selection */
::selection {
    background: var(--primary);
    color: var(--white);
}

::-moz-selection {
    background: var(--primary);
    color: var(--white);
}

/* Responsive */
@media (max-width: 991px) {
    .navbar-actions {
        margin-top: 20px;
        width: 100%;
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .title-line {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions a {
        width: 100%;
        padding: 12px 25px;
        font-size: 0.95rem;
    }
    
    .float-element {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-actions a {
        width: 100%;
        max-width: 280px;
        padding: 12px 25px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .title-line {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .hero-stats {
        justify-content: space-around;
        width: 100%;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .service-card {
        padding: 25px;
    }
    
    .service-title {
        font-size: 1.2rem;
    }
    
    .service-description {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .service-features {
        margin-bottom: 15px;
    }
    
    .service-features li {
        padding: 5px 0;
        font-size: 0.85rem;
    }
    
    .engineering-visual {
        margin-top: 40px;
    }
    
    .visual-container {
        width: 250px;
        height: 250px;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .team-card {
        padding: 25px;
    }
    
    .team-card h4 {
        font-size: 1rem;
    }
    
    .team-card p {
        font-size: 0.85rem;
    }
    
    .visual-stats {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .cta-subtitle {
        font-size: 1rem;
    }
    
    .contact-form-container {
        padding: 25px;
    }
    
    .map-overlay {
        position: static;
        margin-bottom: 20px;
    }
    
    .footer-bottom .row {
        text-align: center;
    }
    
    .developer {
        justify-content: center;
        margin-top: 15px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .btn-lg-primary,
    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
    
    .benefit-item {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .benefit-text h5 {
        font-size: 1rem;
    }
    
    .benefit-text p {
        font-size: 0.85rem;
    }
    
    .area-item {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .area-info h4 {
        font-size: 1rem;
    }
    
    .area-info p {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 60px 0 40px;
        min-height: auto;
    }
    
    .hero-content {
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .title-line {
        font-size: 1.2rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 25px;
    }
    
    .feature-item {
        font-size: 0.85rem;
    }
    
    .hero-actions {
        margin-bottom: 30px;
    }
    
    .hero-actions a {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .stat-item {
        flex: 1;
    }
    
    .stat-number {
        font-size: 1.2rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .section-badge {
        font-size: 0.75rem;
        padding: 5px 15px;
        margin-bottom: 15px;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .service-title {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .service-description {
        font-size: 0.85rem;
        margin-bottom: 10px;
    }
    
    .service-features li {
        font-size: 0.8rem;
    }
    
    .area-item {
        flex-direction: column;
        text-align: center;
    }
    
    .area-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .benefit-item {
        flex-direction: column;
        text-align: center;
    }
    
    .benefit-icon i {
        font-size: 1.5rem;
    }
    
    .cta-title {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    .cta-subtitle {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }
    
    .cta-actions a {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .contact-form-container {
        padding: 20px;
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
    
    .form-control {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .btn-form-submit {
        padding: 12px;
        font-size: 1rem;
    }
    
    .info-card {
        padding: 20px;
    }
    
    .info-card h4 {
        font-size: 1rem;
    }
    
    .info-card p,
    .info-card a {
        font-size: 0.85rem;
    }
    
    .footer-widget h5 {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .footer-links a {
        font-size: 0.85rem;
    }
    
    .footer-contact p {
        font-size: 0.85rem;
    }
    
    .copyright {
        font-size: 0.8rem;
    }
    
    section {
        padding: 40px 0;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    .whatsapp-ultra {
        bottom: 20px;
        right: 20px;
        padding: 12px 15px;
    }
    
    .whatsapp-icon {
        font-size: 20px;
    }
    
    .scroll-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        left: 20px;
        font-size: 1rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .team-card {
        padding: 20px;
    }
    
    .team-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .video-wrapper {
        max-width: 100%;
        margin-top: 30px;
    }
    
    .navbar-logo {
        height: 40px;
    }
    
    .nav-link {
        font-size: 0.9rem;
        margin: 0 10px;
    }
    
    .btn-call,
    .btn-cta {
        padding: 8px 15px;
        font-size: 0.85rem;
    }
    
    .stats-cards {
        flex-direction: column;
        gap: 15px;
    }
    
    .stat-card {
        padding: 15px 20px;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
    
    .achievement-badge {
        padding: 15px 20px;
        font-size: 0.9rem;
    }
    
    .achievement-badge i {
        font-size: 1.5rem;
    }
    
    .circle-progress {
        width: 100px;
        height: 100px;
    }
    
    .circle-progress svg {
        width: 100px;
        height: 100px;
    }
    
    .percentage {
        font-size: 1.5rem;
    }
    
    .label {
        font-size: 0.75rem;
    }
}