/* Base Styles - Rediseño completo con mejoras UX/UI */
:root {
    --primary-color: #e60000;
    --secondary-color: #1a1a1a;
    --accent-color: #f0f0f0;
    --text-color: #333333;
    --light-text: #ffffff;
    --dark-text: #222222;
    --border-radius: 12px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --section-padding: 100px 0;
    --gradient-primary: linear-gradient(135deg, #e60000 0%, #bb0000 100%);
    --gradient-dark: linear-gradient(135deg, #222222 0%, #000000 100%);
}

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

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    background-color: #fafafa;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

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

img {
    max-width: 100%;
    height: auto;
}

/* Modern Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(230, 0, 0, 0.15);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(230, 0, 0, 0.1);
    animation: spin 1s linear infinite;
}

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

/* Enhanced Header */
.site-header {
    padding: 15px 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

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

.logo img {
    max-height: 75px;
    transition: all 0.3s ease;
}

.site-header.scrolled .logo img {
    max-height: 65px;
}

/* Hero Section - Advanced */
.hero-section {
    padding: 180px 0 120px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

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

.hero-title {
    max-width: 100%;
    margin-bottom: 30px;
    filter: drop-shadow(0px 5px 15px rgba(0, 0, 0, 0.4));
    animation: float 6s ease-in-out infinite;
}

.certification-badge {
    max-width: 170px;
    height: auto;
    filter: drop-shadow(0px 5px 10px rgba(0, 0, 0, 0.3));
    animation: float 5s ease-in-out infinite;
    animation-delay: 0.5s;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Enhanced Section Styles */
section {
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
}

/* Modern Section Headers */
.section-header {
    margin-bottom: 60px;
    text-align: center;
    position: relative;
    z-index: 5;
}

.main-heading {
    color: var(--light-text);
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    position: relative;
    display: inline-block;
    background: rgba(0, 0, 0, 0.7);
    padding: 15px 40px;
    border-radius: var(--border-radius);
    border-left: 5px solid var(--primary-color);
    border-right: 5px solid var(--primary-color);
}

.main-heading::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background: var(--primary-color);
    border-radius: 10px;
}

.section-subheading {
    color: var(--light-text);
    font-size: 1.5rem;
    max-width: 800px;
    margin: 25px auto 0;
    font-weight: 400;
    background: rgba(0, 0, 0, 0.6);
    padding: 12px 25px;
    border-radius: var(--border-radius);
    display: inline-block;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
}

.section-title {
    color: var(--light-text);
    font-size: 2.8rem;
    margin-bottom: 2.5rem;
    position: relative;
    display: inline-block;
    text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.6);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 5px;
}

/* Advanced Parallax Sections */
.parallax-section {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: var(--light-text);
    position: relative;
    padding: 150px 0;
    overflow: hidden;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.parallax-section .container {
    position: relative;
    z-index: 2;
}

/* Enhanced Parallax Effect */
.parallax-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 120% auto;
    transition: transform 0.1s ease-out;
    z-index: 0;
    will-change: transform;
}

/* Modern Appointment Section */
.appointment-section {
    background-color: #f9f9f9;
    position: relative;
}

.appointment-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/pattern.png');
    opacity: 0.03;
    z-index: 1;
}

.appointment-section .container {
    position: relative;
    z-index: 2;
}

.appointment-section .section-title {
    color: var(--dark-text);
}

.appointment-section .main-heading {
    color: var(--dark-text);
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-shadow: none;
}

.appointment-section .section-subheading {
    color: var(--dark-text);
    background: rgba(255, 255, 255, 0.9);
    text-shadow: none;
}

.appointment-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 50px;
    margin-bottom: 70px;
    position: relative;
    z-index: 3;
    overflow: visible;
}

.appointment-card::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 2px dashed rgba(230, 0, 0, 0.15);
    border-radius: var(--border-radius);
    z-index: -1;
    pointer-events: none;
}

