/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --primary-blue: #0c6170;
    /* Midnight Blue */
    --dark-blue: #0c6170;
    /* Midnight Blue (same as primary) */
    --electric-blue: #37beb0;
    /* Blue Green */
    --accent-blue: #a4e5e0;
    /* Tiffany Blue */
    --light-blue: #dbf5f0;
    /* Baby Blue */
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-100: #f3f4f6;
    --white: #ffffff;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-main: 'Inter', sans-serif;
    --font-tech: 'JetBrains Mono', monospace;
    --text-white: #FFFFFF;
    --text-gray: #94A3B8;
    --primary-cyan: #2DD4BF;
    --secondary-indigo: #6366F1;

    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 100px 0;
    --section-padding-mobile: 60px 0;

    /* Shadows */
    --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);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* {
    box-sizing: border-box;
}

/* === LENIS SMOOTH SCROLL === */
html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--gray-800);
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    width: 100%;
}

/* Navigation Styles */
.navbar {
    background: rgba(2, 6, 23, 0.75) !important;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 30px;
    position: fixed;
    width: 92%;
    max-width: 1200px;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
    border-radius: 100px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.4);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
    height: 50px;
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10;
}

.nav-logo h2 {
    font-family: var(--font-main);
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--text-white) !important;
    margin: 0;
    letter-spacing: -1.2px;
    white-space: nowrap;
}

.logo-image {
    width: 46px;
    object-fit: contain;
}

.nav-menu {
    position: absolute;
    left: 0;
    right: 0;
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.nav-menu li {
    pointer-events: all;
}

.nav-link {
    font-family: var(--font-main);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-white) !important;
    text-decoration: none;
    opacity: 0.7;
    transition: 0.3s;
}

.nav-link:hover {
    opacity: 1;
    color: var(--primary-cyan) !important;
}

.nav-cta {
    z-index: 10;
}

/* === BTN-HEADER: Estilo gradiente === */
.btn-header {
    background: linear-gradient(90deg, var(--primary-cyan), var(--secondary-indigo));
    color: var(--bg-dark) !important;
    padding: 10px 28px;
    border-radius: 100px;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    border: none;
    box-shadow: 0 4px 15px rgba(45, 212, 191, 0.3);
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.28s ease;
}

.btn-header:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 8px 25px rgba(45, 212, 191, 0.5);
}

.btn-header:active {
    transform: translateY(-1px) scale(1.01);
}

/* === MOBILE HAMBURGER MENU === */
.mobile-menu-btn {
    display: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.2rem;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    position: relative;
}

.mobile-menu-btn:hover {
    background: rgba(45, 212, 191, 0.15);
    border-color: var(--primary-cyan);
    color: var(--primary-cyan);
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--electric-blue) 100%);
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    min-height: 100vh;
}

.hero-content {
    color: var(--white);
    text-align: center;
    position: relative;
    z-index: 3;
    max-width: 800px;
}

.hero-title {
    font-size: clamp(2.3rem, 10vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.highlight {
    color: var(--electric-blue);
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: var(--font-primary);
    font-size: 1rem;
}

.btn-primary {
    background: var(--electric-blue);
    color: var(--gray-900);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}

/* Hero Visual */
.hero-visual {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0.3;
}

.hero-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 300px;
    height: 300px;
}

.hero-logo-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.8));
    animation: logoGlow 2s ease-in-out infinite alternate;
    position: relative;
    z-index: 3;
}

.hero-logo-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(circle, rgba(55, 190, 176, 0.6) 0%, rgba(164, 229, 224, 0.4) 30%, transparent 70%);
    border-radius: 50%;
    animation: pulseRing 2s ease-in-out infinite;
    z-index: -1;
    filter: blur(3px);
}

