body {
    font-family: 'Roboto', sans-serif;
}

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;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

.cube-container {
    position: absolute;
    width: 80px;
    height: 80px;
}

.cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(-30deg) rotateY(30deg) translateY(0);
    animation: floatCube 3s ease-in-out infinite alternate;
}

.face {
    position: absolute;
    width: 80px;
    height: 80px;
    border: 1px solid white;
    opacity: 0.8;
}

/* Different colored faces - Transparent with black borders */
.front {
    transform: translateZ(40px);
    background: rgba(128, 128, 128, 0.3);
    border: 2px solid #000;
}

.back {
    transform: rotateY(180deg) translateZ(40px);
    background: rgba(144, 144, 144, 0.3);
    border: 2px solid #000;
}

.left {
    transform: rotateY(-90deg) translateZ(40px);
    background: rgba(112, 112, 112, 0.3);
    border: 2px solid #000;
}

.right {
    transform: rotateY(90deg) translateZ(40px);
    background: rgba(133, 133, 133, 0.3);
    border: 2px solid #000;
}

.top {
    transform: rotateX(90deg) translateZ(40px);
    background: rgba(149, 149, 149, 0.3);
    border: 2px solid #000;
}

.bottom {
    transform: rotateX(-90deg) translateZ(40px);
    background: rgba(117, 117, 117, 0.3);
    border: 2px solid #000;
}

@keyframes floatCube {
    0% {
        transform: rotateX(-30deg) rotateY(30deg) translateY(0);
    }

    100% {
        transform: rotateX(-30deg) rotateY(30deg) translateY(-20px);
    }
}

.cube2 {
    top: 53%;
    left: 84%;
    animation-duration: 4s;
    animation-delay: 0.2s;
}

.cube3 {
    top: 80%;
    left: 35%;
    animation-duration: 2.5s;
    animation-delay: 0.4s;
}

.cube4 {
    top: 25%;
    left: 5%;
    animation-duration: 3.5s;
    animation-delay: 0.6s;
}

:root {
    --blue: #003d80;
    /* rich medium-dark blue */
    --blue-2: #002D5E;
    /* electric blue glow */
}


.click-pulse {
    position: fixed;
    border-radius: 50%;
    background: radial-gradient(circle, var(--blue-2) 0%, rgba(0, 170, 255, 0) 70%);
    animation: pulse 0.6s ease-out forwards;
}

@keyframes pulse {
    from {
        opacity: 1;
        width: 14px;
        height: 14px;
    }

    to {
        opacity: 0;
        width: 140px;
        height: 140px;
    }
}

h1,
h2,
h3 {
    font-family: 'Poppins', sans-serif;
}

.navbar {
    transition: background-color 0.3s ease-in-out;
    z-index: 1100 !important;
}

#navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    margin: 15px auto;
    max-width: 95%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.navbar-brand {
    flex-shrink: 0;
}

.navbar-links-zone {
    flex: 0 1 auto;
    display: flex;
    justify-content: flex-end;
    margin-left: auto;
    min-width: 0;
}

.navbar-links-zone .navbar-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 32px;
    margin: 0;
}

.navbar-links-zone .nav-link {
    padding: 0.5rem 0;
    white-space: nowrap;
}

.navbar-desktop-only {
    display: none;
}

.navbar-mobile-only {
    display: none;
    flex-shrink: 0;
}

.navbar-mobile-only.custom-menu-toggle {
    display: flex;
}

/* Desktop: logo left, nav links right — hide hamburger on large screens */
@media (min-width: 992px) {
    .navbar-desktop-only {
        display: flex;
    }

    .navbar-mobile-only,
    .navbar-mobile-only.custom-menu-toggle {
        display: none !important;
    }
}

/* Compact desktop spacing for narrower screens */
@media (min-width: 992px) and (max-width: 1280px) {
    .navbar-links-zone .navbar-nav {
        gap: 20px;
    }

    .navbar-links-zone .nav-link {
        font-size: 0.9rem;
    }

    .nav-whatsapp-btn {
        font-size: 0.85rem;
        padding: 0.5rem 1rem !important;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Process timeline */
.process-section {
    --process-ease: cubic-bezier(0.16, 1, 0.3, 1);
    --process-duration: 650ms;
    padding: clamp(5rem, 10vw, 9rem) 0;
    background: #ffffff;
    color: #111;
}

.process-intro {
    max-width: 820px;
    margin-bottom: clamp(4rem, 8vw, 7rem);
}

.process-eyebrow {
    margin: 0 0 1.25rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.process-heading {
    max-width: 72%;
    margin: 0;
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1.04;
    letter-spacing: 0;
}

.process-subtext {
    max-width: 590px;
    margin: 1.75rem 0 0;
    color: #5f6672;
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    line-height: 1.7;
}

.process-reveal,
.process-step {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--process-duration) var(--process-ease),
        transform var(--process-duration) var(--process-ease);
}

.process-reveal.is-visible,
.process-step.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.site-section-header {
    max-width: 820px;
    margin-bottom: clamp(3rem, 6vw, 5rem);
}

.section-header-left {
    margin-right: auto;
    text-align: left;
}

.section-header-center {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.section-eyebrow {
    margin: 0 0 1.25rem;
    color: #7a818c;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1.2;
    text-transform: uppercase;
}

.site-section-heading {
    max-width: 72%;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 500 !important;
    line-height: 1.04;
}

.site-section-subtext {
    max-width: 590px;
    margin: 1.5rem 0 0;
    color: #5f6672;
    font-family: 'Roboto', sans-serif;
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    line-height: 1.7;
}

.section-header-center .site-section-heading,
.section-header-center .site-section-subtext {
    margin-right: auto;
    margin-left: auto;
}

#services .site-section-heading {
    max-width: 100%;
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1.04;
}

#services .site-section-subtext {
    max-width: 100%;
}

#services .card-body p {
    font-size: 1rem !important;
    line-height: 1.55 !important;
}

#services .card-body {
    padding: 2rem 1.5rem !important;
}

#services .card-body > div:first-child svg {
    display: block;
    margin-right: auto;
    margin-left: auto;
}

#about .row {
    align-items: center;
}

#about .about-copy .site-section-header {
    max-width: 100%;
    margin-bottom: 1.25rem;
}

#about .about-copy .section-eyebrow {
    margin-bottom: 0.8rem;
}

#about .about-copy .site-section-heading {
    max-width: 100%;
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1.04;
}

#about .about-copy .site-section-subtext {
    max-width: 590px;
    margin-top: 1rem;
    line-height: 1.6;
}

#about .about-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

#about .about-image img {
    max-width: 78% !important;
}

#contact .site-section-header {
    max-width: 100%;
    text-align: center;
}

