:root {
    /* Color Palette - Secundus Theme */
    --primary-50: #e3f2fd;
    --primary-100: #bbdefb;
    --primary-500: #2196f3;
    --primary-600: #1e88e5;
    --primary-700: #1976d2;
    --primary-800: #1565c0;
    --primary-900: #0d47a1;

    --accent: #ffeb3b;
    /* For badges or highlights */

    --text-main: #1f2937;
    --text-muted: #6b7280;
    --text-light: #9ca3af;

    --bg-white: #ffffff;
    --bg-light: #f3f4f6;
    --bg-dark: #111827;

    --success: #10b981;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    --radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-white);
    color: var(--text-main);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 5rem 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-dark {
    background-color: var(--bg-dark);
}

.text-white {
    color: var(--bg-white);
}

/* --- Header & Nav --- */
.header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--primary-50);
    padding: 1rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 48px;
    width: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    transition: color 0.3s;
}

.nav a:hover {
    color: var(--primary-600);
}

.nav-cta {
    background-color: var(--primary-600);
    color: white !important;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
}

.nav-cta:hover {
    background-color: var(--primary-700);
    box-shadow: var(--shadow-md);
}

.lang-switch {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.9rem;
    border-left: 1px solid var(--text-light);
    padding-left: 1rem;
}

.lang-switch .active {
    font-weight: 800;
    color: var(--primary-800);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- Hero --- */
.hero {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-50) 0%, white 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badget {
    display: inline-block;
    background: var(--primary-100);
    color: var(--primary-900);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 700;
    color: var(--primary-900);
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

/* --- Buttons --- */
.btn-primary,
.btn-secondary,
.btn-outline,
.btn-submit {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.btn-primary,
.btn-submit {
    background-color: var(--primary-600);
    color: white;
    border: none;
}

.btn-primary:hover,
.btn-submit:hover {
    background-color: var(--primary-700);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: white;
    color: var(--primary-700);
    border: 1px solid var(--primary-100);
}

.btn-secondary:hover {
    background-color: var(--primary-50);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-600);
    color: var(--primary-600);
    width: 100%;
}

.btn-outline:hover {
    background-color: var(--primary-50);
}

/* --- Process Section --- */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-900);
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.step-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    position: relative;
    border-top: 4px solid var(--primary-500);
}

.step-number {
    background: var(--primary-100);
    color: var(--primary-800);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
    margin-bottom: 1rem;
}

.step-card h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-900);
}

.process-extra {
    text-align: center;
    background: var(--primary-900);
    color: white;
    padding: 2rem;
    border-radius: var(--radius);
}

.process-extra h3 {
    margin-bottom: 0.5rem;
}

/* --- Pricing --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.pricing-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--primary-100);
    transition: transform 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.pricing-card.popular {
    border: 2px solid var(--primary-500);
    box-shadow: var(--shadow-lg);
    z-index: 10;
}

.popular-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-600);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.card-header {
    margin-bottom: 1.5rem;
}

.pricing-card h3 {
    color: var(--primary-800);
    margin-bottom: 0.5rem;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-main);
}

.period {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-muted);
}

.price-extra {
    font-size: 0.9rem;
    color: var(--primary-600);
    font-weight: 500;
}

.features-list {
    list-style: none;
    margin-bottom: 2rem;
}

.features-list li {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    display: flex;
    gap: 0.5rem;
}

.pricing-note {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.pricing-card a {
    margin-top: auto;
    width: 100%;
}

/* --- Benefits --- */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.benefit-item {
    text-align: center;
}

.benefit-item .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-item h3 {
    margin-bottom: 0.5rem;
    color: white;
}

.benefit-item p {
    color: var(--primary-100);
    font-size: 0.9rem;
}

/* --- About & Contact --- */
.about-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: var(--bg-light);
    padding: 3rem;
    border-radius: var(--radius);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    font-size: 2.5rem;
    color: var(--primary-900);
    margin-bottom: 1rem;
}

.contact-details {
    margin-top: 2rem;
}

.detail-item {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.detail-item a {
    color: var(--primary-600);
    text-decoration: none;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-main);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--primary-100);
    border-radius: 8px;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px var(--primary-50);
}

.btn-submit {
    width: 100%;
    margin-top: 1rem;
}

/* --- Footer --- */
.footer {
    background: white;
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid var(--bg-light);
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* --- WhatsApp Float --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float img {
    width: 35px;
    height: 35px;
}

/* --- Responsive (Mobile) --- */
@media (max-width: 900px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--primary-100);
        display: none;
        /* Hidden by default */
    }

    .nav.active {
        display: flex;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        order: 1;
        /* Before image */
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image-container {
        order: 2;
        /* After text */
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .pricing-card.popular {
        transform: none;
    }
}

/* --- Technologies Section --- */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tech-card {
    background: white;
    padding: 1.5rem;
    text-align: center;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s;
    border: 1px solid var(--primary-50);
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.tech-icon {
    font-size: 1.8rem;
    font-weight: 800;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

/* Brand Colors for Tech Icons */
.tech-icon.google {
    background: #EA4335;
}

/* Google Red */
.tech-icon.microsoft {
    background: #00A4EF;
}

/* Microsoft Blue */
.tech-icon.aws {
    background: #FF9900;
}

/* AWS Orange */
.tech-icon.zapier {
    background: #FF4F00;
}

/* Zapier Orange */

.tech-card h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-900);
}

.tech-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* --- Footer Updates --- */
.location {
    font-size: 0.85rem;
    color: var(--primary-600);
    margin-top: 0.5rem;
    font-weight: 500;
}

/* --- Clients Section --- */
.clients-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.client-link {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-700);
    text-decoration: none;
    padding: 1rem 2rem;
    background: white;
    border: 1px solid var(--primary-100);
    border-radius: 8px;
    transition: all 0.2s;
}

