:root {
    --primary-color: #0d6efd;
    --dark-color: #111827;
    --text-color: #212529;
    --muted-color: #6c757d;
    --surface-color: #ffffff;
    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.08);
    --shadow-hover: 0 22px 55px rgba(15, 23, 42, 0.14);
    --radius-lg: 20px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
    color: var(--text-color);
    overflow-x: hidden;
}

img {
    max-width: 100%;
}

/* ===================== NAVBAR ===================== */

.navbar {
    padding-top: 14px;
    padding-bottom: 14px;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-size: 1.3rem;
    letter-spacing: 0.5px;
    font-weight: bold;
}

.navbar-logo {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 50%;
}

.navbar .nav-link {
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
    margin-left: 8px;
    margin-right: 8px;
    transition: color 0.3s ease;
    position: relative;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: #ffffff;
}

.navbar .nav-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    border-radius: 10px;
}

/* ===================== HERO ===================== */

.hero-section {
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.78)), url('../images/hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    backdrop-filter: blur(2px);
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-title,
.hero-copy,
.hero-actions,
.hero-mini-stats {
    opacity: 0;
    transform: translateY(28px);
    animation: heroFadeUp 0.9s ease forwards;
}

.hero-copy { animation-delay: 0.15s; }
.hero-actions { animation-delay: 0.3s; }
.hero-mini-stats { animation-delay: 0.45s; }

.hero-badge {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 14px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(10px);
    opacity: 0.35;
    animation: floatShape 7s ease-in-out infinite;
}

.hero-shape-1 {
    width: 180px;
    height: 180px;
    background: var(--primary-color);
    top: 12%;
    right: 8%;
}

.hero-shape-2 {
    width: 120px;
    height: 120px;
    background: #ffffff;
    bottom: 14%;
    left: 5%;
    animation-delay: 1.5s;
}

.hero-media-box {
    position: relative;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 28px;
    padding: 18px;
    backdrop-filter: blur(10px);
    animation: floatCard 5s ease-in-out infinite;
    box-shadow: 0 30px 60px rgba(0,0,0,0.18);
}

.hero-media {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.floating-card {
    position: absolute;
    background: rgba(255,255,255,0.95);
    color: var(--text-color);
    padding: 12px 14px;
    border-radius: 16px;
    min-width: 180px;
    animation: floatShape 6s ease-in-out infinite;
}

.floating-card-one {
    top: 24px;
    left: -24px;
}

.floating-card-two {
    right: -24px;
    bottom: 26px;
    animation-delay: 1.2s;
}

/* ===================== SHARED CARDS ===================== */

.tech-pill,
.stats-card,
.about-card,
.solution-block img,
.contact-info-card,
.contact-form-card,
.about-content-card,
.about-image-box,
.mini-stat,
.card,
.service-card,
.tool-card {
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.tech-pill {
    background: #fff;
    border: 1px solid rgba(13, 110, 253, 0.1);
    border-radius: 999px;
    padding: 14px 16px;
    font-weight: 600;
    box-shadow: 0 8px 18px rgba(0,0,0,0.05);
}

.tech-pill:hover,
.stats-card:hover,
.about-card:hover,
.contact-info-card:hover,
.contact-form-card:hover,
.about-content-card:hover,
.about-image-box:hover,
.card:hover,
.service-card:hover,
.solution-block img:hover,
.tool-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.card {
    border: none;
    border-radius: 15px;
}

.service-card {
    border-radius: 15px;
    overflow: hidden;
}

.service-icon,
.about-icon {
    font-size: 42px;
}

.stats-card,
.about-content-card,
.about-image-box,
.contact-info-card,
.contact-form-card {
    background: var(--surface-color);
    padding: 30px 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.about-image-box {
    padding: 24px;
}

.about-logo {
    max-width: 280px;
}

.solution-block {
    background: rgba(255,255,255,0.72);
    border-radius: 24px;
    padding: 26px;
    box-shadow: 0 16px 35px rgba(0,0,0,0.06);
}

.solution-block img {
    border-radius: 20px;
}

.benefit-card,
.contact-capability-card,
.solution-feature-list div {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.07);
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.benefit-card,
.contact-capability-card {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.contact-capability-card:hover,
.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 55px rgba(15, 23, 42, 0.12);
}

.benefit-card {
    padding: 26px;
}

.benefit-card h4 {
    margin-bottom: 12px;
}

.contact-capability-card {
    padding: 24px;
}

.contact-capability-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.contact-capability-card p,
.benefit-card p {
    color: var(--muted-color);
    margin-bottom: 0;
}

.capability-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 110, 253, 0.1);
    font-size: 1.5rem;
    margin-bottom: 18px;
}

.wide-card {
    grid-column: span 3;
}

/* ===================== CAROUSEL ===================== */

.carousel-item {
    min-height: 260px;
}

.carousel-item > div {
    min-height: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.carousel-indicators [data-bs-target] {
    background-color: var(--primary-color);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 60% 60%;
}

.custom-carousel-btn {
    width: 8%;
    opacity: 1;
}

.custom-carousel-icon {
    background-color: rgba(33, 37, 41, 0.9);
    border-radius: 50%;
    padding: 18px;
    background-size: 55% 55%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.custom-carousel-btn:hover .custom-carousel-icon {
    background-color: var(--primary-color);
}

/* ===================== BUTTONS + FORMS ===================== */

.btn {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 24px rgba(13, 110, 253, 0.18);
}

.form-control:focus {
    border-color: rgba(13, 110, 253, 0.5);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.14);
}

.hp-field {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* ===================== REVEAL ANIMATIONS ===================== */

.reveal-up,
.reveal-left,
.reveal-right,
.reveal-scale {
    opacity: 0;
    transition: opacity 0.75s ease, transform 0.75s ease;
    will-change: opacity, transform;
}

.reveal-up { transform: translateY(42px); }
.reveal-left { transform: translateX(-42px); }
.reveal-right { transform: translateX(42px); }
.reveal-scale { transform: scale(0.94); }

.reveal-up.active,
.reveal-left.active,
.reveal-right.active,
.reveal-scale.active {
    opacity: 1;
    transform: none;
}

/* ===================== FOOTER + SOCIAL ===================== */

footer {
    margin-top: 0;
}

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

.footer-link:hover {
    color: #ffffff;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-icon svg {
    display: block;
}

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

.social-icon.facebook:hover { background: #1877F2; }
.social-icon.instagram:hover { background: #E4405F; }
.social-icon.linkedin:hover { background: #0077B5; }

.whatsapp-btn {
    background-color: #25D366;
    color: #fff;
    border-radius: 999px;
    padding: 10px 18px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.22);
}

.whatsapp-btn:hover {
    background-color: #1ebe5d;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 16px 30px rgba(37, 211, 102, 0.28);
}

/* ===================== SECTION ELEMENTS ===================== */

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(13, 110, 253, 0.1);
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.2px;
}

/* ===================== SOLUTIONS ===================== */

.solution-hero-section {
    background: linear-gradient(180deg, #f8fbff 0%, #f8f9fa 100%);
}

.solution-main-image {
    min-height: 360px;
    object-fit: cover;
}

.solution-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.solution-tags span {
    background: #ffffff;
    border: 1px solid rgba(13, 110, 253, 0.14);
    border-radius: 999px;
    padding: 10px 16px;
    color: #334155;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.solution-tags span:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.09);
}

.solution-feature-list {
    display: grid;
    gap: 16px;
}

.solution-feature-list div {
    padding: 18px 20px;
}

.solution-feature-list strong {
    display: block;
    margin-bottom: 6px;
    color: #0f172a;
}

.solution-feature-list span {
    color: var(--muted-color);
}

.contact-center-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

/* ===================== TOOLS PAGE LEVEL 2 ===================== */

.tools-hero-section {
    background: linear-gradient(135deg, #0d6efd, #0b5ed7 52%, #111827 100%);
    position: relative;
    overflow: hidden;
}

.tools-hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(255,255,255,0.18), transparent 28%),
        radial-gradient(circle at bottom left, rgba(255,255,255,0.1), transparent 24%);
    pointer-events: none;
}

.tools-hero-card {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 24px;
    backdrop-filter: blur(10px);
    box-shadow: 0 24px 55px rgba(0,0,0,0.18);
}

.tools-search-wrap {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.tools-search-wrap .form-control {
    border-radius: 999px;
    padding: 16px 24px;
    border: 1px solid rgba(255,255,255,0.22);
    box-shadow: 0 18px 45px rgba(15,23,42,0.12);
}

.tools-section {
    background: linear-gradient(180deg, #f8fbff 0%, #f8f9fa 100%);
}

.tool-card {
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(15, 23, 42, 0.05);
    padding: 20px;
}

.tool-card h5 {
    font-weight: 600;
    margin-bottom: 10px;
}

.tool-card input,
.tool-card textarea {
    border-radius: 10px;
}

.tool-icon {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    background: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
}

.tool-result {
    min-height: 28px;
    font-weight: 600;
    white-space: pre-wrap;
    word-break: break-word;
}

.tool-result a {
    text-decoration: none;
}

.ads-box {
    background: #fff;
    border: 2px dashed rgba(13, 110, 253, 0.25);
    padding: 46px 20px;
    border-radius: 22px;
    color: #6c757d;
    font-size: 18px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

/* ===================== KEYFRAMES ===================== */

@keyframes floatShape {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-18px); }
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

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

/* ===================== RESPONSIVE ===================== */

@media (max-width: 991.98px) {
    .hero-section {
        min-height: auto;
        padding: 120px 0 70px;
    }

    .floating-card-one,
    .floating-card-two {
        position: static;
        margin-top: 14px;
    }

    .solution-block {
        padding: 20px;
    }

    .contact-center-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wide-card {
        grid-column: span 2;
    }
}

@media (max-width: 767.98px) {
    .contact-center-grid {
        grid-template-columns: 1fr;
    }

    .wide-card {
        grid-column: auto;
    }

    .solution-tags {
        gap: 10px;
    }

    .solution-tags span {
        padding: 8px 12px;
        font-size: 0.92rem;
    }

    .tools-search-wrap .form-control {
        padding: 14px 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }

    .reveal-up,
    .reveal-left,
    .reveal-right,
    .reveal-scale,
    .hero-title,
    .hero-copy,
    .hero-actions,
    .hero-mini-stats {
        opacity: 1 !important;
        transform: none !important;
    }
}
/* ===== TOOLS PAGE EMOTIONAL / ANIMATED UPGRADE ===== */

.tools-hero-section .hero-badge,
.tools-hero-section .hero-title,
.tools-hero-section .hero-copy,
.tools-hero-section .hero-actions {
    opacity: 0;
    transform: translateY(28px);
    animation: heroFadeUp 0.9s ease forwards;
}

.tools-hero-section .hero-copy { animation-delay: 0.15s; }
.tools-hero-section .hero-actions { animation-delay: 0.3s; }

.tools-hero-section {
    padding-top: 110px !important;
    padding-bottom: 90px !important;
}

.tools-hero-card {
    position: relative;
    min-height: 100%;
}

.tools-hero-card .mini-stat {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 18px;
    padding: 18px 12px;
    backdrop-filter: blur(10px);
}

.tools-search-wrap {
    margin-top: 38px !important;
}

.tool-card {
    height: 100%;
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0d6efd, #6ea8fe);
    opacity: 0;
    transition: opacity 0.35s ease;
}

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

.tool-card .btn {
    border-radius: 12px;
}

.crm-demo-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.crm-demo-card {
    background: #ffffff;
    border-radius: 28px;
    padding: 34px;
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.1);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.crm-inner-box {
    background: linear-gradient(180deg, #fbfdff 0%, #f8f9fa 100%);
    border-radius: 22px;
    padding: 24px;
    border: 1px solid rgba(13, 110, 253, 0.08);
}

.crm-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(13, 110, 253, 0.08);
    color: #0d6efd;
    font-weight: 600;
    font-size: 0.9rem;
}

.crm-table-wrap {
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.crm-table-wrap thead th {
    background: #f8fbff;
    color: #0f172a;
    font-weight: 700;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.crm-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
    font-weight: 700;
    font-size: 0.86rem;
}

@media (max-width: 991.98px) {
    .tools-hero-section {
        padding-top: 80px !important;
        padding-bottom: 70px !important;
    }

    .crm-demo-card {
        padding: 24px;
    }
}