#contact .site-section-heading {
    max-width: 100%;
    font-size: clamp(2rem, 4vw, 4rem);
}

#contact .site-section-subtext {
    margin-right: auto;
    margin-left: auto;
}

#contact .contact-actions > .col-md-6 {
    width: 100%;
}

#contact .contact-actions {
    margin-bottom: 2rem;
}

#contact .contact-actions .card {
    height: 100%;
    margin-bottom: 0;
}

#contact .contact-actions .card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#contact .contact-actions .card-body > .mb-3 {
    align-self: center;
}

#contact .contact-actions p {
    margin-right: 0;
    margin-left: 0;
    text-align: center;
}

#contact .contact-form-card > .card-body > h4 {
    text-align: center;
}

#contact .contact-action-button {
    display: block;
    width: 100%;
    text-align: center;
}

#contact .contact-form-card {
    margin-top: 0;
}

@media (min-width: 768px) {
    #contact > .container > .row > .col-lg-4 {
        padding-right: 1.5rem;
    }

    #contact > .container > .row > .col-lg-8 {
        padding-left: 1.5rem;
    }
}

@media (min-width: 992px) {
    #contact .contact-actions > .col-md-6 {
        display: none;
    }
}

@media (max-width: 767px) {
    .site-section-heading {
        max-width: 100%;
        font-size: clamp(1.7rem, 8vw, 2.8rem);
        font-weight: 700 !important;
    }

    #about .about-copy > a {
        display: block;
        width: fit-content;
        margin-right: auto;
        margin-left: auto;
    }

    #services .site-section-header {
        text-align: center;
    }

    #services .site-section-heading,
    #services .site-section-subtext {
        margin-right: auto;
        margin-left: auto;
    }

    #about .about-copy .site-section-heading,
    #services .site-section-heading,
    #contact .site-section-heading {
        font-size: clamp(1.7rem, 8vw, 2.8rem);
        font-weight: 700 !important;
        line-height: 1.04;
    }

    #about .about-image img {
        max-width: 72% !important;
    }

    #contact .contact-actions {
        margin-bottom: 1.5rem;
    }

    #contact .contact-actions .card-body > .mb-3 {
        align-self: center;
    }
}

.process-timeline {
    position: relative;
    max-width: 900px;
    margin-left: clamp(0rem, 8vw, 7rem);
}

.process-spine {
    position: absolute;
    top: 1.1rem;
    bottom: 1.1rem;
    left: 1rem;
    width: 1px;
    background: rgba(17, 17, 17, 0.16);
    overflow: hidden;
}

.process-spine-progress {
    display: block;
    width: 100%;
    height: 100%;
    background: currentColor;
    transform: scaleY(0);
    transform-origin: top;
    will-change: transform;
}

.process-steps {
    display: grid;
    gap: clamp(4rem, 8vw, 7rem);
    margin: 0;
    padding: 0;
    list-style: none;
}

.process-step {
    position: relative;
    padding-left: clamp(3.5rem, 8vw, 7rem);
}

.process-node {
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    width: 2.1rem;
    height: 2.1rem;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 50%;
    background: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    transform: scale(0.7);
    transition: transform 500ms var(--process-ease);
}

.process-step.is-visible .process-node {
    transform: scale(1);
}

.process-step-number {
    display: block;
    margin-bottom: 0.8rem;
    color: #7a818c;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.process-step-title {
    margin: 0 0 0.65rem;
    font-size: clamp(1.5rem, 3vw, 2.3rem);
    line-height: 1.1;
}

.process-step-description {
    max-width: 650px;
    margin: 0;
    color: #5f6672;
    font-size: clamp(1rem, 1.7vw, 1.15rem);
    line-height: 1.7;
}

@media (max-width: 767px) {
    .process-heading {
        max-width: 100%;
        font-size: clamp(1.7rem, 8vw, 2.8rem);
        font-weight: 700;
    }

    .process-timeline {
        margin-left: 0;
    }

    .process-step {
        min-height: 7rem;
        padding-left: 3.5rem;
    }

    .process-spine {
        left: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .process-reveal,
    .process-step {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .process-node {
        transform: scale(1);
        transition: none;
    }
}

/* Per-card reveal: starts below & transparent, slides up + fades on viewport entry */
.card-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.55s cubic-bezier(0.165, 0.84, 0.44, 1),
                transform 0.55s cubic-bezier(0.165, 0.84, 0.44, 1);
    transition-delay: var(--card-delay, 0s);
}

.card-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.card {
    border-radius: 15px;
    overflow: hidden;
    /* keeps image inside card corners */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-font-smoothing: subpixel-antialiased;
}

.card:hover {
    transform: scale(1.05) translateZ(0);
    /* subtle card scale */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Disable hover effects for contact cards */
#contact .card {
    transform: none !important;
    transition: none !important;
}

#contact .card:hover {
    transform: none !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08) !important;
}

.card-img-top {
    transition: transform 0.5s ease;
}

.card:hover .card-img-top {
    transform: scale(1.15);
    /* image zoom */
}

.navbar.scrolled {
    background-color: #181818 !important;
}

.navbar.scrolled .nav-link,
.navbar.scrolled .navbar-brand {
    color: white !important;
}

.navbar.scrolled .btn-dark {
    background-color: white !important;
    color: black !important;
    border-color: white !important;
}

@media (max-width: 990px) and (min-width: 768px) {
    .col-md-4 {
        min-width: 320px;
    }
}

@media (max-width: 768px) {
    .cursor {
        visibility: hidden;
    }
}

@media (max-width:1070px) {
    #home h1 {
        margin-top: 0;
    }

    #home p {
        font-size: 20px;
    }
}

#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.loader-panel {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background: #111;
    transition: transform 1.2s cubic-bezier(0.8, 0, 0.2, 1);
    z-index: 1;
}

.left-panel {
    left: 0;
    border-right: 1px solid rgba(144, 235, 235, 0.1);
}

.right-panel {
    right: 0;
    border-left: 1px solid rgba(144, 235, 235, 0.1);
}

#loading-screen.hidden .left-panel {
    transform: translateX(-100%);
}

#loading-screen.hidden .right-panel {
    transform: translateX(100%);
}

.loader-content {
    position: relative;
    z-index: 2;
    text-align: center;
    transition: opacity 0.5s ease, transform 0.8s cubic-bezier(0.8, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

#loading-screen.hidden .loader-content {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.pricing-card {
    background: #ffffff;
    border: 2px solid #111;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    padding: 2rem 1.6rem;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.pricing-card.recommended {
    background: #111;
    color: #fff;
    border: 2px solid #111;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
}

.pricing-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #111;
    background: #f2f5ff;
    border: 1px solid rgba(17, 17, 17, 0.12);
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.pricing-card.recommended .pricing-badge {
    background: #fff;
    color: #111;
    border-color: #fff;
}

.pricing-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 0.6rem;
}

