/* Basic reset to ensure consistency across browsers */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Modern and professional font */
    line-height: 1.7;
    background-color: #f8f9fa; /* Very light general background */
    color: #343a40; /* Dark main text */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1140px; /* Slightly more common container width */
    margin: 0 auto;
    padding: 30px; /* Increased general padding */
}

/* --- Header and Navigation --- */
.sticky-header {
    background-color: rgba(255, 255, 255, 0.95); /* Translucent white background */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* Ensure it's above everything */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
}

.logo a {
    display: block; /* To contain the image properly */
    text-decoration: none;
}

.logo img {
    height: 40px; /* Adjust the height of your logo */
}

.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav ul li {
    margin-left: 25px;
}

.main-nav ul li a {
    text-decoration: none;
    color: #495057; /* Dark gray */
    transition: color 0.3s ease;
    padding: 8px 0;
}

.main-nav ul li a:hover {
    color: #03768b; /* Primary brand color */
}

.hamburger-menu {
    display: none;
    cursor: pointer;
}

.bar {
    width: 28px;
    height: 3px;
    background-color: #343a40;
    margin: 6px 0;
    transition: 0.4s;
}

/* --- Hero Section --- */
.hero-section {
    padding: 150px 0 120px; /* Increased vertical spacing */
    text-align: center;
    color: #fff; /* White text over the image */
    background-size: cover;
    background-position: center;
    position: relative; /* For the overlay */
}

.hero-bg {
    background-image: url(''); /* Image URL */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Dark overlay to improve text readability */
}

.hero-content {
    position: relative; /* To keep content above the overlay */
    z-index: 10;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    line-height: 1.8;
}

.primary-button {
    display: inline-block;
    background-color: #03768b; /* Primary brand color */
    color: #fff;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 5px rgba(3, 118, 139, 0.3); /* Shadow with brand color */
    z-index: 11;

}

.primary-button:hover {
    background-color: #025464; /* Darker shade of the primary color */
    box-shadow: 0 4px 8px rgba(2, 84, 100, 0.3); /* Darker shadow */
}

/* --- About Section --- */
/* About Section - Modern Layout */
.about-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image {
    flex: 1;
    position: relative;
    min-width: 400px;
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.about-image:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 2;
}


.about-text {
    flex: auto;
    padding: 40px 0;
}

.about-text h2 {
    font-size: 2.8rem;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

/* Botón estilizado */
.outline-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    padding: 12px 30px;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.outline-button:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 102, 255, 0.2);
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        min-width: 100%;
        transform: none;
    }
    
    .about-text {
        padding: 20px 0;
    }
}
/* --- Services Section --- */
.services-section {
    padding: 100px 0;
    background-color: #fff; /* White background for contrast */
}

.services-content h2 {
    font-size: 2.8rem;
    color: #343a40;
    margin-bottom: 40px;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* Minimum width for each service */
    gap: 40px;
    margin-top: 30px;
}

.service-item {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

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

.service-item .icon {
    color: #03768b; /* Primary brand color for icons */
    margin-bottom: 20px;
    font-size: 3em; /* Larger icons */
}

.service-item h3 {
    font-size: 1.5rem;
    color: #343a40;
    margin-bottom: 15px;
}

.service-item p {
    color: #555;
    line-height: 1.7;
}

/* --- Why Choose Us Section --- */
/* Efectos para la sección Why Us */
.why-us-section {
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    color: #fff;
}
.why-us-content h2 {
    font-size: 2.8rem;
    margin-bottom: 40px;
    text-align: center;
}

.why-us-content .lead {
    font-size: 1.15rem;
    margin-bottom: 20px;
    line-height: 1.8;
}
.why-us-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
    
    /* Efecto de desenfoque y oscurecimiento */
    filter: brightness(0.1) blur(1px);
    
    /* Animación sutil de zoom */
    animation: subtleZoom 20s infinite alternate;
}

.why-us-content {
    position: relative;
    z-index: 1;
    
    /* Efecto de texto brillante */
    text-shadow: 0 0 10px rgba(0, 102, 255, 0.3);
}

/* Animación de zoom sutil */
@keyframes subtleZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

/* Efecto de partículas (opcional) */
.why-us-bg {
    background-color: #1a1a2e; /* Mismo color que tu tema */
}
.why-us-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 102, 255, 0.3) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(0, 196, 204, 0.3) 0%, transparent 40%);
    pointer-events: none;
}

/* Mejora los ítems de la lista */
.reasons-list{
    list-style-type: none;
}
.reasons-list li {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    backdrop-filter: blur(5px);
    border-left: 3px solid var(--primary);
    transition: transform 0.3s ease;
}

.reasons-list li:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.1);
}

/* --- Contact Section --- */
.contact-section {
    padding: 100px 0;
    background-color: #fff;
    text-align: center;
}

.contact-content h2 {
    font-size: 2.8rem;
    color: #343a40;
    margin-bottom: 30px;
}

.contact-content .lead {
    font-size: 1.15rem;
    color: #555;
    margin-bottom: 40px;
}

.form-wrapper {
    max-width: 600px; /* Reduced width for the form */
    margin: 0 auto;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-section form {
    margin-top: 0; /* Remove redundant top margin */
}

.form-group {
    margin-bottom: 25px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #495057;
    font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    border-color: #03768b; /* Primary brand color on focus */
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(3, 118, 139, 0.25); /* Focus shadow with brand color */
}

.form-group textarea {
    resize: vertical;
}

.contact-section form .primary-button {
    width: 100%; /* Full width submit button */
    padding: 15px;
    font-size: 1.1rem;
}

/* --- Footer --- */
.site-footer {
    padding: 60px 0;
}

.footer-content {
    padding: 30px;
}

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

.footer-logo a {
    display: inline-block;
}
.footer-logo a img{
    width: 80%;
}
.footer-nav h3,
.footer-contact h3 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 15px;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
}

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