.client-link:hover {
    background: var(--primary-50);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

/* --- Tech Icons (SVG) --- */
.tech-icon-svg {
    width: 65px;
    height: 65px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Refined Hero Section (Smaller Factor) --- */
.hero {
    /* Reset previous hero styles if needed or overwrite */
    padding: 0;
    background: none;
    height: auto;
}

.hero-banner {
    background-image: url('assets/img/hero-banner.png');
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 5rem 0;
    /* Smaller factor */
    color: white;
    text-align: center;
}

.hero-overlay {
    background: rgba(255, 255, 255, 0.85);
    /* Light overlay for text readability */
    border-radius: 16px;
    padding: 3rem;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
}

.hero-logo-large {
    height: 60px;
    margin-bottom: 1.5rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.hero-banner h1 {
    font-size: 2.5rem;
    color: var(--primary-900);
    margin-bottom: 1rem;
}

.hero-banner p {
    font-size: 1.2rem;
    color: var(--gray-700);
    margin-bottom: 2rem;
}

/* --- Clients Carousel --- */
.clients-carousel-container {
    overflow-x: auto;
    padding: 1rem 0 2rem;
    -webkit-overflow-scrolling: touch;
}

.clients-carousel {
    display: flex;
    gap: 2rem;
    padding: 0 1rem;
    min-width: min-content;
    /* Ensure it scrolls */
}

.client-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 1.5rem;
    min-width: 250px;
    width: 250px;
    text-align: center;
    transition: transform 0.2s;
    box-shadow: var(--shadow-sm);
}

.client-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.client-logo {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    border-radius: 8px;
    /* Optional rounded corners */
}

.client-card h4 {
    color: var(--primary-900);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.client-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.client-link-btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    color: var(--primary-600);
    border: 1px solid var(--primary-200);
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s;
}

.client-link-btn:hover {
    background: var(--primary-50);
    border-color: var(--primary-600);
}

/* --- Hero Split Layout --- */
.hero-split-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.hero-left {
    flex: 1;
    text-align: left;
    color: var(--primary-900);
}

.hero-left h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    line-height: 1.1;
    color: var(--primary-900);
}

.hero-left p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    color: var(--gray-700);
    max-width: 600px;
    line-height: 1.6;
}

.hero-floating-card {
    flex: 0 0 350px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.hero-floating-card h2 {
    font-size: 1.5rem;
    color: var(--primary-800);
    margin-top: 1rem;
    margin-bottom: 0;
    line-height: 1.3;
}

.hero-banner-human {
    background-image: url('assets/img/hero-human.png');
    background-size: cover;
    background-position: center;
    padding: 5rem 0;
    position: relative;
}

/* Mobile Responsive for Split */
@media (max-width: 900px) {
    .hero-split-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-left {
        text-align: center;
        margin-bottom: 2rem;
    }

    .hero-left p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-floating-card {
        width: 100%;
        max-width: 400px;
    }
}

/* Variant for index2.html */
.hero-banner-human {
    background-image: url('assets/img/hero-human.png');
    background-size: cover;
    background-position: center;
    padding: 5rem 0;
    position: relative;
    /* Ensure text is readable if image is busy */
}

/* Ensure overlay on human version if needed */
.hero-banner-human::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.4);
    /* Light overlay to help text readability */
    pointer-events: none;
}

/* Ensure content is above overlay */
.hero-banner-human .container {
    position: relative;
    z-index: 2;
}

/* --- Refined Transparency for Human Hero --- */
.hero-banner-human {
    /* Overlay built into background definition for better control */
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('assets/img/hero-human.png');
    background-size: cover;
    background-position: center;
    padding: 5rem 0;
    position: relative;
    color: white;
    /* Ensure text is white */
}

.hero-banner-human h1,
.hero-banner-human p {
    color: white !important;
    /* Force white text for contrast */
}

/* --- Carousel Arrows --- */
.clients-carousel-wrapper {
    position: relative;
    padding: 0 2rem;
    /* Make space for arrows */
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 1px solid var(--gray-200);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    z-index: 10;
    font-size: 1.2rem;
    color: var(--primary-600);
    transition: all 0.2s;
}

.carousel-btn:hover {
    background: var(--primary-50);
    color: var(--primary-800);
}

.carousel-btn.prev {
    left: -10px;
}

.carousel-btn.next {
    right: -10px;
}

/* Hide scrollbar but keep functionality */
.clients-carousel {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.clients-carousel::-webkit-scrollbar {
    display: none;
}