/* Enhanced Video Container for Vertical Video */
.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    border-radius: var(--border-radius);
}

.video-container.vertical-video {
    width: 80%;
    margin: 0 auto;
    padding-bottom: 177.78%; /* 1080x1920 ratio = 9:16 = 16/9*100 = 177.78% */
    overflow: visible;
    position: relative;
    z-index: 10;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 4px solid rgba(230, 0, 0, 0.8);
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.5s ease;
}

.video-container.vertical-video:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-10px);
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.5);
}

.vertical-video .video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: rotate(90); /* Rotate the video content */
    transform-origin: center center;
    border-radius: 18px;
}

/* Modern Form Styling */
.appointment-form .form-group {
    margin-bottom: 25px;
}

.form-control {
    height: 54px;
    border-radius: 10px;
    border: 2px solid #eaeaea;
    padding: 12px 18px;
    font-size: 15px;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(230, 0, 0, 0.15);
    transform: translateY(-2px);
}

.form-control.is-invalid {
    border-color: #dc3545;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.is-valid {
    border-color: #198754;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

textarea.form-control {
    height: auto;
    min-height: 130px;
    resize: vertical;
}

.form-label {
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--dark-text);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
}

.terms-box {
    margin-top: 30px;
    border-radius: var(--border-radius);
    background-color: rgba(0, 0, 0, 0.03);
    padding: 20px;
}

.terms-container {
    max-height: 150px;
    overflow-y: auto;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    border: 1px solid #eaeaea;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05);
}

.terms-container p {
    font-size: 13px;
    margin: 0;
    line-height: 1.6;
}

.form-check-label {
    font-size: 14px;
    line-height: 1.5;
    cursor: pointer;
}

.form-check-input {
    width: 18px;
    height: 18px;
    margin-top: 0.25em;
    cursor: pointer;
}

/* Enhanced Button Styles */
.btn-primary-custom {
    background: var(--gradient-primary);
    color: #fff;
    padding: 14px 35px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: inline-block;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 20px rgba(230, 0, 0, 0.3);
}

.btn-primary-custom:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(230, 0, 0, 0.4);
}

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

.btn-primary-custom:hover::after {
    left: 100%;
}

.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 30px 0;
}

.loading img {
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
}