.footer-nav ul li a,
.footer-contact p a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav ul li a:hover,
.footer-contact p a:hover {
    color: #03768b;
}

.footer-contact p {
    margin-bottom: 10px;
}

.footer-contact p i {
    margin-right: 8px;
    color: #03768b;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #555;
}

.footer-legal ul {
    list-style: none;
    padding: 0;
    display: flex;
}

.footer-legal ul li {
    margin-right: 20px;
}

.footer-legal ul li:last-child {
    margin-right: 0;
}

.footer-legal ul li a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal ul li a:hover {
    color: #03768b;
}

.footer-copyright {
    font-size: 0.9rem;
    color: #e0e0e0;
}

/* --- Utility classes for backgrounds and text --- */
.bg-light {
    background-color: #f8f9fa;
}

.bg-secondary {
    background-color: #6c757d;
}

.bg-dark {
    background-color: #343a40;
    
}

.text-light {
    color: #f8f9fa;
}

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

/* --- Media Queries for Responsive Design --- */
@media (max-width: 992px) {
    .container {
        padding: 20px;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .main-nav .desktop-menu {
        display: none;
    }

    .hamburger-menu {
        display: block;
    }

    .main-nav.open .desktop-menu {
        display: block;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: #fff;
        width: 100%;
        text-align: center;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }

    .main-nav.open .desktop-menu li {
        margin: 0;
        padding: 15px 0;
        border-bottom: 1px solid #eee;
    }

    .main-nav.open .desktop-menu li:last-child {
        border-bottom: none;
    }

    .main-nav.open .desktop-menu li a {
        display: block;
        padding: 10px 0;
        color: #343a40; /* Ensure text color is visible on white background */
    }

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

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

    .about-content h2,
    .services-content h2,
    .why-us-content h2,
    .contact-content h2 {
        font-size: 2.4rem;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }

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

/* Updated Color Scheme */
:root {
    --primary: #0066ff;
    --primary-dark: #0052cc;
    --secondary: #00c4cc;
    --dark: #1a1a2e;
    --light: #f8f9fa;
    --accent: #ff6b6b;
}

/* Modern Gradient Background for Hero 
.hero-bg {
    background: linear-gradient(135deg, rgba(0,102,255,0.8) 0%, rgba(0,196,204,0.8) 100%);
}*/

/* Video Background Alternative */

.hero-bg {
    position: relative;
    overflow: hidden;
}
.hero-bg video {
    position: absolute;
    
    min-width: 100%;
    min-height: 100%;
    z-index: -1;
}

/* Video Background Styles */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.video-background video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;

    object-fit: cover;
}

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

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


/* Modern Glassmorphism Effect for Header */
.sticky-header {
    background: rgba(255, 255, 255, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

/* 3D Card Effect for Services */
.service-item {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 14px 28px rgba(0, 102, 255, 0.2);
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    z-index: 2;
}

/* Animated Underline for Navigation */
.main-nav ul li a {
    position: relative;
    padding-bottom: 5px;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.main-nav ul li a:hover::after {
    width: 100%;
}

/* Modern Button Styles */
.primary-button {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    z-index: 11;
}

.primary-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    transition: width 0.3s ease;
    z-index: -1;
}

.primary-button:hover::before {
    width: 100%;
}
/* Secondary Button Styles - Modern Outline Style */
.secondary-button {
    display: inline-block;
    background: transparent;
    color: var(--primary);
    padding: 14px 38px; /* Slightly different padding for visual distinction */
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: 2px solid var(--primary);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    margin-left: 15px; /* Space between primary and secondary buttons */
    z-index: 10;

}

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

.secondary-button:hover {
    color: white;
    border-color: var(--primary-dark);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.2);
}

.secondary-button:hover::before {
    width: 100%;
}

/* Responsive adjustments for buttons */
@media (max-width: 768px) {
    .cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .secondary-button {
        margin-left: 0;
        margin-top: 10px;
    }
}

/* CTA Buttons Container */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* Animation for both buttons */
.primary-button, .secondary-button {
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.primary-button:hover, .secondary-button:hover {
    transform: translateY(-3px);
}


/* Modern Form Styling */
.form-wrapper {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Animated Background for Why Us Section */
.why-us-section {
    position: relative;
    overflow: hidden;
}

.why-us-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--dark) 0%, #16213e 100%);
    z-index: -1;
}

/* Pulse Animation for Icons */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.service-item:hover .icon {
    animation: pulse 1.5s infinite;
}

/* Modern Footer */
.site-footer {
    background: var(--dark);
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

/* Estilos minimalistas para política web */
.privacy-hero {
    background: linear-gradient(135deg, #0066ff 0%, #00c4cc 100%);
    color: white;
    padding: 100px 0 80px;
    text-align: center;
    margin-bottom: 50px;
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 0 25px;
}

.privacy-card {
    background: white;
    border-radius: 10px;
    padding: 35px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.privacy-card h2 {
    color: #0066ff;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    font-size: 1.8rem;
}

.privacy-card h3 {
    color: #333;
    margin: 25px 0 15px;
    font-size: 1.3rem;
}

.privacy-card p, .privacy-card ul {
    line-height: 1.7;
    color: #555;
    margin-bottom: 15px;
}

.privacy-card ul {
    padding-left: 20px;
}

.privacy-card li {
    margin-bottom: 8px;
}

.update-notice {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin: 25px 0;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .privacy-hero {
        padding: 80px 0 60px;
    }
    
    .privacy-card {
        padding: 25px 20px;
    }
}
