:root {
    --primary-color: #0D47A1;
    --secondary-color: #FF6F00;
    --accent-color: #00B0FF;
    --light-color: #F5F5F5;
    --dark-color: #212121;
    --whatsapp-color: #25D366;
    --success-color: #4CAF50;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    padding-top: 80px;
    background-color: #f8f9fa;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out;
}

.loader {
    border: 16px solid #f3f3f3;
    border-top: 16px solid var(--primary-color);
    border-bottom: 16px solid var(--secondary-color);
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite, pulse-border 1.5s infinite alternate;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse-border {
    0% { border-color: var(--primary-color) var(--secondary-color) var(--primary-color) var(--secondary-color); }
    100% { border-color: var(--secondary-color) var(--primary-color) var(--secondary-color) var(--primary-color); }
}

.navbar {
    background: linear-gradient(135deg, var(--primary-color), #1a2530) !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--light-color);
}

.navbar-brand span {
    color: var(--secondary-color);
}

.nav-link {
    color: var(--light-color) !important;
    font-weight: 600;
    margin: 0 10px;
    transition: all 0.3s;
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

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

.nav-link:hover {
    color: var(--secondary-color) !important;
}

.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    overflow: hidden;
}

#hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translateX(-50%) translateY(-50%);
    background-size: cover;
    transition: 1s opacity;
    opacity: 0.7;
}

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

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

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

.typed-cursor {
    color: var(--secondary-color);
    font-size: 2rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), #c0392b);
    border: none;
    padding: 15px 35px;
    font-weight: 600;
    transition: all 0.4s ease;
    border-radius: 50px;
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #c0392b, var(--secondary-color));
    transform: translateY(-7px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.btn-whatsapp {
    background: linear-gradient(135deg, var(--whatsapp-color), #128C7E);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.4s ease;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #128C7E, var(--whatsapp-color));
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.45);
    color: white;
}

.section-title {
    font-weight: 700;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
    text-align: center;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    border-radius: 2px;
}

.service-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    height: 100%;
    background: white;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #ffffff, var(--light-color));
}

.service-icon {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    transition: all 0.3s;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    color: var(--primary-color);
}

.testimonial-card {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    margin: 15px;
    transition: all 0.3s;
    border-left: 4px solid var(--secondary-color);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.testimonial-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 4px solid var(--secondary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.gallery-item {
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

.gallery-item img {
    transition: all 0.5s;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

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

.gallery-item:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: all 0.3s;
}

.gallery-item:hover:after {
    opacity: 1;
}

.gallery-item:before {
    content: '\f002'; /* Font Awesome search icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2.5rem;
    opacity: 0;
    z-index: 2;
    transition: all 0.3s;
}

.gallery-item:hover:before {
    opacity: 1;
}

.contact-info {
    background: linear-gradient(135deg, var(--primary-color), #1a2530);
    color: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-right: 10px;
}

.class_ {
    margin-bottom: 1rem;
}

footer {
    background: linear-gradient(135deg, var(--dark-color), #1a2530);
    color: white;
    padding: 70px 0 25px;
}

.footer-links a {
    color: var(--light-color);
    text-decoration: none;
    transition: all 0.3s;
    display: block;
    margin-bottom: 12px;
}

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

.social-icon {
    font-size: 1.5rem;
    color: var(--light-color);
    margin-right: 15px;
    transition: all 0.3s;
}

.social-icon:hover {
    color: var(--secondary-color);
    transform: translateY(-5px);
}

/* WhatsApp flotante */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: var(--whatsapp-color);
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
    transition: all 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Animaciones */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

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

.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar scroll effect */
.navbar-scroll {
    padding: 10px 0;
    background: linear-gradient(135deg, var(--primary-color), #1a2530) !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Price tag */
.price-tag {
    font-size: 2.2rem;
    color: var(--secondary-color);
    font-weight: 700;
    margin: 15px 0;
}

/* Service details */
.service-detail {
    padding: 80px 0;
}

.service-detail-img {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-list {
    list-style-type: none;
    padding: 0;
}

.feature-list li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.feature-list li:before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--secondary-color);
    position: absolute;
    left: 0;
}

/* Emergency section */
.emergency-section {
    background: linear-gradient(135deg, var(--secondary-color), #c0392b);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.emergency-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: pulse 1.5s infinite;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }

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

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

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

    .navbar {
        background: var(--primary-color) !important;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 20px;
        right: 20px;
    }
}
/* Video cards */
.video-card {
    border: 1px solid var(--secondary-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(100, 255, 218, 0.1);
    background: #0A192F;
}

.video-wrapper {
    position: relative;
    background: #000;
}

.video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
}

.video-controls {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    background: linear-gradient(180deg, rgba(10, 25, 47, 0.1), rgba(2, 12, 27, 0.2));
}

.video-btn {
    border: none;
    background: linear-gradient(135deg, var(--secondary-color), #22d3ee);
    color: #fff;
    padding: 10px 14px;
    border-radius: 10px;
    box-shadow: 0 6px 14px rgba(100, 255, 218, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.video-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(100, 255, 218, 0.45);
}

.video-btn.secondary {
    background: linear-gradient(135deg, #64748b, #334155);
    box-shadow: 0 6px 14px rgba(51, 65, 85, 0.35);
}

.video-title {
    font-weight: 700;
}