.hero-logo-image::after {
    content: '';
    position: absolute;
    top: -40px;
    left: -40px;
    right: -40px;
    bottom: -40px;
    background:
        radial-gradient(circle at 30% 30%, rgba(164, 229, 224, 0.8) 0%, transparent 60%),
        radial-gradient(circle at 70% 70%, rgba(55, 190, 176, 0.6) 0%, transparent 60%),
        radial-gradient(circle at 50% 50%, rgba(219, 245, 240, 0.4) 0%, transparent 80%);
    border-radius: 50%;
    animation: auraPulse 3s ease-in-out infinite;
    z-index: -2;
    filter: blur(8px);
}

@keyframes logoGlow {
    0% {
        filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 60px rgba(55, 190, 176, 0.6));
        transform: scale(1) rotate(0deg);
    }

    50% {
        filter: drop-shadow(0 0 40px rgba(164, 229, 224, 0.9)) drop-shadow(0 0 80px rgba(55, 190, 176, 0.8));
        transform: scale(1.1) rotate(1deg);
    }

    100% {
        filter: drop-shadow(0 0 50px rgba(55, 190, 176, 1)) drop-shadow(0 0 100px rgba(164, 229, 224, 0.7));
        transform: scale(1.15) rotate(-1deg);
    }
}

@keyframes pulseRing {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.4;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@keyframes auraPulse {
    0% {
        transform: scale(0.9) rotate(0deg);
        opacity: 0.6;
        filter: blur(8px);
    }

    25% {
        transform: scale(1.1) rotate(90deg);
        opacity: 0.8;
        filter: blur(6px);
    }

    50% {
        transform: scale(1.3) rotate(180deg);
        opacity: 0.4;
        filter: blur(10px);
    }

    75% {
        transform: scale(1.1) rotate(270deg);
        opacity: 0.7;
        filter: blur(7px);
    }

    100% {
        transform: scale(0.9) rotate(360deg);
        opacity: 0.6;
        filter: blur(8px);
    }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(12, 97, 112, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(55, 190, 176, 0.2) 0%, transparent 50%);
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: clamp(2rem, 7vw, 3.5rem);
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    padding: var(--section-padding);
    background: var(--light-blue);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--electric-blue));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    color: var(--white);
    font-size: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.service-description {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-examples,
.service-deliverables {
    margin-bottom: 1rem;
}

.service-examples li,
.service-deliverables {
    color: var(--gray-600);
    line-height: 1.6;
}

.service-ideal {
    background: var(--light-blue);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-blue);
}

.service-ideal strong {
    color: var(--gray-900);
}

/* Why Us Section */
.why-us {
    padding: var(--section-padding);
    background: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.why-card {
    text-align: center;
    padding: 2rem;
}

.why-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--electric-blue), var(--accent-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.why-icon i {
    color: var(--white);
    font-size: 2rem;
}

.why-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.why-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* All sections with an id are scroll targets. scroll-margin-top offsets
   the browser's scroll position so the fixed navbar never covers the title.
   Navbar: top(25px) + height(~70px) = ~95px. 100px gives clean clearance. */
section[id] {
    scroll-margin-top: 100px;
}

/* Contact Section */
/* === NEW CONTACT SECTION: Agentic Glassmorphism === */
.contact-agt-section {
    padding: 100px 0 120px;
    position: relative;
    background: transparent;
    z-index: 5;
}

.contact-glass-card {
    background: rgba(15, 23, 42, 0.4);
    /* Darker backdrop */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    padding: 60px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

.contact-agt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

@media (max-width: 850px) {
    .contact-agt-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-glass-card {
        padding: 40px 25px;
    }
}

.contact-agt-info h2 {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
}

.contact-agt-info p {
    font-size: 1.15rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 30px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
    font-weight: 500;
}

.contact-detail-item i {
    width: 40px;
    height: 40px;
    background: rgba(45, 212, 191, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-cyan);
    font-size: 1.1rem;
}

/* Form Styles */
.agt-form-group {
    margin-bottom: 25px;
    position: relative;
    text-align: left;
}

.agt-form-label {
    display: block;
    color: var(--text-gray);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: left;
}

.agt-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px 18px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.agt-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-cyan);
    box-shadow: 0 0 20px rgba(45, 212, 191, 0.15);
}

