/* =========================================================
   NIDT WHATSAPP BUSINESS MARKETING
========================================================= */

.nidt-wa-section {
    position: relative;
    padding: 110px 20px;
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 20%, rgba(37,211,102,.07), transparent 30%),
        radial-gradient(circle at 90% 80%, rgba(16,185,129,.06), transparent 30%),
        #f7faf9;
}

.nidt-wa-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: auto;
}


/* =========================================================
   HEADING
========================================================= */

.nidt-wa-heading {
    max-width: 780px;
    margin: 0 auto 90px;
    text-align: center;
}

.nidt-wa-eyebrow {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #bbf7d0;
    border-radius: 50px;
    background: #f0fdf4;
    color: #0bb0cd;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.nidt-wa-heading h2 {
    margin: 20px 0 16px;
    color: #0f172a;
    font-size: 35px;
    line-height: 1.08;
    font-weight: 850;
    letter-spacing: -2px;
}

.nidt-wa-heading h2 span {
    display: block;
    color: #0bb0cd;
}

.nidt-wa-heading p {
    max-width: 690px;
    margin: auto;
    color: #64748b;
    font-size: 16px;
    line-height: 1.8;
}


/* =========================================================
   MAIN ROW
========================================================= */

.nidt-wa-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
    margin-bottom: 90px;
}


/* =========================================================
   CONTENT
========================================================= */

.nidt-wa-content {
    max-width: 550px;
}

.nidt-wa-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 14px;
    border-radius: 50px;
    background: #dcfce7;
    color: #0bb0cd;
    font-size: 12px;
    font-weight: 800;
}

.nidt-wa-label i {
    font-size: 15px;
}

.nidt-wa-content h3 {
    margin: 21px 0 18px;
    color: #0f172a;
    font-size: clamp(31px,4vw,46px);
    line-height: 1.13;
    font-weight: 850;
    letter-spacing: -1.5px;
}

.nidt-wa-content h3 em {
    display: block;
    color: #0bb0cd;
    font-style: normal;
}

.nidt-wa-content > p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.85;
}


/* =========================================================
   FEATURES
========================================================= */

.nidt-wa-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 20px;
    margin-top: 30px;
}

.nidt-wa-feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.nidt-wa-check {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;
    background: #dcfce7;
    color: #0bb0cd;
    font-size: 10px;
}

.nidt-wa-feature strong,
.nidt-wa-feature small {
    display: block;
}

.nidt-wa-feature strong {
    color: #334155;
    font-size: 12px;
}

.nidt-wa-feature small {
    margin-top: 4px;
    color: #94a3b8;
    font-size: 9px;
    line-height: 1.5;
}


/* =========================================================
   BUTTON
========================================================= */

.nidt-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
    padding: 14px 21px;
    border-radius: 10px;
    background: #0bb0cd;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 750;
    box-shadow: 0 14px 30px rgba(22,163,74,.2);
    transition: .3s ease;
}

.nidt-wa-btn:hover {
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 18px 35px rgba(22,163,74,.28);
}

.nidt-wa-btn i {
    transition: .3s ease;
}

.nidt-wa-btn:hover i {
    transform: translateX(5px);
}


/* =========================================================
   VISUAL
========================================================= */

.nidt-wa-visual {
    position: relative;
    min-height: 540px;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* =========================================================
   DASHBOARD
========================================================= */

.nidt-wa-dashboard {
    position: relative;
    z-index: 3;
    width: 370px;
    overflow: hidden;
    border: 1px solid #d1fae5;
    border-radius: 22px;
    background: #fff;
    box-shadow:
        0 35px 80px rgba(15,23,42,.14),
        0 10px 30px rgba(22,163,74,.08);

    animation: nidtWaFloat 5s ease-in-out infinite;
}


/* =========================================================
   HEADER
========================================================= */

.nidt-wa-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 17px;
    background: #075e54;
    color: #fff;
}

