:root {
    --blue-900: #0a2f6b;
    --blue-800: #114a9f;
    --blue-700: #1c67d2;
    --blue-600: #2b7fff;
    --blue-500: #54a2ff;
    --blue-100: #d9ebff;
    --blue-050: #f4f9ff;
    --white: #ffffff;
    --text-dark: #10315f;
    --shadow-soft: 0 18px 45px rgba(12, 61, 133, 0.16);
}

.hero-banner.banner-slider {
    position: relative;
    overflow: hidden;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 110px 20px 90px;
    background:
        radial-gradient(circle at top left, rgba(84, 162, 255, 0.38), transparent 34%),
        linear-gradient(135deg, var(--blue-900), var(--blue-800) 48%, #0c5ac3 100%);
}

.hero-banner.banner-slider .hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1;
    mix-blend-mode: screen;
}

.hero-banner.banner-slider .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5, 27, 66, 0.88), rgba(11, 53, 118, 0.55));
}

.hero-slider-track {
    position: relative;
    width: min(100%, 1100px);
    min-height: 320px;
    z-index: 2;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 14px;
    opacity: 0;
    transform: translateX(40px);
    pointer-events: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.hero-slide.is-active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--blue-100);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-banner.banner-slider .hero-content h1,
.hero-banner.banner-slider .hero-content .typing-text {
    max-width: 760px;
    margin: 0;
    color: var(--white);
    font-size: clamp(34px, 5vw, 60px);
    line-height: 1.1;
}

.hero-banner.banner-slider .hero-content p {
    max-width: 640px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 1.7;
}

.hero-banner.banner-slider .hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 165px;
    padding: 14px 24px;
    margin-top: 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: linear-gradient(135deg, #5db1ff, #2f7fff);
    color: var(--white);
    box-shadow: 0 12px 28px rgba(44, 127, 255, 0.28);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.hero-banner.banner-slider .hero-btn:hover,
.hero-banner.banner-slider .hero-btn:focus {
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(44, 127, 255, 0.34);
    background: linear-gradient(135deg, #78bfff, #1c67d2);
}

.hero-slider-nav {
    position: absolute;
    left: 50%;
    bottom: 34px;
    z-index: 3;
    display: flex;
    gap: 10px;
    transform: translateX(-50%);
}

.hero-slider-dot,
.testimonial-dot {
    width: 12px;
    height: 12px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.32);
    transition: transform 0.3s ease, background 0.3s ease;
}

.hero-slider-dot.is-active,
.testimonial-dot.is-active {
    background: var(--white);
    transform: scale(1.15);
}

.section-intro {
    margin: 0 auto 34px;
    text-align: center;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(28, 103, 210, 0.1);
    color: var(--blue-700);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-intro h2 {
    margin: 0 0 10px;
    color: var(--blue-900);
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.2;
}

.section-intro p {
    max-width: 640px;
    margin: 0 auto;
    color: #58729a;
    font-size: 16px;
    line-height: 1.7;
}

.testimonial-section,
.faq-section {
    padding: 80px 0;
}

.testimonial-section {
    background:
        linear-gradient(180deg, rgba(217, 235, 255, 0.3), rgba(255, 255, 255, 0.95)),
        linear-gradient(135deg, #f8fbff, #eef6ff);
}

.testimonial-slider {
    max-width: 760px;
    margin: 0 auto;
}

.testimonial-track {
    position: relative;
    min-height: 210px;
}

.testimonial-card {
    position: absolute;
    inset: 0;
    padding: 30px;
    border: 1px solid rgba(28, 103, 210, 0.12);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    transform: translateY(18px) scale(0.98);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.testimonial-card.is-active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.testimonial-card p {
    margin: 0 0 18px;
    color: #335178;
    font-size: 18px;
    line-height: 1.8;
}

.testimonial-card h3 {
    margin: 0;
    color: var(--blue-900);
    font-size: 20px;
}

.testimonial-card span {
    color: var(--blue-700);
    font-size: 14px;
    font-weight: 600;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 26px;
}

.faq-section {
    background: linear-gradient(180deg, var(--white), var(--blue-050));
}

.faq-list {
    max-width: 860px;
    margin: 0 auto;
    display: grid;
    gap: 18px;
}

.faq-item {
    border: 1px solid rgba(17, 74, 159, 0.1);
    border-radius: 22px;
    background: var(--white);
    box-shadow: 0 10px 28px rgba(16, 49, 95, 0.08);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 24px;
    border: 0;
    background: transparent;
    color: var(--blue-900);
    font-size: 18px;
    font-weight: 700;
    text-align: left;
}

.faq-question i {
    flex-shrink: 0;
    color: var(--blue-700);
    transition: transform 0.3s ease;
}

.faq-item.is-open .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 24px;
}

.faq-item.is-open .faq-answer {
    padding: 0 24px 22px;
}

.faq-answer p {
    margin: 0;
    color: #49698f;
    font-size: 16px;
    line-height: 1.75;
}

.call-widget {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 99999999;
}

.call-widget-toggle,
.call-widget-close {
    border: 0;
    cursor: pointer;
}

.call-widget-toggle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-700), var(--blue-600));
    color: var(--white);
    font-size: 24px;
    box-shadow: 0 16px 35px rgba(17, 74, 159, 0.34);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.call-widget-toggle:hover,
.call-widget-toggle:focus {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 20px 40px rgba(17, 74, 159, 0.42);
}

.call-widget-panel {
    position: absolute;
    right: 0;
    bottom: 78px;
    width: 280px;
    padding: 18px;
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff, #edf5ff);
    box-shadow: 0 20px 45px rgba(10, 47, 107, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px) scale(0.96);
    transform-origin: bottom right;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index:9999999;
}


.call-widget.is-open .call-widget-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.call-widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.call-widget-header h3 {
    margin: 0;
    color: var(--blue-900);
    font-size: 20px;
}

.call-widget-close {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(28, 103, 210, 0.08);
    color: var(--blue-700);
}

.call-widget-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    margin-top: 10px;
    border-radius: 16px;
    background: var(--white);
    color: var(--blue-900);
    box-shadow: inset 0 0 0 1px rgba(28, 103, 210, 0.08);
    transition: transform 0.25s ease, background 0.25s ease;
}