.pricing-card.recommended .pricing-title,
.pricing-card.recommended .pricing-price,
.pricing-card.recommended .pricing-text,
.pricing-card.recommended .pricing-features {
    color: #fff;
}

.pricing-price {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 0.9rem;
}

.pricing-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #445066;
    margin-bottom: 1rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.2rem 0;
    color: #111;
}

.pricing-features li {
    padding: 0.45rem 0;
    font-size: 0.98rem;
    position: relative;
    padding-left: 1.2rem;
}

.pricing-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #111;
    font-weight: 700;
}

.pricing-card.recommended .pricing-features li::before {
    color: #fff;
}

.pricing-btn {
    display: inline-block;
    padding: 0.8rem 1.2rem;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.pricing-btn:hover {
    background: #333;
    color: #fff;
    transform: translateY(-2px);
}

.pricing-card.recommended .pricing-btn {
    background: #fff;
    color: #111;
}

.pricing-card.recommended .pricing-btn:hover {
    background: #f2f2f2;
    color: #111;
}

/* 3D Cube Loader */
.loader-cube-wrapper {
    perspective: 1000px;
    width: 60px;
    height: 60px;
}

.loader-cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: loaderRotate 3s linear infinite;
}

.cube-face {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 2px solid #90EBEB;
    background: rgba(144, 235, 235, 0.1);
    box-shadow: 0 0 20px rgba(144, 235, 235, 0.3);
}

.cube-front {
    transform: rotateY(0deg) translateZ(30px);
}

.cube-back {
    transform: rotateY(180deg) translateZ(30px);
}

.cube-left {
    transform: rotateY(-90deg) translateZ(30px);
}

.cube-right {
    transform: rotateY(90deg) translateZ(30px);
}

.cube-top {
    transform: rotateX(90deg) translateZ(30px);
}

.cube-bottom {
    transform: rotateX(-90deg) translateZ(30px);
}

@keyframes loaderRotate {
    0% {
        transform: rotateX(0) rotateY(0) rotateZ(0);
    }

    100% {
        transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg);
    }
}

.loader-text {
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: textPulse 2s ease-in-out infinite;
}

@keyframes textPulse {

    0%,
    100% {
        opacity: 0.5;
        filter: blur(1px);
    }

    50% {
        opacity: 1;
        filter: blur(0);
    }
}

.loader-progress-container {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.loader-progress-bar {
    width: 0%;
    height: 100%;
    background: #90EBEB;
    box-shadow: 0 0 15px #90EBEB;
    animation: progressLoad 2.5s ease-in-out forwards;
}

@keyframes progressLoad {
    0% {
        width: 0;
    }

    100% {
        width: 100%;
    }
}

#content {
    opacity: 1;
    /* Keep at 1, handle entrance on children */
}

/* Hero — single-column, centered */
#home {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 112px 0 28px;
    background: #fff;
    color: #000;
}

#home #particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#home .hero-header {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1240px;
}

#home .hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
}

#home .hero-content {
    min-width: 0;
    max-width: 620px;
    text-align: left;
}

#home .hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin: 0 0 1.6rem;
    color: #555;
    font-family: 'Roboto', sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
}

#home .hero-eyebrow span {
    width: 24px;
    height: 1px;
    background: #111;
}

#home .hero-social-proof {
    justify-content: flex-start;
    margin-top: 2rem;
}

#home .hero-cta {
    align-items: center;
    justify-content: flex-start;
}

#home .hero-client-avatar {
    width: 40px;
    height: 40px;
    object-fit: cover;
}

#home .hero-client-avatar--overlap {
    margin-left: -15px;
}

#home .hero-client-rating {
    width: 40px;
    height: 40px;
    margin-left: -15px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 2;
}

#home .hero-client-logo {
    object-fit: cover;
}

#home .hero-social-copy {
    line-height: 1.2;
    margin-left: 5px;
}

#home .hero-stars {
    color: #f39c12;
    font-size: 0.85rem;
    margin-bottom: 2px;
}

#home .hero-trust-label {
    font-size: 0.9rem;
    color: #000;
}

#home .hero-headline {
    font-family: 'Poppins', sans-serif;
    max-width: 660px;
    margin: 0 0 1.4rem;
    font-size: clamp(3rem, 5vw, 4.5rem);
    line-height: 1.03;
    color: #000;
    font-weight: 800;
    white-space: normal;
}

#home .hero-headline-accent {
    color: #111;
}

#home .hero-headline em {
    color: inherit;
}

#home .hero-subheadline {
    max-width: 540px;
    margin: 0 0 1.8rem;
    color: #686868;
    font-size: 1.05rem;
    line-height: 1.65;
}

#home .hero-primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    min-height: 58px;
    border-radius: 5px;
    gap: 1rem;
    white-space: nowrap;
}

#home .hero-secondary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    min-height: 58px;
    padding: 0.75rem 1.15rem;
    border: 0;
    border-radius: 0;
    color: #161616;
    font-weight: 700;
    white-space: nowrap;
    align-self: center;
    transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

#home .hero-secondary-link:hover {
    border-color: #000;
    background-color: rgba(255, 255, 255, 0.7);
    color: #000;
    transform: translateY(-2px);
}

#home .hero-secondary-link:focus-visible {
    outline: 3px solid rgba(17, 17, 17, 0.35);
    outline-offset: 3px;
}

#home .hero-secondary-link i {
    transition: transform 0.25s ease;
}

#home .hero-secondary-link:hover i {
    transform: translateX(4px);
}

#home .hero-stats {
    margin: 0;
    padding: 0;
    border: 0;
}

#home .hero-stats-row {
    display: flex;
    justify-content: flex-end;
    gap: clamp(1.25rem, 3vw, 3rem);
}

#home .hero-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
}

#home .hero-stat-label {
    font-size: 0.8rem;
    color: #666;
}

#home .hero-stat {
    display: flex;
    align-items: baseline;
    gap: 0.55rem;
    white-space: nowrap;
}

#home .hero-visual {
    position: relative;
    min-width: 0;
    min-height: 430px;
    margin-top: 1.2rem;
}

#home .hero-visual-labels {
    display: flex;
    justify-content: space-between;
    margin: 0 0 1.4rem;
    color: #777;
    font-family: monospace;
    font-size: 0.58rem;
    letter-spacing: 0;
    text-transform: uppercase;
}

#home .hero-visual-labels span:last-child {
    color: #111;
}

