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

html {
    font-size: 62.5%;
}

:root {
    --color-primary: #EEF900;
    --color-secondary: #2e496f;
    /* --color-primary: #1c3643; */
    /* --color-secondary: #273b47;
    --color-tertiary: #1e5372;
    --color-platzi: #97c93e;
    --color-platzi-hover: greenyellow;
    --color-gradient: linear-gradient(to right, var(--color-primary), var(--color-secondary), var(--color-tertiary)); */
}

body {    
    min-width: 400px;
    font-size: 1.7rem;
    /* font-family: Arial, Helvetica, sans-serif; */
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    cursor: pointer;
}

/* Nav section */
#my-nav {
    background-color: var(--color-primary) !important;
}

#my-nav a {
    color: var(--color-secondary) !important;
    /* font-weight: bold; */
    /* font-size: 1.6rem; */
    text-transform: uppercase;
    transition: color 0.3s ease;
}

#my-nav a:hover {
    color: #191b1b !important;
    text-shadow: #e3f1fd 1px 1px 2px;
}

nav a img {
    width: 180px;
    height: auto;
    padding: 1rem 2rem;
}

.navbar {
    /* margin-bottom: 2rem; */
}

.hero {
    background: url('/assets/img/b1.jpg') center/cover no-repeat;
    color: #fff;
    padding: 40rem 0;
    text-align: center;
    box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.4);
}

.section {
    padding: 3rem 0;
}


/* About section */
#about-us {
    background-color: #e9ecef;
}

#about-us h1 {
    font-weight: bold;
}


/* ===== ABOUT US SECTION ===== */
.about-us-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.about-us-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #0066cc, #0099ff, #66ccff, transparent);
}

/* Top wave decoration - Ola superior suave */
.about-us-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.03) 0%, rgba(0, 153, 255, 0.05) 100%);
    clip-path: ellipse(150% 80px at 50% 0%);
    z-index: 1;
}

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

.about-subsection {
    margin-bottom: 2.5rem;
}

.subsection-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1.2rem;
    position: relative;
}

.subsection-content {
    font-size: 1.5rem;
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.company-name {
    color: #0066cc;
    font-weight: 600;
}

.highlight-text {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1), rgba(0, 153, 255, 0.1));
    padding: 2px 8px;
    border-radius: 4px;
    color: #0066cc;
    font-weight: 500;
}

/* Image Section */
.image-container {
    position: relative;
    height: 755px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 102, 204, 0.15);
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1), rgba(0, 153, 255, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-container:hover .image-overlay {
    opacity: 1;
}

/* Stats or highlights */
.stats-container {
    margin-top: 2rem;
    padding: 1.5rem 0;
    border-top: 2px solid #e2e8f0;
}

.stat-item {
    text-align: center;
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 3.0rem;
    font-weight: 700;
    color: #0066cc;
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Key points styling */
.key-points {
    margin-top: 1.5rem;
}

.key-point {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.key-point-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #0066cc, #0099ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.key-point-icon i {
    color: white;
    font-size: 1.1rem;
}

.key-point-text {
    font-size: 1.2rem;
    color: #4a5568;
    line-height: 1.6;
}

/* Bottom wave decoration */
.bottom-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.05), rgba(102, 204, 255, 0.03));
    clip-path: ellipse(150% 80px at 50% 100%);
    z-index: 1;
}

/* Responsive */
@media (max-width: 992px) {
    .image-container {
        height: 400px;
        margin-top: 3rem;
    }
}

@media (max-width: 768px) {
    .about-us-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .subsection-title {
        font-size: 1.3rem;
    }
    
    .image-container {
        height: 300px;
        margin-top: 2rem;
    }

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

@media (max-width: 576px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .subsection-content {
        font-size: 0.95rem;
    }
}

/* Animation effects */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}


/* ===== WHAT MAKES US DIFFERENT SECTION ===== */
.what-makes-us-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 50%, #f0f8ff 100%);
    position: relative;
    overflow: hidden;
}

/* Decorative background elements */
.what-makes-us-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 50%;
    height: 150%;
    background: linear-gradient(45deg, rgba(0, 102, 204, 0.03), rgba(102, 204, 255, 0.05));
    border-radius: 50%;
    z-index: 0;
    animation: float 20s infinite ease-in-out;
}