.agt-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

select.agt-input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394A3B8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 45px;
    cursor: pointer;
}

select.agt-input option {
    background: #0f172a;
    color: white;
    padding: 10px;
}

.agt-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-cyan), var(--secondary-indigo));
    color: #020617;
    border: none;
    border-radius: 12px;
    padding: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(45, 212, 191, 0.3);
    margin-top: 10px;
}

.agt-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(45, 212, 191, 0.4);
}

.agt-submit-btn:active {
    transform: translateY(-1px);
}

.agt-submit-btn i {
    font-size: 1.2rem;
    transition: 0.3s;
}

.agt-submit-btn:hover i {
    transform: translateX(5px);
}

/* Success/Loading UI for AJAX */
.form-success-msg {
    display: none;
    background: rgba(16, 185, 129, 0.1) !important;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(16, 185, 129, 0.3) !important;
    color: #10b981 !important;
    padding: 20px;
    border-radius: 16px;
    text-align: center;
    font-weight: 600;
    margin-top: 20px;
    animation: fadeInSuccess 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.1);
}

@keyframes fadeInSuccess {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === UNIVERSAL FOOTER v2 === */
.site-footer {
    background: #111827;
    border-top: 1px solid #1f2937;
    padding: 80px 0 40px;
    margin-top: 100px;
    color: #FFFFFF;
    position: relative;
    z-index: 10;
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo {
    height: 42px;
}

.footer-brand-name {
    font-size: 1.6rem;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: -1px;
}

.footer-nav-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-nav {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-nav a {
    color: #94A3B8;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
    font-size: 1.05rem;
}

.footer-nav a:hover {
    color: #2DD4BF;
}

.back-to-top {
    color: #2DD4BF;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.8;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.back-to-top:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.footer-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 25px;
}

.footer-social {
    display: flex;
    gap: 25px;
}

.footer-social a {
    color: #94A3B8;
    font-size: 2.4rem;
    /* +50% increase */
    transition: 0.3s;
}

.footer-social a:hover {
    color: #2DD4BF;
    transform: translateY(-4px);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 40px;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: #94A3B8;
    opacity: 0.6;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-actions {
        align-items: center;
    }

    .footer-nav {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Animations */

/* Mobile First - Ensure proper viewport handling */
@media screen and (max-width: 768px) {
    .nav-container {
        padding: 0 15px;
    }

    .nav-logo {
        gap: 0.5rem;
    }

    .nav-logo h2 {
        font-size: 1.3rem;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        padding: 2rem 20px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-visual {
        opacity: 0.2;
        position: relative;
        transform: none;
        top: auto;
        left: auto;
    }

    .hero-logo {
        width: 200px;
        height: 200px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Let's Talk inside mobile dropdown — hidden on desktop */
.nav-cta-mobile {
    display: none !important;
}

@media (max-width: 900px) {
    .nav-cta-mobile {
        display: list-item !important;
    }
}

@media (max-width: 900px) {
    .nav-cta {
        display: none !important;
    }

    .mobile-menu-btn {
        display: flex;
        margin-left: auto;
    }

    .nav-cta-mobile {
        display: list-item !important;
    }

    .nav-menu {
        display: none !important;
        position: fixed;
        top: 100px;
        left: 0;
        right: 0;
        margin: 0 auto;
        width: 90%;
        background: rgba(2, 6, 23, 0.98) !important;
        backdrop-filter: blur(30px) !important;
        -webkit-backdrop-filter: blur(30px) !important;
        border: 1px solid rgba(45, 212, 191, 0.4) !important;
        border-radius: 24px !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 20px !important;
        padding: 40px 20px !important;
        height: auto !important;
        min-height: 350px !important;
        box-shadow: 0 20px 80px rgba(0, 0, 0, 0.8) !important;
        visibility: visible !important;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .nav-menu.active {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: all !important;
        z-index: 10000 !important;
    }

    .hero-container {
        padding: 1rem 15px;
        min-height: 80vh;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .hero-visual {
        opacity: 0.15;
        margin-top: 2rem;
    }

    .hero-logo {
        width: 150px;
        height: 150px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-container {
        padding: 0.5rem 10px;
        min-height: 70vh;
    }

    .hero-title {
        font-size: 1.8rem;
        line-height: 1.1;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .hero-logo {
        width: 120px;
        height: 120px;
    }

    .nav-logo h2 {
        font-size: 1.2rem;
    }

    .logo-image {
        height: 30px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .service-card {
        padding: 1.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Form validation styles */
.form-group input:invalid:not(:focus):not(:placeholder-shown),
.form-group textarea:invalid:not(:focus):not(:placeholder-shown) {
    border-color: #dc2626;
}

.form-group input:valid:not(:focus):not(:placeholder-shown),
.form-group textarea:valid:not(:focus):not(:placeholder-shown) {
    border-color: #10b981;
}

/* Loading states */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Utility classes */
.text-center {
    text-align: center;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    text-decoration: none;
    animation: softHeartbeat 2s infinite;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #1ebe57;
    color: white;
}

@keyframes softHeartbeat {
    0% {
        transform: scale(1);
    }

    15% {
        transform: scale(1.08);
    }

    30% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.04);
    }

    60% {
        transform: scale(1);
    }

    100% {
        transform: scale(1);
    }
}

/* GLOBAL BACKGROUND GLOW EFFECT */
.hero-glow {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, rgba(2, 6, 23, 0) 80%);
    z-index: -1;
    pointer-events: none;
}

/* === PREMIUM SCROLL REVEAL SYSTEM === */
.reveal {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-up {
    transform: translateY(30px);
}

.reveal-down {
    transform: translateY(-30px);
}

.reveal-left {
    transform: translateX(-30px);
}

.reveal-right {
    transform: translateX(30px);
}

.reveal-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translate(0, 0);
}

/* Staggered Delays for Sequential Entrance */
.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

.delay-400 {
    transition-delay: 400ms;
}

.delay-500 {
    transition-delay: 500ms;
}

/* === IMMEDIATE HERO ENTRANCE (onLoad) === */
@keyframes heroEntrance {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-reveal {
    opacity: 0;
    animation: heroEntrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-delay-1 {
    animation-delay: 0.1s;
}

.hero-delay-2 {
    animation-delay: 0.2s;
}

.hero-delay-3 {
    animation-delay: 0.3s;
}

.hero-delay-4 {
    animation-delay: 0.4s;
}

.hero-delay-5 {
    animation-delay: 0.5s;
}

/* === EXCLUSIVE MOBILE/TABLET SCROLL FIXES (max-width: 1024px) === */
@media (max-width: 1024px) {

    /* 1. Force Overflow and Height */
    .services-agentic,
    .service-agt-card,
    .service-agt-card * {
        overflow: visible !important;
        height: auto !important;
    }

    /* Force pseudo-elements (glows/backgrounds) to strictly respect the parent's rounded corners.
       Because overflow: visible disables clipping, the child elements must clip themselves. */
    .service-agt-card::before,
    .service-agt-card::after,
    .hero-feature-pill::before,
    .hero-feature-pill::after {
        border-radius: inherit !important;
    }

    /* 2. Universal touch-action to pan-y */
    .services-agentic,
    .services-agentic *,
    .service-agt-card,
    .service-agt-card *,
    .service-checklist-container,
    .service-checklist-container *,
    .checklist-toggle-btn {
        touch-action: pan-y !important;
    }

    /* 3. Disable Scroll Reveal and will-change layers */
    .reveal,
    .reveal-up,
    .reveal-down,
    .reveal-left,
    .reveal-right,
    .service-agt-card {
        opacity: 1 !important;
        transform: none !important;
        pointer-events: auto !important;
        will-change: auto !important;
        transition: none !important;
    }
}