#home .hero-browser-frame {
    position: absolute;
    top: 42px;
    right: 4%;
    width: 91%;
    overflow: hidden;
    border: 1px solid #d8d8d5;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.12);
}

#home .hero-browser-toolbar {
    display: grid;
    grid-template-columns: 48px 1fr 24px;
    align-items: center;
    gap: 0.7rem;
    height: 36px;
    padding: 0 0.7rem;
    border-bottom: 1px solid #e7e7e4;
    background: #fbfbfa;
}

#home .hero-browser-dots {
    display: flex;
    gap: 4px;
}

#home .hero-browser-dots i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #b7b7b3;
}

#home .hero-browser-address {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    height: 20px;
    border: 1px solid #e5e5e2;
    border-radius: 4px;
    color: #888;
    font-family: monospace;
    font-size: 0.55rem;
}

#home .hero-browser-plus {
    color: #666;
    font-size: 1rem;
    text-align: center;
}

#home .hero-browser-screen {
    height: 280px;
    overflow: hidden;
    background: #f4f4f1;
}

#home .hero-browser-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

#home .hero-assistant-card {
    position: absolute;
    right: 0;
    bottom: 10px;
    z-index: 2;
    width: min(258px, 58%);
    overflow: hidden;
    border: 1px solid rgba(17, 17, 17, 0.16);
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.17);
}

#home .hero-assistant-header {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem;
    background: #111;
    color: #fff;
}

#home .hero-assistant-icon {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 6px;
    font-size: 0.8rem;
}

#home .hero-assistant-title {
    flex: 1;
    font-size: 0.72rem;
    font-weight: 700;
}

#home .hero-assistant-title small,
#home .hero-lead-card small {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.56rem;
    font-weight: 400;
}

#home .hero-assistant-minimize {
    font-size: 1rem;
}

#home .hero-assistant-messages {
    display: grid;
    gap: 0.45rem;
    padding: 0.7rem;
}

#home .hero-assistant-messages p {
    max-width: 90%;
    margin: 0;
    padding: 0.5rem 0.6rem;
    border-radius: 6px;
    background: #f1f1ef;
    color: #333;
    font-size: 0.58rem;
    line-height: 1.4;
}

#home .hero-assistant-messages .hero-assistant-user {
    justify-self: end;
    background: #111;
    color: #fff;
}

#home .hero-assistant-input {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 0.7rem 0.7rem;
    padding: 0.45rem 0.55rem;
    border: 1px solid #dededb;
    border-radius: 5px;
    color: #888;
    font-size: 0.55rem;
}

#home .hero-assistant-input i {
    color: #111;
}

#home .hero-lead-card {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: min(228px, 54%);
    padding: 0.8rem;
    border: 1px solid #e1e1de;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

#home .hero-lead-check {
    display: grid;
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid #111;
    border-radius: 50%;
    color: #111;
    font-size: 0.6rem;
}

#home .hero-lead-card strong {
    font-size: 0.67rem;
}

#home .hero-lead-card small {
    color: #777;
}

#home .hero-lead-card small b {
    margin-left: 0.3rem;
    font-family: monospace;
    font-size: 0.48rem;
    font-weight: 400;
    text-transform: uppercase;
}

#home .hero-bottomline {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 1.2rem;
    border-top: 1px solid #dededb;
}

#home .hero-business-label span,
#home .hero-business-label strong {
    display: block;
}

#home .hero-business-label span {
    margin-bottom: 0.35rem;
    color: #777;
    font-family: monospace;
    font-size: 0.58rem;
    text-transform: uppercase;
}

#home .hero-business-label strong {
    font-size: 0.74rem;
    font-weight: 500;
}

#home .hero-social-copy {
    line-height: 1.2;
    margin-left: 5px;
}

#home .hero-stars strong {
    margin-left: 0.35rem;
    color: #111;
    font-size: 0.76rem;
}

#home .hero-trust-label {
    color: #666;
    font-size: 0.75rem;
    font-weight: 400 !important;
}

#home .hero-scroll-indicator {
    display: none;
    position: relative;
    margin-top: 1rem;
    z-index: 10;
    pointer-events: auto;
}

#home .hero-scroll-lottie {
    width: 72px;
    height: 72px;
    cursor: pointer;
}

@media (min-width: 992px) {
    #home .hero-scroll-indicator {
        display: block;
    }
}

@media (max-width: 991px) {
    #home {
        min-height: auto;
        padding: 120px 0 40px;
    }

    #home .hero-layout {
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
        gap: 2rem;
    }

    #home .hero-headline {
        font-size: clamp(2.7rem, 5.2vw, 3.7rem);
    }

    #home .hero-visual {
        min-height: 370px;
    }

    #home .hero-browser-screen {
        height: 235px;
    }

    #home .hero-stat {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.15rem;
    }
}

@media (max-width: 767px) {
    #home {
        padding: 112px 0 36px;
    }

    #home .hero-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 2rem;
    }

    #home .hero-content {
        display: flex;
        flex-direction: column;
        max-width: 620px;
        text-align: left;
    }

    #home .hero-social-proof {
        order: -1;
        margin-top: 0;
        margin-bottom: 1.75rem;
    }

    #home .hero-headline {
        max-width: 100%;
        font-size: clamp(2.65rem, 9vw, 4rem);
        line-height: 1.04;
        text-align: left;
    }

    #home .hero-subheadline {
        max-width: 540px;
        text-align: left;
    }

    #home .hero-cta {
        align-items: flex-start !important;
    }

    #home .hero-visual {
        display: none;
    }

    #home .hero-browser-frame {
        right: 3%;
        width: 94%;
    }

    #home .hero-browser-screen {
        height: 255px;
    }

    #home .hero-bottomline {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        margin-top: 1.5rem;
    }

    #home .hero-stats-row {
        justify-content: space-between;
        gap: 1rem;
    }

    #home .hero-stat {
        align-items: flex-start;
        flex-direction: column;
    }

    #home .hero-social-proof {
        justify-content: flex-start;
    }

    #home .hero-social-copy {
        text-align: left;
    }

    #home .hero-scroll-indicator {
        display: none;
    }
}

@media (max-width: 420px) {
    #home .hero-visual {
        min-height: 345px;
    }

    #home .hero-browser-screen {
        height: 220px;
    }

    #home .hero-assistant-card {
        width: 62%;
    }

    #home .hero-lead-card {
        width: 55%;
        padding: 0.65rem;
    }

    #home .hero-stat-label {
        white-space: normal;
    }
}

/* Home Entrance Animations */
#home .animated-title,
#home .lead,
#home .d-flex,
#home .cube-container {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    transition: opacity 1s cubic-bezier(0.2, 1, 0.3, 1),
        transform 1s cubic-bezier(0.2, 1, 0.3, 1);
}