.nidt-wa-profile {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nidt-wa-avatar {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    font-size: 20px;
}

.nidt-wa-profile strong,
.nidt-wa-profile span {
    display: block;
}

.nidt-wa-profile strong {
    font-size: 12px;
}

.nidt-wa-profile span {
    margin-top: 3px;
    color: #d1fae5;
    font-size: 8px;
}

.nidt-wa-profile span i {
    color: #25d366;
    font-size: 5px;
}

.nidt-wa-menu {
    font-size: 13px;
    opacity: .8;
}


/* =========================================================
   CHAT
========================================================= */

.nidt-wa-chat {
    position: relative;
    min-height: 390px;
    padding: 22px 17px;
    background:
        radial-gradient(circle at 20% 20%, rgba(37,211,102,.06), transparent 30%),
        #efeae2;
}

.nidt-wa-date {
    width: max-content;
    margin: 0 auto 18px;
    padding: 5px 9px;
    border-radius: 6px;
    background: #fff;
    color: #94a3b8;
    font-size: 7px;
    font-weight: 700;
}


/* =========================================================
   MESSAGES
========================================================= */

.nidt-wa-message {
    position: relative;
    width: 75%;
    margin-bottom: 14px;
    padding: 10px 10px 7px;
    border-radius: 9px;
    box-shadow: 0 2px 4px rgba(15,23,42,.06);
    animation: nidtMessageIn .7s ease both;
}

.nidt-wa-message p {
    margin: 0;
    color: #334155;
    font-size: 10px;
    line-height: 1.55;
}

.nidt-wa-message small {
    display: block;
    margin-top: 5px;
    color: #94a3b8;
    text-align: right;
    font-size: 7px;
}

.nidt-wa-incoming {
    background: #fff;
    border-top-left-radius: 3px;
}

.nidt-wa-outgoing {
    margin-left: auto;
    background: #d9fdd3;
    border-top-right-radius: 3px;
}

.nidt-wa-message:nth-of-type(2) {
    animation-delay: .4s;
}

.nidt-wa-message:nth-of-type(3) {
    animation-delay: .8s;
}

.nidt-wa-message:nth-of-type(4) {
    animation-delay: 1.2s;
}

.nidt-wa-outgoing small i {
    color: #0ea5e9;
    margin-left: 3px;
}


/* =========================================================
   TYPING
========================================================= */

.nidt-wa-typing {
    display: flex;
    align-items: center;
    gap: 4px;
    width: max-content;
    padding: 10px 12px;
    border-radius: 10px;
    background: #fff;
}

.nidt-wa-typing span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #94a3b8;
    animation: nidtTyping 1.2s infinite;
}

.nidt-wa-typing span:nth-child(2) {
    animation-delay: .2s;
}

.nidt-wa-typing span:nth-child(3) {
    animation-delay: .4s;
}


/* =========================================================
   BOTTOM
========================================================= */

.nidt-wa-bottom {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    background: #f0f2f5;
}

.nidt-wa-input {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 12px;
    border-radius: 20px;
    background: #fff;
    color: #94a3b8;
    font-size: 9px;
}

.nidt-wa-input i:last-child {
    margin-left: auto;
}

.nidt-wa-send {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    font-size: 13px;
    animation: nidtSendPulse 2s infinite;
}


/* =========================================================
   FLOATING ELEMENTS
========================================================= */

.nidt-wa-float {
    position: absolute;
    z-index: 4;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 5px solid #fff;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    font-size: 18px;
    box-shadow: 0 15px 35px rgba(15,23,42,.14);
}

.nidt-wa-float-1 {
    top: 55px;
    left: 8%;
    animation: nidtFloat1 4s ease-in-out infinite;
}

.nidt-wa-float-2 {
    top: 150px;
    right: 2%;
    background: #ef4444;
    animation: nidtFloat2 4.5s ease-in-out infinite;
}

.nidt-wa-float-3 {
    right: 7%;
    bottom: 70px;
    background: #2563eb;
    animation: nidtFloat3 5s ease-in-out infinite;
}


/* =========================================================
   NOTIFICATION
========================================================= */

.nidt-wa-notification {
    position: absolute;
    z-index: 5;
    left: 0;
    bottom: 85px;
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 225px;
    padding: 12px;
    border: 1px solid #dcfce7;
    border-radius: 12px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 20px 45px rgba(15,23,42,.14);
    animation: nidtNotification 4s ease-in-out infinite;
}

.nidt-notification-icon {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #dcfce7;
    color: #0bb0cd;
    font-size: 17px;
}

.nidt-wa-notification div:nth-child(2) {
    flex: 1;
}

.nidt-wa-notification strong,
.nidt-wa-notification span {
    display: block;
}

.nidt-wa-notification strong {
    color: #0f172a;
    font-size: 10px;
}

.nidt-wa-notification span {
    margin-top: 3px;
    color: #94a3b8;
    font-size: 8px;
}

.nidt-wa-notification > i {
    color: #0bb0cd;
    font-size: 13px;
}


/* =========================================================
   GROWTH CARD
========================================================= */

.nidt-wa-growth {
    position: absolute;
    z-index: 5;
    right: -5px;
    bottom: 25px;
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 195px;
    padding: 12px;
    border: 1px solid #dbeafe;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 20px 45px rgba(15,23,42,.13);
    animation: nidtGrowthFloat 4.5s ease-in-out infinite;
}

.nidt-growth-icon {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #dbeafe;
    color: #2563eb;
}