.what-makes-us-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 40%;
    height: 120%;
    background: linear-gradient(135deg, rgba(0, 153, 255, 0.04), rgba(0, 102, 204, 0.02));
    border-radius: 50%;
    z-index: 0;
    animation: float 25s infinite ease-in-out reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-40px) rotate(5deg); }
}

.service-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 7rem 2rem;
    height: 100%;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 102, 204, 0.1);
    backdrop-filter: blur(10px);
    z-index: 2;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.05), rgba(102, 204, 255, 0.03));
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 102, 204, 0.15);
    border-color: rgba(0, 102, 204, 0.2);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0066cc, #0099ff);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.2);
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-icon::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #0066cc, #0099ff, #66ccff);
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-icon::after {
    opacity: 0.7;
}

.service-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1a365d;
    margin-bottom: 1rem;
    text-align: center;
}

.service-description {
    color: #4a5568;
    line-height: 1.7;
    text-align: center;
    font-size: 1.5rem;
}

/* Special styling for different service types */
.service-card:nth-child(1) .service-icon {
    background: linear-gradient(135deg, #10b981, #34d399);
}

.service-card:nth-child(2) .service-icon {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
}

.service-card:nth-child(3) .service-icon {
    background: linear-gradient(135deg, #0066cc, #0099ff);
}

.service-card:nth-child(4) .service-icon {
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
}

.service-card:nth-child(5) .service-icon {
    background: linear-gradient(135deg, #ef4444, #f87171);
}

.service-card:nth-child(6) .service-icon {
    background: linear-gradient(135deg, #06b6d4, #22d3ee);
}

/* Responsive */
@media (max-width: 768px) {
    .what-makes-us-section {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .service-card {
        padding: 2.5rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
    }
    
    .service-icon i {
        font-size: 1.7rem;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 2rem;
    }
    
    .service-card {
        padding: 2rem 1.2rem;
    }
}


/* ------------------ Testimonios --------------------------*/
.testimonials-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f1f8ff 50%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

/* Decorative elements */
.testimonials-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 40%;
    height: 200%;
    background: linear-gradient(45deg, rgba(0, 102, 204, 0.03), rgba(102, 204, 255, 0.05));
    border-radius: 50%;
    z-index: 0;
    animation: float1 15s infinite ease-in-out;
}

.testimonials-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -5%;
    width: 30%;
    height: 150%;
    background: linear-gradient(135deg, rgba(0, 153, 255, 0.04), rgba(0, 102, 204, 0.02));
    border-radius: 50%;
    z-index: 0;
    animation: float2 20s infinite ease-in-out;
}

@keyframes float1 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

@keyframes float2 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(20px) rotate(-3deg); }
}

/* Letras transparentes */
/* .section-title {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #1a365d 0%, #0066cc 50%, #0099ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-subtitle {
    font-size: 3rem;
    color: #64748b;
    margin-bottom: 5rem;
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
} */

.testimonial-item {
    position: relative;
    z-index: 2;
    margin-bottom: 4rem;
    padding: 0;
}

.testimonial-content {
    position: relative;
    padding: 3rem 0;
}

.quote-large {
    font-size: 12rem;
    color: rgba(0, 102, 204, 0.08);
    position: absolute;
    top: -2rem;
    left: -1rem;
    z-index: -1;
    font-family: serif;
    line-height: 1;
    pointer-events: none;
}

.testimonial-text {
    font-size: 1.7rem;
    color: #2d3748;
    line-height: 1.6;
    font-weight: 400;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 2;
    font-style: italic;
}

.client-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
}

.client-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0066cc, #0099ff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0, 102, 204, 0.2);
    flex-shrink: 0;
}

.client-details {
    flex-grow: 1;
}

.client-name {
    font-size: 1.5rem;
    color: #1a365d;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.client-position {
    font-size: 1.2rem;
    color: #0066cc;
    font-weight: 500;
}

.client-company {
    font-size: 1.2rem;
    color: #64748b;
    margin-top: 0.2rem;
}