#home.hero-revealed .animated-title {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition-delay: 0.1s;
}

#home.hero-revealed .lead {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition-delay: 0.3s;
}

#home.hero-revealed .d-flex {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition-delay: 0.5s;
}

#home.hero-revealed .cube-container {
    opacity: 1;
    transform: translate(0) scale(1);
    transition-delay: 0.7s;
}

.btn-dark {
    transition: background-color 0.4s ease-in-out, color 0.4s ease-in-out, border-color 0.4s ease-in-out;
}

.btn-dark:hover {
    background-color: rgba(255, 255, 255, 0);
    color: black;
    border-color: black;
}

.navbar .nav-link {
    color: #111 !important;
    font-size: 1.1rem;
    margin: 0 10px;
    position: relative;
    transition: color 0.3s ease;
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #000;
    transition: width 0.3s cubic-bezier(0.65, 0, 0.35, 1);
}

.navbar .nav-link:hover::after {
    width: 100%;
}

.navbar .nav-link:hover {
    color: #000 !important;
}

/* Premium WhatsApp Button */
.nav-whatsapp-btn {
    background: #111;
    color: white !important;
    border: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.nav-whatsapp-btn:hover {
    transform: scale(1.05) translateY(-2px);
    background: #25D366 !important;
    /* WhatsApp Green */
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}


.btn-lg {
    transition: transform 0.4s ease-in-out, background-color 0.4s ease-in-out;
}

.btn-lg:hover {
    transform: scale(1.05);

}

.card {
    border-radius: 15px;
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.5s ease, color 0.5s ease;
}

.card:hover {
    transform: scale(1.1) rotate(2deg);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

footer a:not(i):hover {
    color: #FFD300;
    transition: color 0.3s ease-in-out;
}

footer a i:hover {
    color: #FFD300;
    transform: scale(1.2);
    transition: all 0.3s ease-in-out;
}

/* Modern Footer Styles */
.modern-footer {
    background-color: #ffffff;
    color: #000000;
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
    border-top: 1px solid #eee;
}

.footer-logo svg {
    color: #000000;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.3s ease;
}

.footer-logo:hover svg {
    transform: scale(1.1) rotate(2deg);
    filter: drop-shadow(0 0 20px rgba(255, 211, 0, 0.4));
}

.brand-tagline {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    color: #444;
    max-width: 400px;
    margin: 0 auto;
    letter-spacing: 1px;
}

.footer-links-horizontal {
    margin: 0;
    padding: 0;
}

.footer-links-horizontal li a {
    color: #444;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    font-size: 1rem;
}

.footer-links-horizontal li a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #111;
    transition: width 0.3s ease;
}

.footer-links-horizontal li a:hover {
    color: #000;
}

.footer-links-horizontal li a:hover::after {
    width: 100%;
}

.social-pill {
    background: rgba(0, 0, 0, 0.03);
    padding: 15px 30px;
    border-radius: 50px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: inline-flex;
}

.social-icon {
    color: #000000;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: #FFD300;
    transform: translateY(-5px);
}

.copyright-bar {
    border-color: rgba(0, 0, 0, 0.05) !important;
    color: #444;
    font-size: 0.9rem;
}

.legal-links a {
    color: #444;
    text-decoration: none;
}

.legal-links a:hover {
    color: #FFD300;
}

.animated-title span {
    display: inline-block;
    transition: transform 0.5s ease, color 0.5s ease;
}

.animated-title span.active {
    transform: scale(1.5);
    color: #FFD300;
}

.navbar-brand svg path {
    fill: black;
    transition: fill 0.5s ease-in-out;
}

.navbar-brand:hover svg path {
    fill: rgb(255, 255, 255);
}

.navbar.scrolled .navbar-brand svg path {
    fill: white;
}

.btn-custom-outline {
    border: 2px solid #212529;
    background-color: transparent;
    color: #212529;
    transition: all 0.5s ease;
}

.btn-custom-outline:hover {
    background-color: #212529;
    color: #fff;
    border: none;
}

#chatbot-wrapper {
    font-family: 'Poppins', sans-serif;
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    pointer-events: none;
    /* Allow clicks to pass through wrapper area */
}

/* Floating Button */
#chatbot-wrapper .chatbot-button {
    background: #111;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.24);
    pointer-events: auto;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    animation: floatButton 3s ease-in-out infinite;
}

#chatbot-wrapper .chatbot-button i {
    font-size: 28px;
}

#chatbot-wrapper .chatbot-button:hover {
    transform: scale(1.1) rotate(5deg);
    background: #fff;
    color: #111;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.24);
}

#chatbot-wrapper .chatbot-button.hidden {
    opacity: 0;
    transform: scale(0);
    pointer-events: none;
}

@keyframes floatButton {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* Chat Main Container */
#chatbot-wrapper .container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    width: 350px;
    height: 480px;
    position: absolute;
    bottom: 80px;
    left: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.4) translateY(40px) rotate(-5deg);
    transform-origin: bottom left;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.5);
    z-index: 10000;
}

@media (max-width: 576px) {
    #chatbot-wrapper .container {
        width: 88vw;
        height: 65vh;
        max-width: 330px;
        bottom: 80px;
        left: 0;
    }
}

#chatbot-wrapper .container.open {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1) translateY(0) rotate(0deg);
}

