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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background: #F2F2F2;
    margin: 0;
    padding: 0;
    transition: all 0.3s ease;
}

/* Smooth page transitions - Removed to prevent blank screen */

/* Smooth navigation transitions */
.nav-link {
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #D50000;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Smooth section transitions */
section {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
}

section.animate-in {
    opacity: 1;
    transform: translateY(0);
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth card animations */
.card, .video-card, .stat-card, .info-card {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.card.animate-in, .video-card.animate-in, .stat-card.animate-in, .info-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.card::before, .video-card::before, .stat-card::before, .info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(213, 0, 0, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.card:hover::before, .video-card:hover::before, .stat-card:hover::before, .info-card:hover::before {
    opacity: 1;
}

.card.visible, .video-card.visible, .stat-card.visible, .info-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.card:hover, .video-card:hover, .stat-card:hover, .info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Smooth button transitions */
.btn {
    transition: all 0.3s ease;
    transform: translateY(0);
    position: relative;
    overflow: hidden;
}

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

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

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn:active {
    transform: translateY(0);
    transition: transform 0.1s ease;
}

/* Smooth image loading */
img {
    transition: opacity 0.3s ease;
}

img.loading {
    opacity: 0;
}

img.loaded {
    opacity: 1;
}

/* Smooth text animations */
h1, h2, h3, h4, h5, h6 {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.5s ease;
}

h1.animate-in, h2.animate-in, h3.animate-in, h4.animate-in, h5.animate-in, h6.animate-in {
    opacity: 1;
    transform: translateY(0);
}

h1.visible, h2.visible, h3.visible, h4.visible, h5.visible, h6.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth hero section transitions */
.hero-content {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease;
}

.hero-content.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.hero-content.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth stats transitions */
.stat-item, .stat {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.5s ease;
}

.stat-item.animate-in, .stat.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.stat-item.visible, .stat.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth video thumbnail transitions */
.video-thumbnail {
    transition: all 0.3s ease;
    transform: scale(1);
}

.video-thumbnail:hover {
    transform: scale(1.05);
}

/* Smooth modal transitions */
.video-modal {
    transition: all 0.3s ease;
}

.video-modal.show {
    opacity: 1;
    visibility: visible;
    display: flex !important;
}

/* Loading state for better UX */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(242, 242, 242, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.loading-overlay.show {
    opacity: 1;
    visibility: visible;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    transform: translateY(0);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
}

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

.nav-logo img {
    height: 100px;
    width: auto;
    transition: transform 0.3s ease;
}

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

.logo-text {
    height: 30px;
    width: auto;
    margin-left: 3px;
    transition: transform 0.3s ease;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #D50000;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #D50000;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hamburger styles moved to consolidated section below */

/* Bar styles moved to consolidated hamburger section below */

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #F2F2F2;
    overflow: hidden;
}

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

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: #D50000;
    color: #F2F2F2;
    border-color: #D50000;
}

.btn-primary:hover {
    background: transparent;
    color: #D50000;
    border-color: #D50000;
}

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

.btn-secondary:hover {
    background: #D50000;
    color: #F2F2F2;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 1.5rem;
    color: #F2F2F2;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 60px 0;
    background: #ffffff;
}

/* Modern About Section */
.about-modern {
    max-width: 1200px;
    margin: 0 auto;
}

.about-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 2rem;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-image:hover {
    transform: translateY(-5px);
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.about-content {
    padding: 2rem 0;
}

.section-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #D50000;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    display: block;
}

.about-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-content p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

/* About Slider Container */
.about-slider-container {
    position: relative;
    margin-bottom: 2.5rem;
}

.slider-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.slider-slide {
    display: none;
    opacity: 0;
    transition: all 0.5s ease-in-out;
    transform: translateX(20px);
}

.slider-slide.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

/* About Text Content */
.about-text-content {
    margin-bottom: 0;
}

.about-text-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-text-content p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 0;
}

/* About Items (for Propósito, Misión, Visión) */
.about-item {
    margin-bottom: 2rem;
}

.about-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #D50000;
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.about-item h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: linear-gradient(135deg, #D50000, #D50000);
    border-radius: 2px;
}

.about-item p {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 0;
    padding-left: 1.5rem;
}

/* Slider Navigation */
.slider-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.slider-btn {
    width: 45px;
    height: 45px;
    border: 2px solid #D50000;
    background: transparent;
    border-radius: 50%;
    color: #D50000;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.slider-btn:hover {
    background: #D50000;
    color: white;
    transform: scale(1.1);
}


.slider-btn:disabled:hover {
    background: transparent;
    color: #D50000;
    transform: none;
}

.slider-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #D50000;
    transform: scale(1.2);
}

.dot:hover {
    background: #D50000;
    opacity: 0.7;
}

/* About Statistics */
.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

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

.about-stats .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #D50000;
    margin-bottom: 0.5rem;
    display: block;
}

.about-stats .stat-label {
    font-size: 0.9rem;
    color: #888;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}



/* Legacy About Styles (keeping for compatibility) */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.about-text p {
    margin-bottom: 2rem;
    color: #666;
    line-height: 1.8;
}

/* About Slider */
.about-slider {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border: 3px solid rgba(213, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.about-slider:hover {
    border-color: rgba(213, 0, 0, 0.3);
    box-shadow: 0 25px 70px rgba(213, 0, 0, 0.15);
}

.slider-container {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 17px;
}

.slider-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: scale(1.05);
    filter: brightness(0.95);
}

.slider-image.active {
    opacity: 1;
    transform: scale(1);
    filter: brightness(1);
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1.5rem;
    pointer-events: none;
}

.slider-btn {
    background: linear-gradient(135deg, rgba(213, 0, 0, 0.9), rgba(213, 0, 0, 0.7));
    color: #F2F2F2;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: all;
    backdrop-filter: blur(15px);
    opacity: 0;
    transform: scale(0.8) translateY(-50%);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(213, 0, 0, 0.3);
}

.about-slider:hover .slider-btn {
    opacity: 1;
    transform: scale(1) translateY(-50%);
}

.slider-btn:hover {
    background: linear-gradient(135deg, #D50000, #D50000);
    transform: scale(1.15) translateY(-50%);
    box-shadow: 0 12px 35px rgba(213, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.4);
}

.slider-btn i {
    font-size: 1.2rem;
    font-weight: 600;
}

.slider-indicators {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
    padding: 0.8rem 1.2rem;
    border-radius: 30px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: linear-gradient(135deg, #D50000, #ff6b8a);
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translate(-50%, -50%);
}

.indicator.active {
    background: rgba(213, 0, 0, 0.8);
    border-color: #D50000;
    transform: scale(1.3);
    box-shadow: 0 0 20px rgba(213, 0, 0, 0.6);
}

.indicator.active::before {
    width: 100%;
    height: 100%;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
    border-color: rgba(255, 255, 255, 0.6);
}

.indicator.active:hover {
    background: #D50000;
    transform: scale(1.4);
}

/* Experience Section */
.experience {
    padding: 100px 0;
    background: #F2F2F2;
}

.experience-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.map-container {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 3rem;
    text-align: center;
    border: 2px dashed #ddd;
}

.map-placeholder i {
    font-size: 4rem;
    color: #D50000;
    margin-bottom: 1rem;
}

.map-placeholder h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.experience-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

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

.stat-item h3 {
    font-size: 3rem;
    font-weight: 700;
    color: #D50000;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: #666;
    font-weight: 500;
}

/* Projects Section */
.projects {
    padding: 60px 0;
    background: #f8f9fa;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: #F2F2F2;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    color: inherit;
    display: block;
    opacity: 0;
    transform: translateY(50px);
    animation: slideInUp 0.6s ease forwards;
}

.project-card-1 {
    animation-delay: 0.1s;
}

.project-card-2 {
    animation-delay: 0.2s;
}

.project-card-3 {
    animation-delay: 0.3s;
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.project-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(213, 0, 0, 0.15);
}

.project-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-card:hover img {
    transform: scale(1.05);
}

.project-content {
    padding: 2rem;
    position: relative;
}

.project-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
    transition: color 0.3s ease;
}

.project-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.project-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #D50000;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.project-card:hover .project-link {
    color: #D50000;
    transform: translateX(5px);
}

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

.project-card:hover .project-link i {
    transform: translateX(3px);
}

.project-card:hover .project-content h3 {
    color: #D50000;
}

/* Patio Operacional Section */
.patio-operacional {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.patio-operacional::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23d31f45" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

/* Stats Row */
.patio-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(213, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(213, 0, 0, 0.15);
    border-color: rgba(213, 0, 0, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #D50000;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Main Content Grid */
.patio-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

/* Features Section */
.patio-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(213, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.feature-card:hover {
    transform: translateX(10px);
    box-shadow: 0 20px 60px rgba(213, 0, 0, 0.12);
    border-color: rgba(213, 0, 0, 0.2);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #D50000, #ff6b8a);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(213, 0, 0, 0.3);
}

.feature-icon i {
    font-size: 1.5rem;
    color: #F2F2F2;
}

.feature-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.feature-content p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Modern Gallery */
.patio-gallery-modern {
    position: relative;
}

.gallery-hero {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.hero-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.gallery-overlay {
    display: none;
}

.play-btn {
    display: none;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(213, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #F2F2F2;
    padding: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* CTA Section */
.cta {
    padding: 60px 0;
    position: relative;
    color: #F2F2F2;
    text-align: center;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('assets/images/hero/landscape pozo.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: 1;
}

.cta-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(213, 0, 0, 0.8), rgba(26, 26, 26, 0.9));
    z-index: 2;
}

.cta .container {
    position: relative;
    z-index: 3;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #000;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #F2F2F2;
    padding: 60px 0 20px;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #D50000;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #D50000;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex !important;
        z-index: 1001;
        position: relative;
        -webkit-tap-highlight-color: transparent !important;
        -webkit-touch-callout: none !important;
        -webkit-user-select: none !important;
        user-select: none !important;
        cursor: pointer !important;
    }

    /* Old mobile menu styles removed - using new clean design */

    .nav-menu.active {
        left: 0 !important;
        visibility: visible !important;
        opacity: 1 !important;
        display: flex !important;
    }

    .nav-item {
        margin: 1.5rem 0;
    }

    .nav-link {
        font-size: 1.2rem;
        padding: 1rem 2rem;
        display: block;
        width: 100%;
        transition: all 0.3s ease;
    }

    .nav-link:hover {
        background-color: rgba(213, 0, 0, 0.1);
        color: #D50000;
    }

    /* Duplicate nav-link styles removed */

    .hero-title {
        font-size: 2.5rem;
    }
}

/* Additional mobile styles for very small devices */
@media (max-width: 480px) {
    .hamburger {
        padding: 0.3rem;
        display: flex !important;
    }

    .hamburger .bar {
        width: 20px;
        height: 2px;
        background-color: #333;
    }

    /* Old mobile menu styles removed - using new clean design */

    .nav-menu.active {
        left: 0 !important;
        display: flex !important;
    }

    .nav-item {
        margin: 1rem 0;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 0.8rem 1.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Modern About Section Mobile */
    .about-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-content h2 {
        font-size: 2rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* About Slider Mobile */
    .about-text-content h2 {
        font-size: 2rem;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .slider-navigation {
        margin-top: 1.5rem;
        gap: 0.8rem;
    }



    .patio-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .patio-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .slider-container {
        height: 300px;
    }

    .slider-btn {
        width: 45px;
        height: 45px;
    }

    .slider-btn i {
        font-size: 1rem;
    }

    .slider-indicators {
        gap: 0.6rem;
        padding: 0.6rem 1rem;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }

    .experience-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .experience-stats {
        flex-direction: row;
        justify-content: space-around;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-card {
        animation-delay: 0.1s;
    }
    
    .project-card-2,
    .project-card-3 {
        animation-delay: 0.1s;
    }

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

    .section-header h2 {
        font-size: 2rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .contact-form-section,
    .contact-info-section {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
        max-width: calc(100% - 2rem);
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-overview {
        padding: 60px 0 30px 0;
    }
    
    .contact-main {
        padding: 30px 0 30px 0;
    }
    
    .map-section {
        padding: 30px 0 60px 0;
    }
    
    .location-card {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }
    
    .location-header i {
        font-size: 2rem;
    }
    
    .location-header h3 {
        font-size: 1.3rem;
    }
    
    .detail-item {
        padding: 0.8rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .experience-stats {
        flex-direction: column;
    }

    .gallery-thumbnails {
        grid-template-columns: 1fr;
    }

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

    .stat-item {
        padding: 1.5rem 1rem;
    }

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

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

    .feature-card {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        margin: 0 auto 1rem;
    }

    .gallery-hero {
        margin-bottom: 1rem;
    }

    .hero-image {
        height: 200px;
    }

    .gallery-item img {
        height: 100px;
    }


    .cta-content h2 {
        font-size: 1.8rem;
    }

    .cta-content p {
        font-size: 1rem;
    }
}

/* Mobile Menu Styles - Consolidated and Fixed */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 1rem;
    z-index: 1001;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /* Android specific fixes */
    touch-action: manipulation;
    -webkit-touch-callout: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /* Make it easier to tap on Android */
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
}

/* Force hide hamburger and mobile buttons on desktop - Maximum specificity */
@media (min-width: 769px) {
    .navbar .nav-container .hamburger {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        position: absolute !important;
        left: -9999px !important;
    }
    
    .navbar .nav-container .mobile-action-buttons {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.menu-open {
    overflow: hidden;
}

/* Image Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: #F2F2F2;
    margin: 2% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 1000px;
    height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    animation: slideInUp 0.4s ease;
}

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

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #aaa;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close:hover {
    color: #D50000;
    background: #F2F2F2;
    transform: scale(1.1);
}

.modal-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    border-radius: 20px 20px 0 0;
}

.modal-header h3 {
    margin: 0;
    color: #1a1a1a;
    font-size: 1.5rem;
    font-weight: 600;
}

.modal-counter {
    background: #D50000;
    color: #F2F2F2;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.modal-body {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: #f8f9fa;
    overflow: hidden;
}

#modalImage {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.modal-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    pointer-events: none;
}

.nav-btn {
    background: rgba(213, 0, 0, 0.9);
    color: #F2F2F2;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    pointer-events: all;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(213, 0, 0, 0.3);
}

.nav-btn:hover {
    background: #D50000;
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(213, 0, 0, 0.5);
}

.modal-footer {
    padding: 1rem 2rem 2rem;
    background: #f8f9fa;
    border-radius: 0 0 20px 20px;
}

.modal-thumbnails {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.thumbnail:hover {
    opacity: 1;
    transform: scale(1.1);
}

.thumbnail.active {
    border-color: #D50000;
    opacity: 1;
    transform: scale(1.05);
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        height: 95vh;
        margin: 2.5% auto;
    }
    
    .modal-header {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .modal-header h3 {
        font-size: 1.2rem;
    }
    
    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .thumbnail {
        width: 45px;
        height: 45px;
    }
    
    .modal-footer {
        padding: 1rem;
    }
}

/* Loading Animation */
.loading {
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

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

/* Scroll Animations */
.fade-in-up {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease;
}

.fade-in-up:not(.visible) {
    opacity: 0;
    transform: translateY(30px);
}

.fade-in-left {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.8s ease;
}

.fade-in-left:not(.visible) {
    opacity: 0;
    transform: translateX(-30px);
}

.fade-in-right {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.8s ease;
}

.fade-in-right:not(.visible) {
    opacity: 0;
    transform: translateX(30px);
}

/* Experience Section Enhanced */
.experience-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.experience-info {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(213, 0, 0, 0.1);
}

.experience-text h3 {
    color: #D50000;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.experience-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.experience-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #F2F2F2;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-left: 4px solid #D50000;
}

.highlight-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(213, 0, 0, 0.1);
}

.highlight-item i {
    font-size: 1.5rem;
    color: #D50000;
    width: 40px;
    text-align: center;
}

.highlight-item h4 {
    color: #1a1a1a;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.highlight-item p {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
}

/* Map Styles Enhanced - Cleaned up */

.map-info h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.map-info h3 i {
    color: #D50000;
}

.map-info p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.map-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat .number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #D50000;
    margin-bottom: 0.2rem;
}

.stat .label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Experience Stats Enhanced */
.experience-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0 3rem 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    justify-items: center;
}

.stat-card {
    background: #F2F2F2;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(213, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    max-width: 300px;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #D50000, #ff6b8a, #D50000);
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(213, 0, 0, 0.2);
}

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

.stat-card:hover .progress-bar {
    width: 100%;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #D50000, #ff6b8a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 1.5rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(213, 0, 0, 0.3);
}

.stat-icon i {
    font-size: 1.8rem;
    color: #F2F2F2;
}

.stat-content {
    text-align: center;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #D50000;
    margin: 0 0 0.8rem 0;
    line-height: 1;
    background: linear-gradient(135deg, #D50000, #ff6b8a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1rem;
    color: #666;
    margin: 0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.3;
}

.stat-progress {
    width: 70%;
    height: 4px;
    background: rgba(213, 0, 0, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #D50000, #ff6b8a);
    border-radius: 3px;
    width: 0;
    transition: width 2s ease-in-out;
    position: relative;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: progressShine 2s infinite;
}

@keyframes progressShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus States for Accessibility */
.btn:focus,
.nav-link:focus {
    outline: 2px solid #00d4ff;
    outline-offset: 2px;
}

/* Image Optimization */
img {
    max-width: 100%;
    height: auto;
}

/* Video Responsive */
.video-container video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Page Hero Styles */
.page-hero {
    position: relative;
    height: 48vh;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #F2F2F2;
    margin-top: 130px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(213, 0, 0, 0.8), rgba(26, 26, 26, 0.9));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* Specific Hero Backgrounds */
.equipos-hero .hero-background {
    background-image: url('assets/images/equipment/flota.jpg');
}

.servicios-hero .hero-background {
    background-image: url('assets/images/projects/pozo 3.jpg');
}

.contact-hero .hero-background {
    background-image: url('assets/images/team/trabajadores.jpg');
}

/* Equipment Categories */
.equipment-categories {
    padding: 100px 0;
    background: #f8f9fa;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.equipment-card {
    background: #F2F2F2;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

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

.equipment-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.equipment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.equipment-card:hover .equipment-image img {
    transform: scale(1.05);
}

.equipment-overlay {
    display: none;
}

.equipment-content {
    padding: 2rem;
}

.equipment-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.equipment-description {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.equipment-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature-tag {
    background: #ffe3e8;
    color: #D50000;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.equipment-specs {
    margin-bottom: 2rem;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #666;
}

.spec-item i {
    color: #D50000;
    width: 20px;
}

.equipment-btn {
    width: 100%;
    text-align: center;
    padding: 12px 20px;
    font-weight: 600;
}

/* Equipment Benefits */
.equipment-benefits {
    padding: 100px 0;
    background: #F2F2F2;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-item {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

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

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #D50000, #D50000);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.benefit-icon i {
    font-size: 2rem;
    color: #F2F2F2;
}

.benefit-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.benefit-item p {
    color: #666;
    line-height: 1.6;
}

/* Visibility Classes */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }
    
    .mobile-only {
        display: block !important;
    }
    
    /* Forzar que el slider de escritorio esté oculto en móvil */
    .services-slider.desktop-only {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        overflow: hidden !important;
    }
    
    /* Asegurar que el slider móvil esté visible */
    .mobile-slider.mobile-only {
        display: block !important;
        visibility: visible !important;
        height: auto !important;
        overflow: visible !important;
    }
}

/* =============== NEW GRID SLIDER =============== */
.services-grid-slider {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    overflow-x: visible;
}

.services-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 30px;
    width: 100%;
}

.service-grid-item {
    background: #F2F2F2;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: visible;
    min-height: 650px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.service-grid-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #D50000, #D50000);
    border-radius: 20px 20px 0 0;
}

.service-grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.service-grid-item .service-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #D50000, #D50000);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    flex-shrink: 0;
}

.service-grid-item .service-icon i {
    font-size: 2rem;
    color: #F2F2F2;
}

.service-grid-item h3 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
    flex-shrink: 0;
}

.service-grid-item p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    font-size: 1rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-grid-item .service-features {
    margin-bottom: 1.2rem;
    flex-grow: 1;
}

.service-grid-item .service-features li {
    padding: 0.4rem 0;
    color: #555;
    font-size: 0.9rem;
    line-height: 1.5;
    list-style: none;
    position: relative;
    padding-left: 1.5rem;
    overflow: visible;
}

.service-grid-item .service-features li::before {
    content: '✓';
    color: #D50000;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.service-grid-item.operaciones-card .service-features li {
    font-size: 0.65rem;
    line-height: 1.4;
}

.service-grid-item .btn {
    background: linear-gradient(135deg, #D50000, #D50000);
    color: #F2F2F2;
    padding: 1rem 1.8rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-top: auto;
    flex-shrink: 0;
    display: inline-block;
}

.service-grid-item .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(213, 0, 0, 0.3);
}

/* =============== LAST CARD SPECIFIC STYLES =============== */
.service-grid-item.last-card {
    grid-column: 1 / -1; /* Spans all 3 columns */
    max-width: 600px; /* Wider than single columns */
    margin: 0 auto; /* Center it */
    height: auto; /* Auto height to fit more content */
    min-height: 750px; /* Taller than regular cards */
}

.service-grid-item.last-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-grid-item.last-card p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    display: block;
    -webkit-line-clamp: none;
    -webkit-box-orient: initial;
    overflow: visible;
}

.service-grid-item.last-card .service-features {
    margin-bottom: 1.2rem;
}

.service-grid-item.last-card .service-features li {
    padding: 0.5rem 0;
    font-size: 0.9rem;
    line-height: 1.5;
    display: block;
    -webkit-line-clamp: none;
    -webkit-box-orient: initial;
    overflow: visible;
    padding-left: 2rem;
}

.service-grid-item.last-card .btn {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* =============== SERVICES SLIDER CONTROLS =============== */
.services-grid-slider .slider-btn {
    display: none !important;
}





.slider-dots {
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: #D50000;
    transform: scale(1.2);
}

/* Contact Page Styles */
.contact-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #F2F2F2;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 130px;
}

.contact-hero .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-hero .hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.contact-hero .stat {
    text-align: center;
}

.contact-hero .stat .number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #D50000;
    margin-bottom: 0.5rem;
}

.contact-hero .stat .label {
    font-size: 0.9rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Contact Overview */
.contact-overview {
    padding: 100px 0 60px 0;
    background: #F2F2F2;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-method {
    background: #F2F2F2;
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(213, 0, 0, 0.1);
}

.contact-method:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(213, 0, 0, 0.15);
    border-color: rgba(213, 0, 0, 0.2);
}

.method-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #D50000, #ff6b8a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 25px rgba(213, 0, 0, 0.3);
}

.method-icon i {
    font-size: 2rem;
    color: #F2F2F2;
}

.contact-method h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.contact-method p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.method-link {
    color: #D50000;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.method-link:hover {
    color: #D50000;
}

/* Contact Main */
.contact-main {
    padding: 100px 0 60px 0;
    background: #F2F2F2;
}

.contact-layout {
    display: flex;
    justify-content: center;
    align-items: start;
}

.contact-form-section {
    background: #F2F2F2;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(213, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.form-header {
    margin-bottom: 2rem;
    text-align: center;
}

.form-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.form-header p {
    color: #666;
    font-size: 1.1rem;
}

.modern-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #F2F2F2;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #D50000;
    box-shadow: 0 0 0 3px rgba(213, 0, 0, 0.1);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.btn-large {
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

/* Contact Info Section */
.contact-info-section {
    background: #F2F2F2;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(213, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.info-header {
    margin-bottom: 2rem;
    text-align: center;
}

.info-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.info-header p {
    color: #666;
    font-size: 1.1rem;
}

.info-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.2rem;
    background: #F2F2F2;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(213, 0, 0, 0.1);
}

.info-card:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(213, 0, 0, 0.1);
    border-color: rgba(213, 0, 0, 0.2);
}

.card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #D50000, #ff6b8a);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(213, 0, 0, 0.3);
}

.card-icon i {
    font-size: 1.3rem;
    color: #F2F2F2;
}

.card-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.card-content p {
    color: #666;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.card-subtitle {
    font-size: 0.85rem;
    color: #D50000;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 4rem;
}

.contact-form {
    background: #F2F2F2;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #1a1a1a;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #D50000;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.contact-info {
    padding: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.contact-item i {
    font-size: 1.5rem;
    color: #D50000;
    width: 30px;
}

.careers-section {
    padding: 60px 0 100px 0;
    background: #F2F2F2;
}

.careers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.career-card {
    background: #F2F2F2;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(213, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.career-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #D50000, #ff6b8a);
}

.career-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(213, 0, 0, 0.15);
    border-color: rgba(213, 0, 0, 0.2);
}

.career-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.career-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #D50000, #ff6b8a);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(213, 0, 0, 0.3);
}

.career-icon i {
    font-size: 1.5rem;
    color: #F2F2F2;
}

.career-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.3rem;
}

.career-type {
    background: rgba(213, 0, 0, 0.1);
    color: #D50000;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.career-location {
    color: #666;
    font-size: 0.9rem;
}

.career-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.career-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.career-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.skill-tag {
    background: rgba(213, 0, 0, 0.1);
    color: #D50000;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.career-apply {
    display: inline-block;
    background: #D50000;
    color: #F2F2F2;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
}

.career-apply:hover {
    background: #D50000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(213, 0, 0, 0.3);
}

.careers-cta {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 4rem;
    padding: 3rem;
    background: #F2F2F2;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(213, 0, 0, 0.1);
}

.cta-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.cta-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.linkedin-section {
    text-align: center;
    padding: 2rem;
    background: #F2F2F2;
    border-radius: 15px;
    border: 1px solid rgba(213, 0, 0, 0.1);
}

.linkedin-section h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.linkedin-section p {
    color: #666;
    margin-bottom: 1.5rem;
}

.linkedin-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #0077b5;
    color: #F2F2F2;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.linkedin-btn:hover {
    background: #005885;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 119, 181, 0.3);
}

.job-listing {
    background: #F2F2F2;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.job-listing:hover {
    transform: translateY(-2px);
}

.job-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.job-location {
    color: #666;
    margin-bottom: 1rem;
}

.job-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.job-apply {
    display: inline-block;
    background: #D50000;
    color: #F2F2F2;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease;
}

.job-apply:hover {
    background: #D50000;
}

.linkedin-embed {
    background: #F2F2F2;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Process Section */
.process-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background: #F2F2F2;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.process-step:hover {
    transform: translateX(10px);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #D50000, #D50000);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F2F2F2;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.step-content p {
    color: #666;
    line-height: 1.6;
}

/* Why Choose Us */
.why-choose-us {
    padding: 100px 0;
    background: #F2F2F2;
}

/* Industries Served */
.industries-served {
    padding: 100px 0;
    background: #f8f9fa;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.industry-item {
    text-align: center;
    padding: 2rem;
    background: #F2F2F2;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.industry-item i {
    font-size: 3rem;
    color: #D50000;
    margin-bottom: 1rem;
}

.industry-item svg {
    width: 3rem;
    height: 3rem;
    color: #D50000;
    margin-bottom: 1rem;
}

.industry-item .industry-icon {
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.industry-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.industry-item p {
    color: #666;
    line-height: 1.6;
}

/* Services Overview */
.services-overview {
    padding: 60px 0;
    background: #F2F2F2;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: #f8f9fa;
}

/* Map Section */
.map-section {
    padding: 60px 0 100px 0;
    background: #F2F2F2;
}

.location-content {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.location-card {
    background: #F2F2F2;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(213, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
    text-align: center;
}

.location-header {
    margin-bottom: 2rem;
}

.location-header i {
    font-size: 3rem;
    color: #D50000;
    margin-bottom: 1rem;
}

.location-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.location-header p {
    color: #666;
    font-size: 1.1rem;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(213, 0, 0, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
    justify-content: center;
}

.detail-item:hover {
    background: rgba(213, 0, 0, 0.2);
    transform: translateY(-2px);
}

.detail-item i {
    color: #D50000;
    font-size: 1.2rem;
    width: 20px;
}

.detail-item span {
    font-weight: 500;
    color: #1a1a1a;
}

/* Careers Content */
.careers-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.job-listings h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #1a1a1a;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #F2F2F2;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
}

.close:hover {
    color: #D50000;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* LinkedIn Placeholder */
.linkedin-placeholder {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px dashed #ddd;
}

.linkedin-placeholder i {
    font-size: 3rem;
    color: #0077b5;
    margin-bottom: 1rem;
}

.linkedin-placeholder p {
    color: #666;
    margin-bottom: 1.5rem;
}

/* Responsive adjustments for new sections */
@media (max-width: 768px) {
    .equipment-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        justify-items: center;
    }
    
    .contact-form-section,
    .contact-info-section {
        padding: 2.5rem 2rem;
    }
    
    .contact-overview {
        padding: 80px 0 40px 0;
    }
    
    .contact-main {
        padding: 40px 0 40px 0;
    }
    
    .careers-section {
        padding: 40px 0 80px 0;
    }
    
    .map-section {
        padding: 40px 0 80px 0;
    }
    
    .modern-form {
        width: 100%;
    }
    
    .form-header {
        text-align: center;
    }
    
    .info-header {
        text-align: center;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
    }
    
    .careers-grid {
        grid-template-columns: 1fr;
    }
    
    .careers-cta {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .location-card {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .location-header i {
        font-size: 2.5rem;
    }
    
    .location-header h3 {
        font-size: 1.5rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .hero-stats .stat .number {
        font-size: 2rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .services-slider {
        height: 500px;
    }
    
    /* Mobile - single card view */
    .service-item:nth-child(1) {
        left: calc(50% - 160px) !important;
        top: 20px !important;
        width: 320px !important;
        height: 460px !important;
        padding: 2rem !important;
        transform: scale(1) !important;
        opacity: 1 !important;
        z-index: 10 !important;
        display: flex !important;
    }
    
    .service-item:nth-child(2),
    .service-item:nth-child(3) {
        display: none !important;
    }
    
    /* Hide all other cards on mobile */
    .service-item:nth-child(n+4) {
        display: none !important;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        min-width: 70px;
        min-height: 70px;
    }
    
    .service-icon i {
        font-size: 1.3rem;
    }
    
    .service-item h3 {
        font-size: 1.3rem;
    }
    
    .service-item p {
        font-size: 0.85rem;
    }
    
    .service-features li {
        font-size: 0.8rem;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .slider-btn-prev {
        left: 10px;
    }
    
    .slider-btn-next {
        right: 10px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .page-hero {
        height: 40vh;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .process-step {
        flex-direction: column;
        text-align: center;
    }
    
    .process-step:hover {
        transform: translateY(-5px);
    }
    
    .industries-grid {
        grid-template-columns: 1fr;
    }
    
    .careers-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
        padding: 1.5rem;
    }
}

/* Mobile Slider Styles */
.mobile-slider {
    padding: 0.5rem;
    max-width: 380px;
    margin: 0 auto;
    height: auto;
    min-height: 480px;
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
}

.service-card-mobile {
    background: #F2F2F2;
    border-radius: 15px;
    padding: 1.2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 480px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.service-card-mobile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #D50000, #D50000);
}

.service-card-mobile .service-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    min-height: 60px;
    background: linear-gradient(135deg, #D50000, #D50000);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.8rem;
    flex-shrink: 0;
}

.service-card-mobile .service-icon i {
    font-size: 1.3rem;
    color: #F2F2F2;
}

.service-card-mobile h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    color: #1a1a1a;
    flex-shrink: 0;
}

.service-card-mobile p {
    color: #666;
    line-height: 1.4;
    margin-bottom: 0.8rem;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.service-card-mobile .service-features {
    margin-bottom: 0.8rem;
    flex-grow: 1;
}

.service-card-mobile .service-features li {
    padding: 0.25rem 0;
    color: #555;
    font-size: 0.75rem;
    line-height: 1.3;
    list-style: none;
    position: relative;
    padding-left: 1.5rem;
}

.service-card-mobile .service-features li::before {
    content: '✓';
    color: #D50000;
    font-weight: bold;
    position: absolute;
    left: 0;
}


.service-card-mobile .btn {
    background: linear-gradient(135deg, #D50000, #D50000);
    color: #F2F2F2;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    margin-top: auto;
    flex-shrink: 0;
    display: inline-block;
}

.service-card-mobile .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(213, 0, 0, 0.3);
}

/* Swiper Navigation Styles - Hidden */
.mobile-slider .swiper-button-next,
.mobile-slider .swiper-button-prev {
    display: none !important;
}

/* Swiper Pagination Styles */
.mobile-slider .swiper-pagination {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    margin-top: 1rem !important;
    margin-bottom: 0.5rem !important;
    width: auto !important;
    text-align: center !important;
    background: transparent !important;
    padding: 0 !important;
}

.mobile-slider .swiper-pagination-bullet {
    background: #ccc;
    opacity: 1;
    width: 10px;
    height: 10px;
    margin: 0 4px;
}

.mobile-slider .swiper-pagination-bullet-active {
    background: #D50000;
}
    
    .experience-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .experience-info {
        padding: 1.5rem;
    }
    
    .map-wrapper {
        border-radius: 15px;
    }
    
    .map-wrapper iframe {
        height: 300px;
    }
    
    .map-stats {
        gap: 1rem;
    }
    
    .stat .number {
        font-size: 1.5rem;
    }
    
    .experience-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 1.5rem 0 2rem 0;
        max-width: 400px;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
    }
    
    .stat-icon i {
        font-size: 1.5rem;
    }
}

/* Tablet Styles */
@media (max-width: 1024px) and (min-width: 769px) {
    .services-grid-container {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 25px;
    }
    
    .service-grid-item {
        height: 550px;
        padding: 1.8rem;
    }
    
    .experience-stats {
        gap: 1.5rem;
        margin: 2rem 0 2.5rem 0;
        max-width: 900px;
    }
    
    .stat-card {
        padding: 1.8rem 1.2rem;
        min-height: 200px;
        max-width: 280px;
    }
    
    .stat-number {
        font-size: 2.8rem;
    }
    
    .stat-icon {
        width: 55px;
        height: 55px;
        margin-bottom: 1.2rem;
    }
    
    .stat-icon i {
        font-size: 1.6rem;
    }
}

/* ========================================
   BLOG STYLES
======================================== */

/* Blog Hero Section */
.blog-hero {
    position: relative;
    height: 48vh;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 130px;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23d31f45" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23d31f45" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23d31f45" opacity="0.05"/><circle cx="10" cy="60" r="0.5" fill="%23d31f45" opacity="0.05"/><circle cx="90" cy="40" r="0.5" fill="%23d31f45" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.blog-hero .hero-content {
    text-align: center;
    color: #F2F2F2;
    z-index: 2;
    position: relative;
}

.blog-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #F2F2F2, #D50000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-hero p {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Blog Content */
.blog-content {
    padding: 80px 0;
    background: #F2F2F2;
}

/* Video Categories */
.video-categories {
    max-width: 1400px;
    margin: 0 auto;
}

.category-section {
    margin-bottom: 4rem;
}

.category-header {
    text-align: center;
    margin-bottom: 3rem;
}

.category-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.category-header h2 i {
    color: #D50000;
    font-size: 2rem;
}

.category-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Video Card */
.video-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(213, 0, 0, 0.1);
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(213, 0, 0, 0.3);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #000;
}

.video-thumbnail video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card:hover .video-thumbnail video {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(213, 0, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.play-button i {
    color: #fff;
    font-size: 1.5rem;
    margin-left: 3px;
}

.video-card:hover .play-button {
    background: #D50000;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.video-info {
    padding: 1.5rem;
}

.video-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.video-info p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.video-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: #999;
}

.video-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.video-meta i {
    font-size: 0.8rem;
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    padding: 2rem;
    box-sizing: border-box;
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

.video-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(213, 0, 0, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.modal-content {
    background: #1a1a1a;
    border-radius: 20px;
    max-width: 1400px;
    width: auto;
    max-height: 90vh;
    height: auto;
    overflow: hidden;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(213, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: modalSlideIn 0.3s ease;
    border: 2px solid rgba(213, 0, 0, 0.3);
    position: relative;
    display: block;
    margin: 0 auto;
    padding: 0;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(213, 0, 0, 0.5), transparent);
    z-index: 1;
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem !important;
    border-bottom: 1px solid rgba(213, 0, 0, 0.2);
    background: linear-gradient(135deg, #2d2d2d, #1a1a1a);
    margin: 0 !important;
}

.modal-header h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #F2F2F2;
    margin: 0;
}

.close-btn {
    background: rgba(213, 0, 0, 0.1);
    border: 1px solid rgba(213, 0, 0, 0.3);
    font-size: 1.5rem;
    color: #F2F2F2;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    background: #D50000;
    color: #F2F2F2;
    transform: scale(1.1);
}

#modalVideo {
    width: 100% !important;
    height: 600px !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    max-height: none !important;
    min-height: none !important;
    vertical-align: top !important;
    position: relative !important;
    z-index: 1 !important;
}

/* Video controls remain default */

/* Hide download button and other unnecessary controls */
#modalVideo::-webkit-media-controls-download-button {
    display: none !important;
}

#modalVideo::-webkit-media-controls-overlay-play-button {
    display: none !important;
}

#modalVideo::-webkit-media-controls-picture-in-picture-button {
    display: none !important;
}

/* Hide download option from context menu */
#modalVideo {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.modal-info {
    padding: 0.5rem 1rem !important;
    background: linear-gradient(135deg, #2d2d2d, #1a1a1a);
    border-radius: 0 0 20px 20px;
    flex-shrink: 0;
    margin: 0 !important;
}

.modal-info p {
    color: #F2F2F2;
    line-height: 1.4;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.modal-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: #ccc;
}

.modal-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(213, 0, 0, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(213, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.modal-meta span:hover {
    background: rgba(213, 0, 0, 0.2);
    border-color: rgba(213, 0, 0, 0.4);
    transform: translateY(-2px);
}

.modal-meta i {
    color: #D50000;
    font-size: 1rem;
}

/* Responsive Design for Blog */
@media (max-width: 768px) {
    .blog-hero h1 {
        font-size: 2.5rem;
    }
    
    .blog-hero p {
        font-size: 1.1rem;
    }
    
    .category-header h2 {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .video-thumbnail {
        height: 180px;
    }
    
    .play-button {
        width: 50px;
        height: 50px;
    }
    
    .play-button i {
        font-size: 1.2rem;
    }
    
    .video-modal {
        padding: 1rem;
        align-items: center;
        justify-content: center;
    }
    
    .modal-content {
        width: 100%;
        max-width: 100%;
        max-height: 90vh;
        height: auto;
        margin: 0 auto;
        border-radius: 15px;
        overflow-y: auto;
        position: relative;
    }
    
    #modalVideo {
        height: 250px !important;
        max-height: 250px !important;
        object-fit: cover !important;
    }
    
    .modal-header {
        padding: 1rem !important;
        position: sticky;
        top: 0;
        z-index: 10;
        background: linear-gradient(135deg, #2d2d2d, #1a1a1a);
    }
    
    .modal-header h3 {
        font-size: 1.1rem;
        line-height: 1.3;
    }
    
    .close-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .modal-info {
        padding: 1rem !important;
    }
    
    .modal-info p {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 0.8rem;
    }
    
    .modal-meta {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    
    .modal-meta span {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .blog-hero {
        height: 40vh;
    }
    
    .blog-hero h1 {
        font-size: 2rem;
    }
    
    .blog-content {
        padding: 60px 0;
    }
    
    .category-section {
        margin-bottom: 3rem;
    }
    
    .category-header {
        margin-bottom: 2rem;
    }
    
    .category-header h2 {
        font-size: 1.8rem;
    }
    
    .video-grid {
        gap: 1rem;
    }
    
    .video-thumbnail {
        height: 160px;
    }
    
    .video-info {
        padding: 1rem;
    }
    
    .video-info h3 {
        font-size: 1.1rem;
    }
    
    .video-meta {
        font-size: 0.8rem;
    }
    
    .modal-content {
        width: 100%;
        max-height: 90vh;
        border-radius: 10px;
        margin: 0 auto;
        position: relative;
    }
    
    #modalVideo {
        height: 200px !important;
        max-height: 200px !important;
    }
}