/* Alternating layout */
.testimonial-item:nth-child(even) .row {
    flex-direction: row-reverse;
}

.testimonial-item:nth-child(even) .quote-large {
    right: -1rem;
    left: auto;
    text-align: right;
}

.testimonial-item:nth-child(even) .client-section {
    flex-direction: row-reverse;
    text-align: right;
}

/* Decorative lines */
.testimonial-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, #0066cc, transparent);
    transform: translateY(-50%);
    opacity: 0.6;
}

.testimonial-item:nth-child(even)::before {
    right: 0;
    left: auto;
    background: linear-gradient(90deg, transparent, #0099ff);
}

/* Stars decoration */
.stars {
    display: flex;
    gap: 0.3rem;
    margin-bottom: 1rem;
    justify-content: center;
}

.testimonial-item:nth-child(even) .stars {
    justify-content: flex-end;
}

.star {
    color: #fbbf24;
    font-size: 1.2rem;
    animation: twinkle 2s infinite ease-in-out;
}

.star:nth-child(2) { animation-delay: 0.2s; }
.star:nth-child(3) { animation-delay: 0.4s; }
.star:nth-child(4) { animation-delay: 0.6s; }
.star:nth-child(5) { animation-delay: 0.8s; }

@keyframes twinkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

/* Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }
    
    .testimonial-text {
        font-size: 1.3rem;
    }
    
    .quote-large {
        font-size: 8rem;
    }
    
    .testimonial-item:nth-child(even) .row,
    .row {
        flex-direction: column !important;
    }
    
    .testimonial-item:nth-child(even) .client-section {
        flex-direction: row;
        text-align: left;
    }
    
    .testimonial-item:nth-child(even) .stars {
        justify-content: center;
    }
    
    .testimonials-section {
        padding: 80px 0;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 2rem;
        letter-spacing: 0px;
    }
    
    .testimonial-text {
        font-size: 1.1rem;
    }
    
    .quote-large {
        font-size: 6rem;
    }
}

/* Floating elements */
.floating-element {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1), rgba(102, 204, 255, 0.05));
    z-index: 0;
}

.floating-1 {
    width: 100px;
    height: 100px;
    top: 10%;
    right: 15%;
    animation: float1 12s infinite;
}

.floating-2 {
    width: 60px;
    height: 60px;
    bottom: 20%;
    left: 10%;
    animation: float2 16s infinite;
}

.floating-3 {
    width: 80px;
    height: 80px;
    top: 60%;
    right: 8%;
    animation: float1 14s infinite reverse;
}


/* ===== FOOTER SECTION ===== */
.footer-section {
    background: linear-gradient(135deg, #1a365d 0%, #2d3748 100%);
    color: #e2e8f0;
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #0099ff, transparent);
}

.footer-widget {
    height: 100%;
}

.footer-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #0099ff, #66ccff);
    border-radius: 1px;
}

.footer-description {
    color: #cbd5e0;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1.4rem;
}

/* Social Links */
.social-links {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-label {
    color: #a0aec0;
    font-size: 1.7rem;
    margin-right: 0.5rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(0, 153, 255, 0.1);
    color: #0099ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 153, 255, 0.2);
}

.social-link:hover {
    background: #0099ff;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 153, 255, 0.3);
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    font-size: 1.6rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 20px;
    color: #0099ff;
    font-size: 1.3rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.contact-item a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #0099ff;
}

/* Map Container */
.map-container {
    position: relative;
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.map-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
    background: rgba(0, 153, 255, 0.9);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    backdrop-filter: blur(10px);
}

.map-text {
    color: #cbd5e0;
    font-size: 1.3rem;
    line-height: 1.6;
    margin: 0;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0066cc, #0099ff);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.3);
}

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

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 102, 204, 0.4);
}

/* Footer Bottom */
.footer-bottom {
    background: linear-gradient(135deg, #0099ff, #0066cc);
    padding: 25px 0;
    margin-top: 60px;
}

.copyright, .credits {
    margin: 0;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.highlight {
    color: #ffffff;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-section {
        padding: 60px 0 0;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .footer-bottom .row > div {
        text-align: center !important;
        margin-bottom: 10px;
    }
}