/* Header */
.chat-header {
    background: #111;
    padding: 15px 20px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.bot-avatar {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Messages Area */
.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    scrollbar-width: thin;
}

.quick-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.quick-option-btn {
    background: transparent;
    border: 1px solid #333;
    color: #111;
    border-radius: 12px;
    padding: 6px 12px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.quick-option-btn:hover {
    background: #111;
    color: white;
}

.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
}

.message {
    padding: 10px 15px;
    border-radius: 15px;
    font-size: 0.95rem;
    max-width: 80%;
    line-height: 1.4;
    word-wrap: break-word;
    animation: fadeInMessage 0.3s ease;
}

@keyframes fadeInMessage {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bot-message {
    align-self: flex-start;
    background: #f1f3f5;
    color: #333;
    border-bottom-left-radius: 2px;
}

.user-message {
    align-self: flex-end;
    background: #111;
    color: white;
    border-bottom-right-radius: 2px;
}

/* Input Area */
.chat-input-area {
    padding: 15px;
    background: white;
    border-top: 1px solid #eee;
}

.chat-input-area .input-group {
    background: #f8f9fa;
    border-radius: 25px;
    padding: 5px;
    border: 1px solid #e9ecef;
}

.chat-input-area input {
    border: none;
    background: transparent;
    padding: 10px 15px;
    font-size: 0.95rem;
}

.chat-input-area input:focus {
    box-shadow: none;
    background: transparent;
}

.chat-input-area .send-btn {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #111;
    color: white;
    border: none;
    transition: transform 0.2s;
}

.chat-input-area .send-btn:hover {
    transform: scale(1.05);
    background: #333;
}

/* Initial state for staggered animations */
.chat-header,
.chat-messages,
.chat-input-area {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#chatbot-wrapper .container.open .chat-header {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.15s;
}

#chatbot-wrapper .container.open .chat-messages {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

#chatbot-wrapper .container.open .chat-input-area {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.45s;
}

/* Media Queries */
@media (max-width: 600px) {
    .cube-container {
        display: none;
    }

    /* Reduce service card height on mobile */
    #services .card-body {
        padding: 1.5rem 1rem !important;
    }
    
    #services svg {
        display: block;
        margin-right: auto;
        margin-left: auto;
        height: 40px !important;
        margin-bottom: 10px !important;
    }
    
    #services h5 {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
        text-align: center !important;
    }
    
    #services p {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
        text-align: center !important;
    }
    
    #services .btn {
        font-size: 0.85rem !important;
        padding: 0.4rem 0.8rem !important;
    }

    #testimonials .testimonial-card {
        padding: 1.35rem !important;
    }

    #testimonials .testimonial-quote p {
        font-size: 0.95rem !important;
    }

    #testimonials .testimonial-author {
        font-size: 0.95rem !important;
    }

    #chatbot-wrapper {
        bottom: 20px;
        left: 20px;
        align-items: flex-start;
        pointer-events: none;
    }

    #chatbot-wrapper .container {
        width: 85vw;
        height: 60vh;
        max-width: 320px;
        bottom: 80px;
        left: 0;
        transform-origin: bottom left;
    }

    #chatbot-wrapper .container.open {
        pointer-events: auto;
    }

    /* Hero section mobile adjustments */
    #home {
        padding-top: 120px;
        padding-bottom: 40px;
    }

    #home .hero-content {
        max-width: 100%;
        text-align: left;
    }

    #home .hero-social-proof {
        justify-content: flex-start;
    }

    #home .hero-social-copy {
        text-align: left;
    }

    #home .hero-headline {
        font-size: 2.3rem;
        line-height: 1.05;
        text-align: left;
        font-weight: 900;
        white-space: normal;
    }

    #home .hero-headline-accent {
        font-size: inherit;
    }

    #home .hero-subheadline {
        font-size: 1rem;
        text-align: left;
    }

    #home .hero-cta {
        align-items: flex-start !important;
    }

    #home .hero-primary-btn {
        padding: 0.75rem 1.5rem !important;
        font-size: 1rem !important;
        width: 220px;
        max-width: 100%;
    }

    #home .hero-secondary-link {
        width: 220px;
        max-width: 100%;
    }

    #home .hero-secondary-link {
        text-align: center;
    }

    #home .hero-stats-row {
        justify-content: space-between;
        gap: 1rem !important;
    }

    #home .hero-stat {
        text-align: left;
    }

    #home .hero-stat-value {
        font-size: 1.25rem;
    }

    #home .hero-stat-label {
        font-size: 0.75rem;
    }

    /* Pill nav mobile adjustments */
    #navbar .navbar-brand svg {
        width: 40px !important;
        height: 40px !important;
    }

    /* Hide chatbot on mobile devices */
    #chatbot-wrapper {
        display: none !important;
    }

    /* Contact section buttons - black on mobile */
    #contact .btn-success,
    #contact .btn-primary {
        background-color: #000 !important;
        border-color: #000 !important;
        color: #fff !important;
    }

    /* Contact section - hide icons on mobile */
    #contact .card-body .mb-3 {
        display: none !important;
    }
}

/* Tablet & mobile: flat full-width bar with hamburger menu */
@media (max-width: 991px) {
    #navbar {
        border-radius: 0;
        margin: 0;
        max-width: 100%;
        left: 0;
        right: 0;
        top: 0;
    }

    #navbar .navbar-inner {
        max-width: 100%;
        padding: 0.75rem 1rem;
    }
}

/* Floating animation for hero elements */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Pulse animation for hero photo glow */
@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.05);
    }
}

.slider-container {
    overflow: hidden;
    position: relative;
    width: 70%;
    margin: auto;
    /* Add fade effect safely */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

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

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

.slider-track img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
}