.loading p {
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.careers-link {
    display: block;
    transition: all 0.5s ease;
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.careers-link img {
    transition: transform 0.8s ease;
    display: block;
    width: 100%;
}

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

.careers-link::before {
    content: "TRABAJA CON NOSOTROS";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    letter-spacing: 2px;
}

.careers-link:hover::before {
    opacity: 1;
}

/* Modern Services Grid */
.services-section {
    background-color: var(--secondary-color);
    padding: 120px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 40px;
}

.service-item {
    text-align: center;
    padding: 35px 25px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    transition: var(--transition);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
}

.service-item:hover {
    transform: translateY(-15px);
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-item:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.service-item img {
    width: 90px;
    height: 90px;
    margin-bottom: 25px;
    transition: all 0.5s ease;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.2));
}

.service-item:hover img {
    transform: scale(1.1) rotate(5deg);
}

.service-item p {
    color: var(--light-text);
    font-size: 15px;
    margin: 0;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.service-item:hover p {
    color: #ffffff;
}

/* Modern Featured Services */
.featured-services {
    background: linear-gradient(to bottom, var(--secondary-color) 0%, #222222 100%);
    padding-top: 0;
    padding-bottom: 120px;
}

.featured-services .main-heading,
.featured-services .section-subheading {
    background-color: rgba(0, 0, 0, 0.7);
}

.featured-service-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    height: 100%;
    transition: var(--transition);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    cursor: pointer;
}

.featured-service-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.5s ease;
}

.featured-service-card:hover {
    transform: translateY(-15px);
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

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

.featured-service-card img {
    max-width: 85%;
    margin-bottom: 30px;
    transition: all 0.7s ease;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

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

.featured-service-card h3 {
    color: var(--light-text);
    font-size: 1.4rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
    transition: all 0.3s ease;
}

.featured-service-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.featured-service-card:hover h3::after {
    width: 70px;
}

.featured-service-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.7;
    transition: all 0.3s ease;
}

.featured-service-card:hover p {
    color: #ffffff;
}

/* Modern Location Section */
.location-section {
    background-color: #222;
}

.location-section .section-title {
    color: var(--light-text);
}

.location-address {
    color: var(--light-text);
    font-size: 1.4rem;
    margin-bottom: 40px;
    background: rgba(0, 0, 0, 0.6);
    display: inline-block;
    padding: 12px 25px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.map-container {
    height: 450px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 4px solid rgba(255, 255, 255, 0.1);
}

/* Modern Contact Section */
.contact-section, .quote-section {
    background: linear-gradient(to bottom, #222222 0%, #181818 100%);
}

.contact-section .main-heading,
.contact-section .section-subheading,
.quote-section .main-heading,
.quote-section .section-subheading {
    background-color: rgba(0, 0, 0, 0.7);
}

.contact-section .section-title,
.quote-section .section-title,
.quote-subtitle {
    color: var(--light-text);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.contact-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(230, 0, 0, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.contact-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.3);
}

.contact-card:hover::before {
    opacity: 1;
}

.contact-card img {
    width: 70px;
    height: 70px;
    margin-bottom: 25px;
    transition: all 0.5s ease;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.3));
}

.contact-card:hover img {
    transform: scale(1.1) rotate(10deg);
}

.contact-card h3 {
    color: var(--light-text);
    font-size: 1.4rem;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.contact-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin: 0;
    transition: all 0.3s ease;
}

.contact-card:hover p {
    color: #ffffff;
}

/* Modern Certifications Section */
.certifications-section {
    background-color: #1a1a1a;
}

.certifications-section .section-title {
    color: var(--light-text);
}

.certification-img {
    max-width: 70%;
    margin: 0 auto;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.5s ease;
    border: 4px solid rgba(255, 255, 255, 0.1);
}

.certification-img:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

/* Modern Quote Section */
.quote-section {
    background: linear-gradient(to bottom, #181818 0%, #121212 100%);
    padding-bottom: 150px;
}

.quote-section .section-title {
    color: var(--light-text);
}

.quote-subtitle {
    font-size: 1.3rem;
    margin-bottom: 50px;
    background: rgba(0, 0, 0, 0.6);
    display: inline-block;
    padding: 12px 25px;
    border-radius: 10px;
}

.quote-form {
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius);
    padding: 50px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.quote-form::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, var(--primary-color), transparent, var(--primary-color));
    z-index: -1;
    border-radius: calc(var(--border-radius) + 3px);
    animation: borderAnimation 10s linear infinite;
}

@keyframes borderAnimation {
    0% {
        filter: hue-rotate(0deg);
    }
    100% {
        filter: hue-rotate(360deg);
    }
}

.form-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 25px;
}

.form-row label {
    color: var(--light-text);
    margin-bottom: 10px;
    font-weight: 500;
    font-size: 16px;
}

.quote-form .form-control {
    background-color: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.quote-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.quote-form .form-control:focus {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    color: white;
}

.quote-form .terms-container {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.quote-form .terms-container p {
    color: rgba(255, 255, 255, 0.8);
}

.quote-form .form-check-label {
    color: var(--light-text);
}

/* Modern Social Section */
.social-section {
    background-color: #121212;
    padding-top: 80px;
}

.social-section .section-title {
    color: var(--light-text);
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--light-text);
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.03);
    padding: 35px 20px;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(230, 0, 0, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.social-link:hover {
    color: var(--primary-color);
    transform: translateY(-15px);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.3);
}

.social-link:hover::before {
    opacity: 1;
}

.social-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    transition: all 0.5s ease;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.3));
}