.call-widget-link i {
    color: var(--blue-700);
}

.call-widget-link:hover,
.call-widget-link:focus {
    color: var(--blue-900);
    background: #e7f2ff;
    transform: translateX(-3px);
}

body.call-widget-active {
    overflow-x: hidden;
}

@media (max-width: 767px) {
    .hero-banner.banner-slider {
        min-height: 480px;
        padding: 90px 18px 80px;
    }

    .hero-slider-track {
        min-height: 340px;
    }

    .hero-banner.banner-slider .hero-content p {
        font-size: 16px;
    }

    .testimonial-section,
    .faq-section {
        padding: 60px 0;
    }

    .testimonial-track {
        min-height: 250px;
    }

    .testimonial-card,
    .faq-question,
    .faq-item.is-open .faq-answer {
        padding-left: 18px;
        padding-right: 18px;
    }

    .call-widget {
        right: 20px;
        bottom: 20px;
    }

    .call-widget-panel {
        width: min(280px, calc(100vw - 32px));
    }
}
/* ITEM FULL HEIGHT */
.owl-carousel .item{
    display:flex;
    flex-direction:column;
    height:100%;
}

/* LIST FULL HEIGHT */
.list-posts{
    flex:1;
    display:flex;
    flex-direction:column;
}

/* BUTTON SAME LINE */
.af-btn{
    margin-top:auto;
    display:inline-block;
    width:fit-content;
}

/* OPTIONAL - CARD STYLE */
.item{
    background:#fff;
    padding:20px;
    border-radius:12px;
}

/* =========================
   TELEGRAM FLOAT BUTTON
========================= */

.telegram-widget{
    position: fixed;
    right: 20px;
    bottom: 125px;
    z-index: 9999999;
}

.telegram-widget-btn,
.telegram-widget-btn:hover,
.telegram-widget-btn:focus,
.telegram-widget-btn:active{
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg,#0088cc,#00bfff);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    transition: 0.3s ease;
}

.telegram-widget-btn i{
    color: #fff;
    font-size: 30px;
}

.telegram-widget-btn:hover{
    transform: translateY(-5px) scale(1.05);
   
}

/* =========================
   TABLET VIEW
========================= */

@media (max-width: 991px){

    .telegram-widget{
        right: 20px;
        bottom: 95px;
    }

    .telegram-widget-btn{
        width: 45px;
        height: 45px;
    }

    .telegram-widget-btn i{
        font-size: 26px;
    }
}

/* =========================
   MOBILE VIEW
========================= */

@media (max-width: 576px){

    .telegram-widget{
        right: 15px;
        bottom: 120px;
    }

    .telegram-widget-btn{
        width: 45px;
        height: 45px;
    }

    .telegram-widget-btn i{
        font-size: 24px;
    }
}