.nidt-wa-growth div:nth-child(2) {
    flex: 1;
}

.nidt-wa-growth small,
.nidt-wa-growth strong {
    display: block;
}

.nidt-wa-growth small {
    color: #94a3b8;
    font-size: 7px;
}

.nidt-wa-growth strong {
    margin-top: 3px;
    color: #0f172a;
    font-size: 17px;
}

.nidt-wa-growth > i {
    color: #0bb0cd;
    font-size: 12px;
}


/* =========================================================
   SERVICE CARDS
========================================================= */

.nidt-wa-services {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 17px;
}

.nidt-wa-service-card {
    padding: 25px 21px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: rgba(255,255,255,.85);
    transition: .35s ease;
}

.nidt-wa-service-card:hover {
    transform: translateY(-8px);
    border-color: #bbf7d0;
    box-shadow: 0 20px 45px rgba(15,23,42,.08);
}

.nidt-wa-service-card > span {
    width: 43px;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: #dcfce7;
    color: #0bb0cd;
    font-size: 17px;
    transition: .3s ease;
}

.nidt-wa-service-card:hover > span {
    transform: rotate(8deg) scale(1.08);
}

.nidt-wa-service-card h4 {
    margin: 17px 0 8px;
    color: #0f172a;
    font-size: 15px;
}

.nidt-wa-service-card p {
    margin: 0;
    color: #64748b;
    font-size: 11px;
    line-height: 1.7;
}


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes nidtWaFloat {

    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

}


@keyframes nidtMessageIn {

    0% {
        opacity: 0;
        transform: translateY(12px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }

}


@keyframes nidtTyping {

    0%,60%,100% {
        transform: translateY(0);
        opacity: .45;
    }

    30% {
        transform: translateY(-4px);
        opacity: 1;
    }

}


@keyframes nidtSendPulse {

    0%,100% {
        box-shadow: 0 0 0 0 rgba(37,211,102,.35);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(37,211,102,0);
    }

}


@keyframes nidtFloat1 {

    0%,100% {
        transform: translate(0,0) rotate(0deg);
    }

    50% {
        transform: translate(-10px,-16px) rotate(8deg);
    }

}


@keyframes nidtFloat2 {

    0%,100% {
        transform: translate(0,0);
    }

    50% {
        transform: translate(12px,-13px);
    }

}


@keyframes nidtFloat3 {

    0%,100% {
        transform: translate(0,0) rotate(0deg);
    }

    50% {
        transform: translate(-8px,12px) rotate(-8deg);
    }

}


@keyframes nidtNotification {

    0%,100% {
        transform: translateX(0);
        opacity: 1;
    }

    50% {
        transform: translateX(-8px);
        opacity: .92;
    }

}


@keyframes nidtGrowthFloat {

    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-9px);
    }

}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .nidt-wa-section {
        padding: 85px 18px;
    }

    .nidt-wa-row {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .nidt-wa-content {
        max-width: 100%;
    }

    .nidt-wa-visual {
        min-height: 560px;
    }

    .nidt-wa-services {
        grid-template-columns: 1fr 1fr;
    }

}


@media (max-width: 767px) {

    .nidt-wa-section {
        padding: 65px 15px;
    }

    .nidt-wa-heading {
        margin-bottom: 60px;
    }

    .nidt-wa-heading h2 {
        font-size: 35px;
        letter-spacing: -1px;
    }

    .nidt-wa-heading p {
        font-size: 14px;
    }

    .nidt-wa-content h3 {
        font-size: 31px;
    }

    .nidt-wa-features {
        grid-template-columns: 1fr;
    }

    .nidt-wa-visual {
        min-height: 500px;
    }

    .nidt-wa-dashboard {
        width: min(370px, 88%);
    }

    .nidt-wa-float-1 {
        left: 0;
    }

    .nidt-wa-float-2 {
        right: 0;
    }

    .nidt-wa-notification {
        left: 0;
        bottom: 55px;
    }

    .nidt-wa-growth {
        right: 0;
        bottom: 10px;
    }

    .nidt-wa-services {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 480px) {

    .nidt-wa-heading h2 {
        font-size: 30px;
    }

    .nidt-wa-content h3 {
        font-size: 27px;
    }

    .nidt-wa-dashboard {
        width: 100%;
    }

    .nidt-wa-chat {
        min-height: 350px;
    }

    .nidt-wa-float {
        width: 43px;
        height: 43px;
        border-width: 3px;
        font-size: 14px;
    }

    .nidt-wa-notification {
        min-width: 190px;
        transform: scale(.85);
        transform-origin: left bottom;
    }

    .nidt-wa-growth {
        min-width: 175px;
        transform: scale(.85);
        transform-origin: right bottom;
    }

}