:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #10b981;
    --dark: #1f2937;
    --light: #f9fafb;
    --gray: #6b7280;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

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

/* Header and Navigation */
header {
    background-color: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo img {
    height: 32px;
    margin-right: 8px;
}

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

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
}

.nav-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.login-button {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.login-button:hover {
    color: var(--primary-dark);
}

.cta-button {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    background-color: var(--primary-dark);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 0;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-carousel {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-size: cover;
    background-position: center;
    transition: opacity 1.5s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-content-wrapper {
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
    display: flex;
    align-items: center;
    color: white;
    text-align: left;
}

.hero-content {
    max-width: 700px;
    padding: 40px 0;
    margin-top: 60px;
}

.hero .hero-content h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: white;
}

.hero .hero-content .accent {
    color: var(--secondary);
}

.hero .hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-carousel-controls {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

.hero-carousel-indicators {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.indicator.active {
    background-color: var(--secondary);
    transform: scale(1.2);
}

.indicator:hover {
    background-color: white;
}

.hero-carousel-arrows {
    display: flex;
    gap: 20px;
}

.arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

h1 {
    font-size: 48px;
    line-height: 1.2;
    color: var(--dark);
}

.accent {
    color: var(--primary);
}

.hero p {
    font-size: 20px;
    color: var(--gray);
}

/* Page Header for Inner Pages */
.page-header {
    padding: 160px 0 60px;
    background-color: #f0f5ff;
    text-align: center;
}

.page-header h1 {
    margin-bottom: 15px;
}

.page-header p {
    font-size: 20px;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
}

h2 {
    font-size: 36px;
    color: var(--dark);
    margin-bottom: 20px;
}

.subtitle {
    font-size: 18px;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

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

.service-card {
    background-color: var(--light);
    border-radius: 10px;
    padding: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.service-icon {
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 20px;
    font-size: 24px;
}

h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--gray);
}

/* Services Detailed Page */
.services-content {
    padding: 60px 0 100px;
}

.services-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
    font-size: 18px;
}

.service-detailed-item {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 60px;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 70px;
}

.service-detailed-item.reverse {
    direction: rtl;
}

.service-detailed-item.reverse .service-detailed-content {
    direction: ltr;
}

.service-detailed-image {
    flex: 0 0 45%;
    max-width: 45%;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background-color: transparent;
}

.service-detailed-image img {
    width: 100%;
    object-fit: contain;
    object-position: top;
    max-height: 400px;
}

.service-detailed-content {
    flex: 1;
    padding: 0 40px 40px 0;
}

.service-detailed-content h2 {
    margin-top: 0;
    font-size: 28px;
    color: #333;
    margin-bottom: 5px;
}

.service-detailed-content p {
    margin-bottom: 25px;
    color: var(--gray);
    font-size: 17px;
}

.service-detailed-content h3 {
    font-size: 22px;
    margin-top: 25px;
    margin-bottom: 15px;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    line-height: 1.5;
}

.service-features li:before {
    content: "✓";
    color: #4CAF50;
    position: absolute;
    left: 0;
    top: 0;
}

.service-cta {
    margin-top: 30px;
}

/* Technologies Section */
.technologies-section {
    margin: 80px 0;
    text-align: center;
}

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

.technology-category {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.technology-list {
    list-style-type: none;
    margin-top: 15px;
    text-align: left;
}

.technology-list li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.technology-list li:last-child {
    border-bottom: none;
}

/* Process Section */
.process-section {
    margin: 80px 0;
    text-align: center;
}

.process-steps {
    margin-top: 50px;
}

.process-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    text-align: left;
}

.step-number {
    background-color: var(--primary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 20px;
    flex-shrink: 0;
}

.step-content h3 {
    margin-bottom: 10px;
}

.step-content p {
    color: var(--gray);
}

/* Testimonial Section */
.testimonial-highlight {
    background-color: #f0f5ff;
    padding: 80px 0;
}

.testimonial-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-quote {
    font-size: 20px;
    font-style: italic;
    color: var(--dark);
    margin-bottom: 30px;
    position: relative;
}

.testimonial-quote::before {
    content: "";
    font-size: 80px;
    color: var(--primary);
    opacity: 0.2;
    position: absolute;
    left: -40px;
    top: -20px;
}

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

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.author-info h3 {
    margin-bottom: 5px;
    font-size: 18px;
}

.author-info p {
    color: var(--gray);
}

/* Projects Section */
.projects {
    padding: 100px 0;
    background-color: var(--light);
}

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

.project-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.project-image {
    width: 100%;
    height: 200px;
    background-color: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
}

.project-content {
    padding: 25px;
}

.project-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.tag {
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

/* Carousel Styles */
.carousel-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background-color: #e5e7eb;
}

.carousel-slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-slide img[src*="dashboard.png"] {
    object-fit: contain;
}

/* Clientes y Partners Sections */
.clients-section, .partners-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.clients-section:nth-of-type(even), .partners-section:nth-of-type(even) {
    background: white;
}

.logos-carousel {
    margin-top: 60px;
    overflow: hidden;
    position: relative;
    height: 160px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.logos-track {
    display: flex;
    align-items: center;
    height: 100%;
    animation: scroll-logos 20s linear infinite;
    width: max-content;
}

.logo-item {
    height: 120px;
    margin: 0 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.logo-item:hover {
    opacity: 1;
}

.logo-item img {
    max-height: 90px;
    max-width: 200px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.logos-carousel:hover .logos-track {
    animation-play-state: paused;
}

/* About Page Styles */
.about-content {
    padding: 60px 0 100px;
}

.about-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 50px;
    margin-bottom: 80px;
}

.about-text h2 {
    margin-top: 30px;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--gray);
}

.about-image {
    background-color: #e5e7eb;
    border-radius: 10px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder {
    color: var(--gray);
    font-size: 24px;
}

.values-section {
    margin: 80px 0;
}

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

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

.value-icon {
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 20px;
    font-size: 24px;
}

.team-section {
    margin: 80px 0;
    text-align: center;
}

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

.team-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.member-image {
    width: 100%;
    height: 250px;
    background-color: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-card h3 {
    margin: 20px 0 5px;
}

.role {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 10px;
}

.team-card p {
    padding: 0 20px 20px;
    color: var(--gray);
}

/* Contact Page Styles */
.contact-content {
    padding: 60px 0 100px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 80px;
}

.contact-methods {
    margin: 40px 0;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-icon {
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-details h3 {
    margin-bottom: 5px;
    font-size: 18px;
}

.contact-details p {
    color: var(--gray);
    margin-bottom: 5px;
}

.social-media h3 {
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    transition: transform 0.3s, box-shadow 0.3s;
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}

.social-icon.facebook {
    background-color: #1877F2;
}

.social-icon.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icon.linkedin {
    background-color: #0A66C2;
}

.social-icon.twitter {
    background-color: #1DA1F2;
}

.contact-form-container {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-form {
    margin-top: 20px;
}

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

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

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

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    outline: none;
}

.submit-button {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: var(--primary-dark);
}

.map-section {
    margin: 80px 0;
    text-align: center;
}

.map-placeholder {
    background-color: #e5e7eb;
    border-radius: 10px;
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}

.map-placeholder span {
    font-size: 24px;
    color: var(--gray);
    margin-bottom: 10px;
}

.faq-section {
    margin: 80px 0;
}

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

.faq-item {
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.faq-item h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.faq-item p {
    color: var(--gray);
}

/* Call to Action Section */
.cta {
    padding: 100px 0;
    background-color: var(--primary);
    color: white;
    text-align: center;
}

.cta h2 {
    color: white;
}

.cta .subtitle {
    color: rgba(255,255,255,0.8);
}

.cta-button-white {
    background-color: white;
    color: var(--primary);
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    display: inline-block;
    margin-top: 30px;
}

.cta-button-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

.whatsapp-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    color: white;
    font-size: 28px;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-button:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    color: white;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
    100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
}

/* Responsive WhatsApp Button */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-button {
        width: 55px;
        height: 55px;
        font-size: 24px;
    }
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 60px 0 30px;
}

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

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: white;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .service-detailed-item {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-detailed-item.reverse {
        direction: ltr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    h1 {
        font-size: 36px;
    }
    
    .hero {
        padding: 140px 0 80px;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .service-detailed-item {
        flex-direction: column;
    }
    
    .service-detailed-image {
        flex: 0 0 100%;
        max-width: 100%;
        height: auto;
        margin-bottom: 20px;
    }
    
    .service-detailed-content {
        padding: 0 30px 30px 30px;
    }
}

.img-resize{
    width: 80%;
    height: auto;
    object-fit: cover;
}