/* Adjust for small devices */
@media (max-width: 480px) {
    .terms {
        display: none;
    }

    .slider-track img {
        width: 50px;
        height: 50px;
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }

    /* .slider-track gap removed since we use margin now */

    .slider-container {
        width: 100%;
        /* Make full width */
    }
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Card Slider Styles for Projects */
.card-slider-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    margin: auto;
    padding: 20px 0;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.card-slider-track {
    display: flex;
    width: max-content;
    animation: card-scroll 40s linear infinite;
    align-items: stretch;
}

.card-slider-track:hover {
    animation-play-state: paused;
}

.card-slider-item {
    width: 320px;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.card-slider-item .card {
    background-color: transparent !important;
}

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

/* =============================================
   Testimonials — staggered marquee
   ============================================= */

.testimonial-slider-container {
    overflow: hidden;
    width: 100%;
    padding: 48px 0;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.testimonial-slider-viewport {
    width: 100%;
}

.testimonial-slider-nav {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1.25rem;
}

.testimonial-slider-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid rgba(17, 17, 17, 0.12);
    border-radius: 50%;
    background: #fff;
    color: #111;
    box-shadow: 0 4px 14px rgba(17, 17, 17, 0.08);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.testimonial-slider-btn:hover {
    background: #111;
    color: #fff;
    box-shadow: 0 6px 18px rgba(17, 17, 17, 0.14);
}

.testimonial-slider-btn:active {
    transform: scale(0.94);
}

.testimonial-slider-track {
    display: flex;
    width: max-content;
    align-items: flex-start;
    gap: 1.5rem;
    animation: testimonial-scroll 80s linear infinite;
    will-change: transform;
}

.testimonial-slider-container:hover .testimonial-slider-track,
.testimonial-slider-container.is-paused .testimonial-slider-track {
    animation-play-state: paused;
}

.testimonial-slider-item {
    flex: 0 0 auto;
    width: 340px;
    display: flex;
}

.testimonial-slider-item:nth-child(odd) {
    transform: translateY(-42px);
}

.testimonial-slider-item:nth-child(even) {
    transform: translateY(42px);
}

.testimonial-card {
    width: 100%;
    height: auto !important;
    padding: 1.75rem 1.75rem 1.5rem;
    border-radius: 1rem !important;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.testimonial-quote {
    position: relative;
    margin: 0;
    padding: 0;
}

.testimonial-quote-mark {
    display: block;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 3.25rem;
    line-height: 1;
    color: #111;
    opacity: 0.12;
    margin-bottom: -0.35rem;
    user-select: none;
}

.testimonial-quote p {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 1.05rem;
    line-height: 1.65;
    color: #2d3436;
    font-style: italic;
}

.testimonial-meta {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.testimonial-stars {
    color: #f39c12;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
}

.testimonial-author {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    font-style: normal;
    color: #111;
    letter-spacing: 0.01em;
}

#testimonials .site-section-subtext {
    color: #5f6672 !important;
    font-family: 'Roboto', sans-serif;
    text-decoration: none !important;
}

@keyframes testimonial-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .testimonial-slider-container {
        overflow: visible;
        -webkit-mask-image: none;
        mask-image: none;
        padding: 24px 0 8px;
    }

    .testimonial-slider-viewport {
        overflow: hidden;
    }

    .testimonial-slider-track {
        animation: none !important;
        width: 100%;
        gap: 0;
        align-items: stretch;
        flex-wrap: nowrap !important;
    }

    .testimonial-slider-item {
        width: 100%;
        flex: 0 0 100%;
        transform: none !important;
    }

    .testimonial-slider-item--clone {
        display: none !important;
    }

    .testimonial-slider-nav {
        display: flex;
    }

    .testimonial-card {
        padding: 1.35rem 1.25rem 1.15rem;
        gap: 1rem;
    }

    .testimonial-quote-mark {
        font-size: 2.5rem;
    }

    .testimonial-quote p {
        font-size: 0.92rem;
        line-height: 1.55;
    }

    .testimonial-author {
        font-size: 0.92rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .testimonial-slider-container:not(.is-mobile-carousel) {
        overflow: visible;
        -webkit-mask-image: none;
        mask-image: none;
        padding: 20px 0;
    }

    .testimonial-slider-container:not(.is-mobile-carousel) .testimonial-slider-track {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        max-width: 920px;
        margin-right: auto;
        margin-left: auto;
        animation: none;
        transform: none !important;
    }

    .testimonial-slider-container:not(.is-mobile-carousel) .testimonial-slider-item {
        width: min(100%, 340px);
    }

    .testimonial-slider-item--clone {
        display: none;
    }
}

/* Mobile: disable slider, show cards statically stacked */
@media (max-width: 768px) {
    .card-slider-container {
        overflow: visible;
        -webkit-mask-image: none;
        mask-image: none;
        padding: 10px 0;
    }

    .card-slider-track {
        display: flex;
        flex-direction: column;
        width: 100%;
        animation: none;
        align-items: stretch;
    }

    .card-slider-item {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 1.25rem;
        flex-shrink: 1;
    }

    .card-slider-item .card {
        background-color: #fff !important;
    }

    /* Hide duplicated cards (clones used for infinite loop) on mobile */
    /* Web Dev section: 5 real cards, hide 6th onward */
    #projects .card-slider-track .card-slider-item:nth-child(n+6) {
        display: none;
    }

    /* AI Automation section: 6 real cards, hide 7th onward */
    #ai-projects .card-slider-track .card-slider-item:nth-child(n+7) {
        display: none;
    }

    #projects .card-slider-item .card-body > .btn {
        display: block;
        width: fit-content;
        margin-right: auto;
        margin-left: auto;
    }

    /* Smaller contact cards on mobile */
    #contact .card {
        padding: 1rem !important;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
        border-radius: 16px !important;
    }

    #contact .card-body {
        padding: 0.35rem !important;
    }

    #contact h4 {
        font-size: 1.15rem !important;
        margin-bottom: 0.75rem !important;
    }

    #contact p {
        font-size: 0.82rem !important;
        line-height: 1.4 !important;
    }

    #contact .btn {
        padding: 0.55rem 1rem !important;
        font-size: 0.82rem !important;
    }

    #contact .form-label {
        font-size: 0.85rem !important;
        margin-bottom: 0.35rem !important;
    }

    #contact .form-control,
    #contact .form-select {
        font-size: 0.9rem !important;
        padding: 0.6rem 0.8rem !important;
    }

    #contact .mb-4 {
        margin-bottom: 0.75rem !important;
    }

    /* Smaller pricing cards on mobile */
    .pricing-card {
        padding: 1.25rem 1rem !important;
        border-radius: 16px !important;
    }

    .pricing-badge {
        font-size: 0.7rem !important;
        padding: 0.28rem 0.6rem !important;
        margin-bottom: 0.7rem !important;
    }

    .pricing-title {
        font-size: 1.05rem !important;
        margin-bottom: 0.35rem !important;
    }

    .pricing-price {
        font-size: 1.45rem !important;
        margin-bottom: 0.6rem !important;
    }

    .pricing-text {
        font-size: 0.9rem !important;
        line-height: 1.55 !important;
        margin-bottom: 0.8rem !important;
    }

    .pricing-features li {
        font-size: 0.88rem !important;
        padding: 0.3rem 0 !important;
        padding-left: 1rem !important;
    }

    .pricing-btn {
        padding: 0.7rem 1rem !important;
        font-size: 0.85rem !important;
    }

    /* Smaller "Let's Work Together" button in hero section */
    #home .btn {
        width: auto !important;
        max-width: 250px;
        margin-left: auto;
        margin-right: auto;
        padding: 0.75rem 1.75rem !important;
        font-size: 0.95rem !important;
    }
}

/* Custom Cursor Styles */
.cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    background-color: white;
    /* Changed from transparent to white for true inversion */
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    top: -100px;
    left: -100px;
    mix-blend-mode: difference;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    transition: width 0.3s ease, height 0.3s ease;
    filter: url(#liquify);
    /* Applied the liquify effect */
}

.cursor-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    background-color: white;
    /* Changed to white */
    border-radius: 50%;
    pointer-events: none;
    z-index: 10001;
    transform: translate(-50%, -50%);
    top: -100px;
    left: -100px;
    mix-blend-mode: difference;
}

.cursor-follower.hovering {
    background-color: white;
    opacity: 0.8;
}

/* Hide fallback cursor if needed */
.use-custom-cursor {
    cursor: none !important;
}

.use-custom-cursor a,
.use-custom-cursor button,
.use-custom-cursor .hover-target {
    cursor: none !important;
}

/* Touch devices: hide custom cursor */
@media (hover: none) and (pointer: coarse) {

    .cursor-follower,
    .cursor-dot {
        display: none;
    }
}

/* WhatsApp Floating Button */
#whatsapp-wrapper {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.whatsapp-button {
    background: #111;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.24);
    text-decoration: none;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    animation: floatButton 3s ease-in-out infinite;
}