.social-link:hover .social-icon {
    transform: scale(1.2) rotate(10deg);
}

.social-icon.linkedin {
    width: 50px;
}

.social-link span {
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Modern Footer */
.site-footer {
    background-color: white;
    padding: 40px 0;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.divider {
    font-size: 1.8rem;
    color: #ddd;
}

.site-footer a {
    position: relative;
    color: var(--secondary-color);
    font-weight: 500;
    transition: all 0.3s ease;
}

.site-footer a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.site-footer a:hover {
    color: var(--primary-color);
}

.site-footer a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Modern Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 20px rgba(230, 0, 0, 0.3);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(230, 0, 0, 0.4);
}

.back-to-top i {
    font-size: 24px;
}

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

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }
}

.service-item.animated,
.featured-service-card.animated,
.contact-card.animated,
.social-link.animated {
    animation: fadeIn 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

/* Modern Responsive Styles */
@media (max-width: 1200px) {
    .main-heading {
        font-size: 3rem;
        padding: 12px 30px;
    }
    
    .section-subheading {
        font-size: 1.3rem;
    }
    
    .featured-service-card {
        padding: 30px 20px;
    }
}

@media (max-width: 992px) {
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero-section {
        padding: 150px 0 100px;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 30px;
    }
    
    .featured-service-card h3 {
        font-size: 1.2rem;
    }
    
    .quote-form {
        padding: 40px 30px;
    }
    
    .video-container.vertical-video {
        width: 90%;
    }
    
    .appointment-card {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .main-heading {
        font-size: 2.4rem;
        padding: 10px 25px;
    }
    
    .section-subheading {
        font-size: 1.1rem;
        padding: 8px 15px;
    }
    
    .appointment-card {
        padding: 30px 20px;
    }
    
    .parallax-section {
        background-attachment: scroll; /* Fix for mobile */
        padding: 100px 0;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 20px;
    }
    
    .service-item {
        padding: 25px 15px;
    }
    
    .service-item img {
        width: 70px;
        height: 70px;
    }
    
    .map-container {
        height: 350px;
    }
    
    .quote-form {
        padding: 30px 20px;
    }
    
    .contact-card {
        padding: 30px 20px;
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 120px 0 80px;
    }
    
    .certification-badge {
        max-width: 120px;
    }
    
    section {
        padding: 70px 0;
    }
    
    .parallax-section {
        padding: 80px 0;
    }
    
    .main-heading {
        font-size: 2rem;
        padding: 8px 20px;
        border-left-width: 3px;
        border-right-width: 3px;
    }
    
    .section-subheading {
        font-size: 1rem;
        padding: 6px 12px;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .service-item {
        padding: 20px 10px;
    }
    
    .service-item img {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .map-container {
        height: 300px;
    }
    
    .appointment-card {
        padding: 25px 15px;
    }
    
    .video-container.vertical-video {
        width: 100%;
        padding-bottom: 177.78%;
    }
    
    .featured-service-card {
        padding: 25px 15px;
    }
    
    .quote-form {
        padding: 25px 15px;
    }
    
    .site-footer {
        text-align: center;
        padding: 30px 0;
    }
    
    .site-footer .divider {
        display: none;
    }
    
    .site-footer .col-md-5 {
        margin-bottom: 15px;
    }
    
    .back-to-top {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

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

img {
    max-width: 100%;
    height: auto;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(0, 0, 0, 0.1);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Header */
.site-header {
    padding: 15px 0;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo img {
    max-height: 70px;
}

/* Hero Section */
.hero-section {
    padding: 150px 0 80px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

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

.hero-title {
    max-width: 100%;
    margin-bottom: 30px;
}

.certification-badge {
    max-width: 150px;
    height: auto;
}

/* Section Styles */
section {
    padding: var(--section-padding);
    position: relative;
}

/* Section Headers */
.section-header {
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    z-index: 5;
}

.main-heading {
    color: var(--light-text);
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    position: relative;
    display: inline-block;
    background: rgba(0, 0, 0, 0.6);
    padding: 10px 30px;
    border-radius: var(--border-radius);
}

.heading-underline {
    display: none; /* Removing underline as requested */
}

.section-subheading {
    color: var(--light-text);
    font-size: 1.4rem;
    max-width: 800px;
    margin: 15px auto 0;
    font-weight: 400;
    background: rgba(0, 0, 0, 0.6);
    padding: 10px 20px;
    border-radius: var(--border-radius);
    display: inline-block;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.section-title {
    color: var(--light-text);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
}

/* Parallax Sections */
.parallax-section {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: var(--light-text);
    position: relative;
    padding: 150px 0;
    overflow: hidden;
}

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

.parallax-section .container {
    position: relative;
    z-index: 2;
}

/* Enhanced Parallax Effect */
.parallax-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 120% auto;
    transition: transform 0.1s ease-out;
    z-index: 0;
}

/* Appointment Section */
.appointment-section {
    background-color: #f9f9f9;
}

.appointment-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 40px;
    margin-bottom: 50px;
}

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

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    border-radius: var(--border-radius);
}

.video-container.vertical-video {
    width: 80%;
    margin: 0 auto;
    padding-bottom: 177.78%; /* 1080x1920 ratio = 9:16 = 16/9*100 = 177.78% */
    overflow: visible;
    position: relative;
    z-index: 10;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.vertical-video .video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: rotate(0deg); /* Rotate the video content */
    transform-origin: center center;
    border-radius: 10px;
}

/* Estilos para el preloader - incluir en style.css */

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



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

.appointment-form .form-group {
    margin-bottom: 20px;
}

.form-control {
    height: 50px;
    border-radius: var(--border-radius);
    border: 1px solid #ddd;
    padding: 10px 15px;
    font-size: 14px;
    width: 100%;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(230, 0, 0, 0.25);
}

.form-control.is-invalid {
    border-color: #dc3545;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.is-valid {
    border-color: #198754;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

textarea.form-control {
    height: auto;
    min-height: 120px;
}

.terms-box {
    margin-top: 20px;
}

.terms-container {
    max-height: 150px;
    overflow-y: auto;
    background-color: #f5f5f5;
    padding: 15px;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
}

.terms-container p {
    font-size: 12px;
    margin: 0;
}

.form-check-label {
    font-size: 14px;
}

.btn-primary-custom {
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
}

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

.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
}

.loading p {
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 10px;
}

.careers-link img {
    transition: var(--transition);
}

.careers-link img:hover {
    transform: scale(1.02);
}

/* Services Grid */
.services-section {
    background-color: var(--secondary-color);
    padding: 100px 0;
}

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

.service-item {
    text-align: center;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.service-item:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.2);
}

.service-item img {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
}

.service-item p {
    color: var(--light-text);
    font-size: 14px;
    margin: 0;
}

/* Featured Services */
.featured-services {
    background: linear-gradient(to bottom, var(--secondary-color) 0%, #2a2a2a 100%);
    padding-top: 0;
}

.featured-services .main-heading,
.featured-services .section-subheading {
    background-color: rgba(0, 0, 0, 0.7);
}

.featured-service-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    height: 100%;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.featured-service-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.1);
}

.featured-service-card img {
    max-width: 80%;
    margin-bottom: 20px;
}

.featured-service-card h3 {
    color: var(--light-text);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.featured-service-card p {
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.btn-secondary-custom {
    background-color: transparent;
    color: var(--light-text);
    border: 1px solid var(--light-text);
    padding: 8px 20px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
}

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

/* Location Section */
.location-section {
    background-color: #2a2a2a;
}

.location-section .section-title {
    color: var(--light-text);
}

.location-address {
    color: var(--light-text);
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.map-container {
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

/* Contact Section, Quote Section */
.contact-section, .quote-section {
    background: linear-gradient(to bottom, #2a2a2a 0%, #222 100%);
}

.contact-section .main-heading,
.contact-section .section-subheading,
.quote-section .main-heading,
.quote-section .section-subheading {
    background-color: rgba(0, 0, 0, 0.7);
}

.contact-section .section-title,
.quote-section .section-title,
.quote-subtitle {
    color: var(--light-text);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.contact-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    height: 100%;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.1);
}

.contact-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.contact-card h3 {
    color: var(--light-text);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.contact-card p {
    color: #ccc;
    font-size: 0.9rem;
    margin: 0;
}

/* Certifications Section */
.certifications-section {
    background-color: #222;
}

.certifications-section .section-title {
    color: var(--light-text);
}

.certification-img {
    max-width: 60%;
    margin: 0 auto;
}

/* Quote Section */
.quote-section {
    background: linear-gradient(to bottom, #222 0%, #1a1a1a 100%);
    padding-bottom: 120px;
}

.quote-section .section-title,
.quote-subtitle {
    color: var(--light-text);
}

.quote-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.quote-form {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 40px;
}

.form-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-row label {
    color: var(--light-text);
    margin-bottom: 8px;
    font-weight: 500;
}

.quote-form .terms-container {
    background-color: rgba(255, 255, 255, 0.1);
}

.quote-form .terms-container p {
    color: #ddd;
}

.quote-form .form-check-label {
    color: var(--light-text);
}

/* Social Section */
.social-section {
    background-color: #1a1a1a;
    padding-top: 60px;
}

.social-section .section-title {
    color: var(--light-text);
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--light-text);
    transition: var(--transition);
}

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

.social-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
}

.social-icon.linkedin {
    width: 30px;
}

/* Footer */
.site-footer {
    background-color: white;
    padding: 30px 0;
}

.divider {
    font-size: 1.5rem;
    color: #ddd;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-5px);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-section {
        padding: 120px 0 60px;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .main-heading {
        font-size: 2.4rem;
        padding: 8px 20px;
    }
    
    .section-subheading {
        font-size: 1.1rem;
        padding: 8px 15px;
    }
    
    .appointment-card {
        padding: 25px;
    }
    
    .parallax-section {
        background-attachment: scroll; /* Fix for mobile */
        padding: 80px 0;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 20px;
    }
    
    .service-item {
        padding: 15px;
    }
    
    .map-container {
        height: 350px;
    }
    
    .quote-form {
        padding: 25px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 100px 0 40px;
    }
    
    .certification-badge {
        max-width: 120px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .parallax-section {
        padding: 80px 0;
        background-attachment: scroll; /* Fix for mobile devices */
    }
    
    .main-heading {
        font-size: 2rem;
    }
    
    .section-subheading {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .map-container {
        height: 300px;
    }
    
    .appointment-card {
        padding: 15px;
    }
    
    .video-container {
        margin-bottom: 20px;
    }
    
    .video-container.vertical-video {
        width: 100%;
        padding-bottom: 150%;
    }
    
    .featured-service-card {
        padding: 20px 15px;
    }
    
    .quote-form {
        padding: 20px 15px;
    }
    
    .contact-card {
        padding: 15px;
    }
    
    .site-footer {
        text-align: center;
    }
    
    .site-footer .divider {
        display: none;
    }
    
    .site-footer .col-md-5 {
        margin-bottom: 10px;
    }

    .spinner {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(230, 0, 0, 0.15);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(230, 0, 0, 0.1);
    animation: spin 1s linear infinite;
}


}

/* Animations */

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

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

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

.service-item.animated,
.featured-service-card.animated {
    animation: fadeIn 0.6s ease-in-out forwards;
}

.btn-primary-custom {
    position: relative;
    overflow: hidden;
}

.btn-primary-custom:after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: 0.3s;
}

.btn-primary-custom:hover:after {
    left: 100%;
}