.whatsapp-button i {
    font-size: 32px;
}

.whatsapp-button:hover {
    transform: scale(1.1) rotate(-5deg);
    background: #fff;
    color: #111;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.24);
}

@media (max-width: 768px) {
    #chatbot-wrapper {
        bottom: 20px;
        left: 20px;
    }

    #whatsapp-wrapper {
        bottom: 20px;
        right: 20px;
    }

    #chatbot-wrapper .chatbot-button,
    .whatsapp-button {
        width: 55px;
        height: 55px;
    }

    #chatbot-wrapper .chatbot-button i,
    .whatsapp-button i {
        font-size: 34px;
    }
}

/* --- CHATBOT ATTENTION GRABBERS --- */
#chatbot-wrapper .chatbot-button::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(17, 17, 17, 0.35);
    animation: buttonPulse 2s infinite;
    z-index: -1;
}

@keyframes buttonPulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.6); opacity: 0; }
}

.chatbot-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #fff;
    color: #111;
    font-size: 11px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #111;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    animation: badgePop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes badgePop {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

.chatbot-teaser {
    position: absolute;
    bottom: 85px;
    left: 0;
    background: white;
    padding: 10px 18px;
    border-radius: 18px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0,0,0,0.05);
    pointer-events: none;
    z-index: 9998;
}

.chatbot-teaser.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.chatbot-teaser::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 22px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid white;
}

@media (max-width: 768px) {
    .chatbot-teaser {
        bottom: 75px;
        font-size: 13px;
        padding: 8px 15px;
    }
}

/* --- PREMIUM TYPING INDICATOR --- */
.typing-indicator {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 12px 18px;
    background: #f1f3f5;
    border-radius: 18px;
    width: fit-content;
    margin-bottom: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: #111;
    border-radius: 50%;
    opacity: 0.4;
    animation: typingBounce 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
    40% { transform: scale(1); opacity: 1; }
}

/* =============================================
   Custom Mobile Full-Screen Overlay Menu
   ============================================= */
.custom-menu-toggle {
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1101;
    position: relative;
    pointer-events: auto;
}

.custom-menu-toggle .line {
    width: 100%;
    height: 3px;
    background-color: #000;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
    transform-origin: center;
}

.navbar.scrolled .custom-menu-toggle .line {
    background-color: #fff;
}

/* Morphing hamburger to X */
.custom-menu-toggle.open .line-1 {
    transform: translateY(8px) rotate(45deg);
    background-color: #000;
}

.custom-menu-toggle.open .line-2 {
    opacity: 0;
    transform: scale(0);
}

.custom-menu-toggle.open .line-3 {
    transform: translateY(-9px) rotate(-45deg);
    background-color: #000;
}

/* Scroll lock helper */
body.menu-open {
    overflow: hidden !important;
}

/* Full Screen Mobile Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0);
    z-index: 1090;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    transition: opacity 0.5s cubic-bezier(0.165, 0.84, 0.44, 1),
                background-color 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.mobile-menu-overlay.open {
    opacity: 1;
    background-color: #ffffff !important;
    pointer-events: auto;
}

.mobile-menu-content {
    text-align: center;
    width: 100%;
    padding: 110px 1.5rem 3rem 1.5rem;
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-links li {
    margin: 0.85rem 0;
    overflow: hidden;
}

.mobile-nav-link {
    font-size: 1.8rem;
    font-weight: 700;
    color: #000;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    display: inline-block;
    opacity: 0;
    filter: blur(10px);
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), 
                filter 0.6s cubic-bezier(0.165, 0.84, 0.44, 1),
                transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.mobile-nav-link:hover {
    color: #0072FF;
}

.mobile-menu-cta {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), 
                filter 0.6s cubic-bezier(0.165, 0.84, 0.44, 1),
                transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Staggered load on open */
.mobile-menu-overlay.open .mobile-nav-link,
.mobile-menu-overlay.open .mobile-menu-cta {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

/* Apply staggered animation delays (approx 100ms between each) */
.mobile-menu-overlay.open .mobile-nav-links li:nth-child(1) .mobile-nav-link { transition-delay: 0.1s; }
.mobile-menu-overlay.open .mobile-nav-links li:nth-child(2) .mobile-nav-link { transition-delay: 0.2s; }
.mobile-menu-overlay.open .mobile-nav-links li:nth-child(3) .mobile-nav-link { transition-delay: 0.3s; }
.mobile-menu-overlay.open .mobile-nav-links li:nth-child(4) .mobile-nav-link { transition-delay: 0.4s; }
.mobile-menu-overlay.open .mobile-nav-links li:nth-child(5) .mobile-nav-link { transition-delay: 0.5s; }
.mobile-menu-overlay.open .mobile-nav-links li:nth-child(6) .mobile-nav-link { transition-delay: 0.6s; }
.mobile-menu-overlay.open .mobile-nav-links li:nth-child(7) .mobile-nav-link { transition-delay: 0.7s; }
.mobile-menu-overlay.open .mobile-nav-links li:nth-child(8) .mobile-nav-link { transition-delay: 0.8s; }
.mobile-menu-overlay.open .mobile-menu-cta { transition-delay: 0.9s; }



/* Form Animations */
.form-select, .form-control {
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease, background-color 0.25s ease, background-position 0.25s ease;
}

.form-select:hover, .form-control:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
    border-color: #666;
    transform: translateY(-2px);
}

.form-select:focus, .form-control:focus {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: #000;
    transform: translateY(-2px) scale(1.01);
}

.contact-form .form-select {
    appearance: none;
    background-color: #fff;
    background-image: linear-gradient(45deg, transparent 50%, #111 50%), linear-gradient(135deg, #111 50%, transparent 50%);
    background-position: calc(100% - 18px) calc(1.15em), calc(100% - 12px) calc(1.15em);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 2.75rem;
    cursor: pointer;
}

.contact-form .form-select:hover {
    background-position: calc(100% - 16px) calc(1.1em), calc(100% - 10px) calc(1.1em);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.contact-form .form-select:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(17, 17, 17, 0.12), 0 12px 26px rgba(0, 0, 0, 0.12);
    background-position: calc(100% - 16px) calc(1.05em), calc(100% - 10px) calc(1.05em);
}

.contact-form .form-select option {
    padding: 0.65rem 0.9rem;
}

@media (max-width: 768px) {
    /* Make pricing text smaller on mobile to match other sections */
    .pricing-text {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
    }
    
    .pricing-features li {
        font-size: 0.85rem !important;
    }
    
    .pricing-title {
        font-size: 1.15rem !important;
    }
    
    .pricing-price {
        font-size: 1.6rem !important;
    }
}

