/* Kelavanidham home – fresh design. Logo colours: blue #2759a6, red #ee3237, green #1bb157 */
.kd-hero,
.kd-quick,
.kd-sec,
.kd-reach {
    --blue: #2759a6;
    --navy: #142f5e;
    --red: #ee3237;
    --green: #1bb157;
    --bg: #f5f8fd;
    --ink: #1c2740;
    --mut: #5d6b85;
    font-family: 'Poppins', system-ui, sans-serif;
    color: var(--ink)
}

.kd-wrap {
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 20px
}

.kd-hero *,
.kd-quick *,
.kd-sec *,
.kd-reach * {
    box-sizing: border-box
}

.kd-hero h1,
.kd-hero h2,
.kd-sec h2,
.kd-sec h3,
.kd-sec h4,
.kd-reach h2 {
    margin: 0;
    font-family: inherit
}

.kd-hero p,
.kd-sec p,
.kd-reach p {
    margin: 0
}

/* buttons */
.kd-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none !important;
    border: 0;
    cursor: pointer;
    transition: transform .25s, box-shadow .25s, background .25s;
    color: #fff !important
}

.kd-btn:hover {
    transform: translateY(-3px)
}

.kd-btn-red {
    background: linear-gradient(135deg, #ee3237, #ff6a4d);
    box-shadow: 0 10px 24px rgba(238, 50, 55, .4)
}

.kd-btn-blue {
    background: linear-gradient(135deg, #2759a6, #3b7de0);
    box-shadow: 0 10px 24px rgba(39, 89, 166, .35)
}

.kd-btn-glass {
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .5);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px)
}

.kd-btn-glass:hover {
    background: #fff;
    color: var(--navy) !important
}

/* HERO */
.kd-hero {
    position: relative;
    min-height: clamp(520px, 88vh, 760px);
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
    background: var(--navy)
}

.kd-hero-bg {
    position: absolute;
    inset: 0
}

.kd-hero-bg span {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: kdFade 18s infinite, kdZoom 18s infinite
}

.kd-hero-bg span:nth-child(2) {
    animation-delay: 6s
}

.kd-hero-bg span:nth-child(3) {
    animation-delay: 12s
}

@keyframes kdFade {
    0% {
        opacity: 0
    }

    8%,
    33% {
        opacity: 1
    }

    41%,
    100% {
        opacity: 0
    }
}

@keyframes kdZoom {
    from {
        transform: scale(1)
    }

    to {
        transform: scale(1.12)
    }
}

.kd-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, rgba(14, 35, 80, .93) 20%, rgba(39, 89, 166, .55) 60%, rgba(238, 50, 55, .25));
    z-index: 1
}

.kd-shape {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
    filter: blur(2px);
    animation: kdFloat 9s ease-in-out infinite
}

.kd-shape.s1 {
    width: 240px;
    height: 240px;
    right: 6%;
    top: 12%;
    background: radial-gradient(circle, rgba(27, 177, 87, .5), transparent 70%)
}

.kd-shape.s2 {
    width: 170px;
    height: 170px;
    left: 42%;
    bottom: 14%;
    background: radial-gradient(circle, rgba(238, 50, 55, .5), transparent 70%);
    animation-delay: 2s
}

.kd-shape.s3 {
    width: 120px;
    height: 120px;
    left: 6%;
    top: 18%;
    background: radial-gradient(circle, rgba(255, 255, 255, .35), transparent 70%);
    animation-delay: 4s
}

@keyframes kdFloat {
    50% {
        transform: translateY(-30px) translateX(14px)
    }
}

.kd-hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding-top: 50px;
    padding-bottom: 110px
}

.kd-hero-text {
    max-width: 680px
}

.kd-pill {
    display: inline-block;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .35);
    padding: 7px 16px;
    border-radius: 50px;
    font-size: 13px;
    margin-bottom: 22px;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px)
}

.kd-pill i {
    color: #ffd24d;
    margin-right: 6px
}

.kd-hero h1 {
    font-size: clamp(30px, 5.2vw, 60px);
    line-height: 1.12;
    font-weight: 700;
    color: #fff
}

.kd-hero h1 b {
    background: linear-gradient(90deg, #8fe9b0, #fff, #8fe9b0);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: kdShine 4s linear infinite
}

@keyframes kdShine {
    to {
        background-position: 200% center
    }
}

.kd-hero-text>p {
    margin: 20px 0 30px;
    font-size: clamp(15px, 1.6vw, 18px);
    line-height: 1.7;
    color: #e3ecfa;
    max-width: 560px
}

.kd-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap
}

.kd-pill,
.kd-hero h1,
.kd-hero-text>p,
.kd-cta {
    animation: kdUp .9s cubic-bezier(.22, .8, .3, 1) both
}

.kd-hero h1 {
    animation-delay: .12s
}

.kd-hero-text>p {
    animation-delay: .24s
}

.kd-cta {
    animation-delay: .36s
}

@keyframes kdUp {
    from {
        opacity: 0;
        transform: translateY(34px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.kd-stats {
    display: flex;
    flex-direction: column;
    gap: 14px;
    animation: kdUp 1s .5s both
}

.kd-stat {
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .3);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    padding: 16px 28px;
    text-align: center;
    min-width: 170px
}

.kd-stat b {
    display: block;
    font-size: 34px;
    font-weight: 700;
    color: #fff
}

.kd-stat span {
    font-size: 13px;
    color: #cfe0f7;
    letter-spacing: .08em;
    text-transform: uppercase
}

.kd-wave {
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 70px;
    z-index: 2
}

/* QUICK LINKS */
.kd-quick {
    background: var(--bg);
    padding: 0 0 10px;
    position: relative;
    z-index: 5
}

.kd-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: -30px
}

.kd-q {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 22px;
    border-radius: 18px;
    color: #fff !important;
    text-decoration: none !important;
    box-shadow: 0 14px 34px rgba(20, 47, 94, .2);
    transition: transform .35s cubic-bezier(.22, .8, .3, 1), box-shadow .35s
}

.kd-q:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 44px rgba(20, 47, 94, .3)
}

.kd-q i {
    font-size: 26px;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto
}

.kd-q b {
    display: block;
    font-size: 16px;
    line-height: 1.25
}

.kd-q small {
    opacity: .85;
    font-size: 12.5px
}

.q-blue {
    background: linear-gradient(135deg, #2759a6, #3d82e8)
}

.q-red {
    background: linear-gradient(135deg, #ee3237, #ff6a4d)
}

.q-green {
    background: linear-gradient(135deg, #1bb157, #35d27b)
}

.q-navy {
    background: linear-gradient(135deg, #142f5e, #2c4f8f)
}

/* sections */
.kd-sec {
    padding: 84px 0;
    background: #fff
}

.kd-sec-light {
    background: var(--bg)
}

.kd-dark {
    background: linear-gradient(135deg, #102650, #2759a6);
    color: #fff
}

.kd-head {
    text-align: center;
    margin-bottom: 48px
}

.kd-head.left {
    text-align: left;
    margin-bottom: 22px
}

.kd-head span {
    display: inline-block;
    color: var(--red);
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-size: 13px;
    margin-bottom: 10px
}

.kd-head h2 {
    font-size: clamp(26px, 3.6vw, 40px);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.25
}

.kd-head h2 b {
    color: var(--blue)
}

.kd-head::after {
    content: "";
    display: block;
    width: 84px;
    height: 5px;
    border-radius: 5px;
    margin: 18px auto 0;
    background: linear-gradient(90deg, #2759a6 0 33%, #ee3237 33% 66%, #1bb157 66%)
}

.kd-head.left::after {
    margin-left: 0
}

.kd-head.light h2 {
    color: #fff
}

.kd-head.light h2 b {
    color: #8fe9b0
}

.kd-head.light span {
    color: #ffb4b6
}

.kd-grid {
    display: grid;
    gap: 24px
}

.g3 {
    grid-template-columns: repeat(3, 1fr)
}

.g4 {
    grid-template-columns: repeat(4, 1fr)
}

.kd-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px
}

/* cards: notices */
.kd-card {
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 12px 36px rgba(20, 47, 94, .1);
    overflow: hidden
}

.kd-card-h {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 26px;
    color: #fff
}

.kd-card-h.blue {
    background: linear-gradient(135deg, #2759a6, #3d82e8)
}

.kd-card-h.green {
    background: linear-gradient(135deg, #1bb157, #35d27b)
}

.kd-card-h h3 {
    font-size: 20px;
    font-weight: 600;
    color: #fff
}

.kd-card-h i {
    font-size: 22px
}

.kd-list ul {
    list-style: none;
    margin: 0;
    padding: 10px 12px;
    max-height: 380px;
    overflow-y: auto
}

.kd-list li a {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 13px 14px;
    border-radius: 12px;
    color: var(--ink) !important;
    text-decoration: none !important;
    font-size: 14.5px;
    font-weight: 500;
    transition: background .2s, transform .2s, color .2s
}

.kd-list li a i {
    color: var(--red);
    margin-top: 4px
}

.kd-list li a:hover {
    background: #eef4ff;
    transform: translateX(6px);
    color: var(--blue) !important
}

/* feature cards */
.kd-feat {
    display: block;
    background: #fff;
    border-radius: 22px;
    padding: 34px 28px;
    box-shadow: 0 10px 30px rgba(20, 47, 94, .08);
    border: 1px solid #e7eefb;
    text-decoration: none !important;
    color: var(--ink) !important;
    position: relative;
    overflow: hidden;
    transition: transform .4s cubic-bezier(.22, .8, .3, 1), box-shadow .4s
}

.kd-feat::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 4px;
    width: 0;
    background: linear-gradient(90deg, #2759a6, #ee3237, #1bb157);
    transition: width .5s
}

.kd-feat:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 50px rgba(39, 89, 166, .22)
}

.kd-feat:hover::after {
    width: 100%
}

.kd-feat i {
    width: 66px;
    height: 66px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 27px;
    margin-bottom: 20px;
    transition: transform .5s
}

.kd-feat:hover i {
    transform: rotate(-10deg) scale(1.12)
}

.c-blue {
    background: #e6efff;
    color: #2759a6
}

.c-red {
    background: #ffe8e9;
    color: #ee3237
}

.c-green {
    background: #def7e8;
    color: #1bb157
}

.kd-feat h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px
}

.kd-feat p {
    color: var(--mut);
    font-size: 14.5px;
    line-height: 1.7
}

/* welcome + form */
.kd-welcome {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 28px;
    align-items: start
}

.kd-photos {
    grid-template-columns: repeat(3, 1fr)
}

.kd-photo {
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 20px;
    overflow: hidden;
    transition: transform .4s
}

.kd-photo:hover {
    transform: translateY(-8px)
}

.kd-photo img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    transition: transform .6s
}

.kd-photo:hover img {
    transform: scale(1.1)
}

.kd-photo div {
    padding: 20px;
    position: relative;
    overflow: hidden
}

.kd-photo i {
    color: #8fe9b0;
    font-size: 24px;
    margin-bottom: 8px;
    display: block;
    animation: kdFloat 4s ease-in-out infinite
}

.kd-photo h4 {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #fff
}

.kd-photo p {
    font-size: 13.5px;
    line-height: 1.65;
    color: #d6e3f8
}

.kd-form {
    background: #fff;
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .25)
}

.kd-form h4 {
    color: var(--navy);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px
}

.kd-form input,
.kd-form textarea {
    width: 100%;
    border: 1.5px solid #d9e3f3;
    border-radius: 12px;
    padding: 13px 15px;
    margin-bottom: 12px;
    font: inherit;
    font-size: 14.5px;
    color: var(--ink);
    background: #f8fbff;
    transition: border .2s, box-shadow .2s;
    outline: 0;
    resize: vertical
}

.kd-form input:focus,
.kd-form textarea:focus {
    border-color: #2759a6;
    box-shadow: 0 0 0 4px rgba(39, 89, 166, .15);
    background: #fff
}

.kd-form .kd-btn {
    width: 100%;
    justify-content: center
}

/* why */
.kd-why {
    position: relative;
    background: #fff;
    border-radius: 22px;
    padding: 34px 26px 28px;
    border: 1px solid #e7eefb;
    box-shadow: 0 10px 30px rgba(20, 47, 94, .07);
    overflow: hidden;
    transition: transform .4s, box-shadow .4s
}

.kd-why:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 46px rgba(39, 89, 166, .2)
}

.kd-why em {
    position: absolute;
    right: 16px;
    top: 6px;
    font-size: 68px;
    font-style: normal;
    font-weight: 800;
    color: rgba(39, 89, 166, .08);
    line-height: 1
}

.kd-why h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
    position: relative
}

.kd-why h4::before {
    content: "";
    display: block;
    width: 36px;
    height: 4px;
    border-radius: 4px;
    background: var(--red);
    margin-bottom: 14px
}

.kd-why:nth-child(2) h4::before {
    background: var(--green)
}

.kd-why:nth-child(3) h4::before {
    background: var(--blue)
}

.kd-why:nth-child(4) h4::before {
    background: #f5a623
}

.kd-why p {
    font-size: 14px;
    line-height: 1.75;
    color: var(--mut)
}

/* news */
.kd-news {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(20, 47, 94, .09);
    display: flex;
    flex-direction: column;
    transition: transform .4s, box-shadow .4s
}

.kd-news:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 44px rgba(39, 89, 166, .22)
}

.kd-news-img {
    height: 190px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: transform .6s
}

.kd-news-img span {
    position: absolute;
    left: 12px;
    top: 12px;
    background: var(--red);
    color: #fff;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600
}

.kd-news-b {
    padding: 18px 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1
}

.kd-news-b h4 {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--navy);
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.kd-news-b a {
    color: var(--blue) !important;
    font-weight: 600;
    text-decoration: none !important;
    font-size: 14px
}

.kd-news-b a i {
    transition: transform .25s
}

.kd-news-b a:hover i {
    transform: translateX(6px)
}

/* about */
.kd-about {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 56px;
    align-items: center
}

.kd-about-img {
    position: relative
}

.kd-about-img img {
    width: 100%;
    border-radius: 26px;
    box-shadow: 0 26px 60px rgba(20, 47, 94, .3);
    aspect-ratio: 4/3;
    object-fit: cover
}

.kd-about-img::before {
    content: "";
    position: absolute;
    inset: 18px -18px -18px 18px;
    border: 3px solid #ee3237;
    border-radius: 26px;
    z-index: -1
}

.kd-badge {
    position: absolute;
    right: -14px;
    bottom: 26px;
    background: #1bb157;
    color: #fff;
    border-radius: 18px;
    padding: 14px 20px;
    text-align: center;
    box-shadow: 0 14px 30px rgba(27, 177, 87, .4)
}

.kd-badge b {
    display: block;
    font-size: 26px
}

.kd-badge span {
    font-size: 12px
}

.kd-about-txt p {
    font-size: 15px;
    line-height: 1.9;
    color: var(--mut);
    margin-bottom: 14px
}

/* asthamrut */
.kd-ast {
    position: relative;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .25);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-radius: 22px;
    padding: 30px 22px 26px;
    text-align: center;
    transition: transform .4s, background .4s
}

.kd-ast:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, .2)
}

.kd-ast span {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    background: linear-gradient(135deg, #ee3237, #ff7a5c);
    box-shadow: 0 8px 20px rgba(238, 50, 55, .45);
    transition: transform .5s
}

.kd-ast:hover span {
    transform: rotateY(360deg)
}

.kd-ast p {
    font-weight: 500;
    line-height: 1.7;
    font-size: 15px;
    color: #fff
}

/* gallery */
.kd-gal {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px
}

.kd-gal a {
    display: block;
    overflow: hidden;
    border-radius: 18px;
    position: relative;
    aspect-ratio: 4/3;
    box-shadow: 0 8px 24px rgba(20, 47, 94, .12)
}

.kd-gal a:nth-child(1),
.kd-gal a:nth-child(6) {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto
}

.kd-gal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s
}

.kd-gal a::after {
    content: "\f002";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 26px;
    background: rgba(20, 47, 94, .55);
    opacity: 0;
    transition: opacity .35s
}

.kd-gal a:hover img {
    transform: scale(1.12)
}

.kd-gal a:hover::after {
    opacity: 1
}

/* reach */
.kd-reach {
    background: linear-gradient(120deg, #ee3237, #c81f4a 60%, #2759a6);
    color: #fff;
    padding: 64px 0;
    overflow: hidden
}

.kd-reach-in {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center
}

.kd-reach h2 {
    font-size: clamp(26px, 3.6vw, 40px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px
}

.kd-reach h2 b {
    color: #ffe08a
}

.kd-reach p {
    margin-bottom: 26px;
    opacity: .92;
    font-size: 16px
}

.kd-reach .kd-btn-red {
    background: #fff;
    color: #c81f25 !important;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .25)
}

.kd-reach img {
    width: 100%;
    max-height: 300px;
    object-fit: contain;
    border-radius: 20px;
    background: #fff;
    padding: 10px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .3)
}

/* reveal */
.kd-sec .rv,
.kd-reach .rv {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity .8s cubic-bezier(.22, .8, .3, 1), transform .8s cubic-bezier(.22, .8, .3, 1)
}

.kd-sec .rv.in,
.kd-reach .rv.in {
    opacity: 1;
    transform: none
}

.kd-sec .rv.in:hover {
    transform: translateY(-8px)
}

/* responsive */
@media(max-width:1100px) {
    .g4 {
        grid-template-columns: repeat(2, 1fr)
    }

    .kd-quick-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .kd-welcome {
        grid-template-columns: 1fr
    }

    .kd-about {
        grid-template-columns: 1fr;
        gap: 44px
    }

    .kd-hero-inner {
        flex-direction: column;
        align-items: flex-start
    }

    .kd-stats {
        flex-direction: row;
        flex-wrap: wrap
    }
}

@media(max-width:800px) {

    .g3,
    .kd-photos {
        grid-template-columns: repeat(2, 1fr)
    }

    .kd-two,
    .kd-reach-in {
        grid-template-columns: 1fr
    }

    .kd-gal {
        grid-template-columns: repeat(2, 1fr)
    }

    .kd-gal a:nth-child(1),
    .kd-gal a:nth-child(6) {
        grid-column: span 2;
        grid-row: auto;
        aspect-ratio: 16/9
    }

    .kd-sec {
        padding: 56px 0
    }
}

@media(max-width:560px) {
    .kd-wrap {
        padding: 0 14px
    }

    .g3,
    .g4,
    .kd-photos,
    .kd-quick-grid {
        grid-template-columns: 1fr
    }

    .kd-quick-grid {
        margin-top: -24px;
        gap: 12px
    }

    .kd-hero {
        min-height: 560px
    }

    .kd-hero-inner {
        padding-top: 30px;
        padding-bottom: 90px
    }

    .kd-btn {
        padding: 12px 20px;
        font-size: 14px;
        width: 100%;
        justify-content: center
    }

    .kd-stat {
        min-width: 0;
        flex: 1;
        padding: 12px 10px
    }

    .kd-stat b {
        font-size: 24px
    }

    .kd-head {
        margin-bottom: 34px
    }

    .kd-about-img::before {
        display: none
    }

    .kd-badge {
        right: 10px
    }

    .kd-card-h {
        padding: 16px 18px
    }
}

@media(prefers-reduced-motion:reduce) {

    .kd-hero *,
    .kd-sec * {
        animation: none !important
    }

    .kd-sec .rv {
        opacity: 1;
        transform: none
    }
}

/* ===== calmer tone ===== */
.kd-sec {
    padding: 64px 0
}

.kd-head {
    margin-bottom: 36px
}

.kd-head::after {
    width: 60px;
    height: 4px
}

.kd-dark {
    background: #f5f8fd;
    color: var(--ink)
}

.kd-dark .kd-head.light h2 {
    color: var(--navy)
}

.kd-dark .kd-head.light h2 b {
    color: var(--blue)
}

.kd-dark .kd-head.light span {
    color: var(--red)
}

.kd-photo {
    background: #fff;
    border: 1px solid #e7eefb;
    box-shadow: 0 8px 22px rgba(20, 47, 94, .08)
}

.kd-photo h4 {
    color: var(--navy)
}

.kd-photo p {
    color: var(--mut)
}

.kd-photo i {
    color: var(--blue);
    animation: none
}

.kd-ast {
    background: #fff;
    border: 1px solid #e7eefb;
    box-shadow: 0 8px 22px rgba(20, 47, 94, .07);
    -webkit-backdrop-filter: none;
    backdrop-filter: none
}

.kd-ast:hover {
    background: #fff;
    transform: translateY(-4px)
}

.kd-ast p {
    color: var(--ink)
}

.kd-ast span {
    background: var(--blue);
    box-shadow: none
}

.kd-ast:hover span {
    transform: none
}

.kd-feat,
.kd-why,
.kd-news,
.kd-card {
    box-shadow: 0 6px 18px rgba(20, 47, 94, .07)
}

.kd-feat:hover,
.kd-why:hover,
.kd-news:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(39, 89, 166, .15)
}

.kd-feat:hover i {
    transform: none
}

.kd-why em {
    display: none
}

.kd-gal a:nth-child(1),
.kd-gal a:nth-child(6) {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 4/3
}

.kd-reach {
    background: #2759a6;
    padding: 48px 0
}

.kd-about-img::before {
    display: none
}

.kd-form {
    box-shadow: 0 8px 24px rgba(20, 47, 94, .1);
    border: 1px solid #e7eefb
}

/* ===== About (old look, upgraded) ===== */
.kd-about2 {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    padding: 110px 0;
    text-align: center;
    font-family: 'Poppins', sans-serif
}

.kd-about2::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(14, 35, 80, .55), rgba(14, 35, 80, .15))
}

.kd-about2 .kd-wrap {
    position: relative
}

.kd-about2 .about-box {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: 46px 44px;
    background: rgba(255, 255, 255, .93);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border-radius: 18px;
    border-top: 5px solid #ee3237;
    box-shadow: 0 22px 55px rgba(0, 0, 0, .35)
}

.kd-about2 h1 {
    font-size: clamp(26px, 3.6vw, 38px);
    font-weight: 700;
    color: #142f5e;
    margin: 0 0 18px
}

.kd-about2 h1 span {
    color: #ee3237;
    text-decoration: none;
    border-bottom: 3px solid #1bb157
}

.kd-about2 p {
    font-size: 15px;
    line-height: 1.9;
    color: #33405a;
    margin: 0 0 18px;
    text-align: center
}

.kd-about2 .btn {
    border-radius: 50px;
    padding: 11px 30px;
    font-weight: 600
}

@media(max-width:767px) {
    .kd-about2 {
        padding: 60px 0;
        background-attachment: scroll
    }

    .kd-about2 .about-box {
        padding: 28px 20px
    }
}

/* ===== Aashtamrut (old look, upgraded) ===== */
.kd-ast2 {
    background: linear-gradient(#fff, #a9ccff);
    padding: 70px 0;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow: hidden
}

.kd-ast2 .asthamrut-title {
    font-size: clamp(24px, 3.4vw, 36px);
    font-weight: 700;
    color: #142f5e;
    margin: 0 0 10px
}

.kd-ast2>.kd-wrap>img {
    width: min(400px, 80%);
    margin-bottom: 30px
}

.kd-circles {
    display: grid;
    grid-template-columns: repeat(4, 200px);
    justify-content: center;
    gap: 34px 40px
}

.kd-circles .circle {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0;
    padding: 24px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    background: linear-gradient(145deg, #3d9be8, #1b4f93);
    box-shadow: 0 10px 24px rgba(20, 47, 94, .35), inset 0 0 0 6px rgba(255, 255, 255, .18);
    transition: transform .45s cubic-bezier(.22, .8, .3, 1), box-shadow .45s;
    animation: kdPop .7s both
}

.kd-circles .circle:nth-child(2n) {
    background: linear-gradient(145deg, #2dc56a, #12853f)
}

.kd-circles .circle:nth-child(4n) {
    background: linear-gradient(145deg, #f0545a, #c0252b)
}

.kd-circles .circle p {
    margin: 0;
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.55;
    color: #fff
}

.kd-circles .circle em {
    position: absolute;
    top: -4px;
    right: 6px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    color: #142f5e;
    font-style: normal;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .25)
}

.kd-circles .circle:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 36px rgba(20, 47, 94, .45), inset 0 0 0 6px rgba(255, 255, 255, .3)
}

.kd-circles .circle:nth-child(2) {
    animation-delay: .08s
}

.kd-circles .circle:nth-child(3) {
    animation-delay: .16s
}

.kd-circles .circle:nth-child(4) {
    animation-delay: .24s
}

.kd-circles .circle:nth-child(5) {
    animation-delay: .32s
}

.kd-circles .circle:nth-child(6) {
    animation-delay: .4s
}

.kd-circles .circle:nth-child(7) {
    animation-delay: .48s
}

.kd-circles .circle:nth-child(8) {
    animation-delay: .56s
}

@keyframes kdPop {
    from {
        opacity: 0;
        transform: scale(.6)
    }

    to {
        opacity: 1;
        transform: none
    }
}

@media(max-width:1000px) {
    .kd-circles {
        grid-template-columns: repeat(2, 200px)
    }
}

@media(max-width:480px) {
    .kd-circles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 14px
    }

    .kd-circles .circle {
        width: 100%;
        height: auto;
        aspect-ratio: 1;
        padding: 12px
    }

    .kd-circles .circle p {
        font-size: 12px
    }

    .kd-circles .circle em {
        width: 28px;
        height: 28px;
        font-size: 13px
    }
}

/* ===== Gallery slider ===== */
.kd-slider {
    position: relative
}

.kd-track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 6px 2px 14px
}

.kd-track::-webkit-scrollbar {
    display: none
}

.kd-slide {
    flex: 0 0 calc((100% - 36px)/3);
    scroll-snap-align: start;
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: 0 8px 22px rgba(20, 47, 94, .15);
    position: relative;
    display: block
}

.kd-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s
}

.kd-slide:hover img {
    transform: scale(1.08)
}

.kd-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 0;
    background: #fff;
    color: #2759a6;
    font-size: 26px;
    line-height: 1;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
    cursor: pointer;
    transition: background .25s, color .25s, transform .25s
}

.kd-nav:hover {
    background: #ee3237;
    color: #fff;
    transform: translateY(-50%) scale(1.08)
}

.kd-nav.prev {
    left: -14px
}

.kd-nav.next {
    right: -14px
}

.kd-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px
}

.kd-dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: #c5d3ea;
    transition: width .3s, background .3s;
    cursor: pointer
}

.kd-dots button.on {
    width: 28px;
    background: #2759a6
}

@media(max-width:900px) {
    .kd-slide {
        flex-basis: calc((100% - 18px)/2)
    }
}

@media(max-width:560px) {
    .kd-slide {
        flex-basis: 88%
    }

    .kd-nav {
        width: 38px;
        height: 38px;
        font-size: 22px
    }

    .kd-nav.prev {
        left: 2px
    }

    .kd-nav.next {
        right: 2px
    }
}

#about.kd-about2 {
    background-position: center !important;
    background-size: cover !important;
    min-height: 380px
}

/* ===== compact reach ===== */
.kd-reach {
    padding: 28px 0
}

.kd-reach-in {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
    grid-template-columns: none
}

.kd-reach h2 {
    font-size: clamp(20px, 2.6vw, 28px);
    margin-bottom: 6px
}

.kd-reach p {
    margin-bottom: 14px;
    font-size: 14.5px
}

.kd-reach .kd-btn {
    padding: 10px 22px;
    font-size: 14px
}

.kd-reach img {
    width: 110px;
    max-height: none;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0
}

@media(max-width:600px) {
    .kd-reach-in {
        flex-direction: column;
        text-align: center;
        gap: 16px
    }

    .kd-reach img {
        width: 90px
    }
}

/* ===== Why Choose Us (new) ===== */
.kd-whyus {
    background: #fff;
    position: relative;
    overflow: hidden
}

.kd-whyus::before,
.kd-whyus::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    z-index: 0;
    animation: kdFloat 10s ease-in-out infinite
}

.kd-whyus::before {
    width: 340px;
    height: 340px;
    left: -120px;
    top: -100px;
    background: radial-gradient(circle, rgba(39, 89, 166, .12), transparent 70%)
}

.kd-whyus::after {
    width: 300px;
    height: 300px;
    right: -90px;
    bottom: -90px;
    background: radial-gradient(circle, rgba(238, 50, 55, .1), transparent 70%);
    animation-delay: 3s
}

.kd-whyus-in {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 56px;
    align-items: center
}

.kd-eyebrow {
    display: inline-block;
    color: #ee3237;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-size: 13px;
    margin-bottom: 10px
}

.kd-whyus-l h2 {
    font-size: clamp(28px, 3.8vw, 44px);
    font-weight: 700;
    color: #142f5e;
    line-height: 1.2;
    margin: 0 0 16px
}

.kd-whyus-l h2 b {
    color: #2759a6;
    position: relative;
    white-space: nowrap
}

.kd-whyus-l h2 b::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 10px;
    background: rgba(27, 177, 87, .28);
    z-index: -1;
    transform-origin: left;
    animation: kdLine 1.2s .4s both
}

@keyframes kdLine {
    from {
        transform: scaleX(0)
    }

    to {
        transform: scaleX(1)
    }
}

.kd-whyus-l p {
    color: #5d6b85;
    line-height: 1.8;
    font-size: 15.5px;
    margin: 0 0 24px
}

.kd-mini {
    display: flex;
    gap: 16px;
    margin-bottom: 28px
}

.kd-mini div {
    flex: 1;
    background: #f3f7fe;
    border-left: 4px solid #2759a6;
    border-radius: 12px;
    padding: 14px 18px
}

.kd-mini div:nth-child(2) {
    border-left-color: #ee3237
}

.kd-mini b {
    display: block;
    font-size: 28px;
    color: #142f5e;
    font-weight: 700
}

.kd-mini span {
    font-size: 12.5px;
    color: #5d6b85;
    text-transform: uppercase;
    letter-spacing: .08em
}

.kd-whyus-r {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px
}

.kd-wcard {
    position: relative;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: #fff;
    border-radius: 20px;
    padding: 24px 22px;
    border: 1px solid #e5edf9;
    box-shadow: 0 8px 24px rgba(20, 47, 94, .08);
    overflow: hidden;
    transition: transform .4s cubic-bezier(.22, .8, .3, 1), box-shadow .4s, border-color .4s
}

.kd-wcard::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(180deg, #2759a6, #1bb157);
    transition: width .4s
}

.kd-wcard:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 38px rgba(39, 89, 166, .18);
    border-color: #c9daf5
}

.kd-wcard:hover::before {
    width: 5px
}

.kd-wcard .ic {
    flex: 0 0 54px;
    height: 54px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    position: relative
}

.kd-wcard .ic::after {
    content: "";
    position: absolute;
    inset: -5px;
    border-radius: 20px;
    border: 2px solid currentColor;
    opacity: 0;
    animation: kdPulse 2.6s infinite
}

.kd-wcard:nth-child(2) .ic::after {
    animation-delay: .5s
}

.kd-wcard:nth-child(3) .ic::after {
    animation-delay: 1s
}

.kd-wcard:nth-child(4) .ic::after {
    animation-delay: 1.5s
}

@keyframes kdPulse {
    0% {
        opacity: .5;
        transform: scale(.9)
    }

    70%,
    100% {
        opacity: 0;
        transform: scale(1.25)
    }
}

.i-blue {
    background: linear-gradient(135deg, #2759a6, #4b8df0);
    color: #2759a6
}

.i-green {
    background: linear-gradient(135deg, #1bb157, #45d584);
    color: #1bb157
}

.i-red {
    background: linear-gradient(135deg, #ee3237, #ff7a5c);
    color: #ee3237
}

.i-gold {
    background: linear-gradient(135deg, #f5a623, #ffcb5c);
    color: #f5a623
}

.kd-wcard .ic i {
    color: #fff;
    transition: transform .5s
}

.kd-wcard:hover .ic i {
    transform: rotate(-12deg) scale(1.2)
}

.kd-wcard h4 {
    font-size: 17px;
    font-weight: 700;
    color: #142f5e;
    margin: 0 0 6px
}

.kd-wcard p {
    font-size: 13.8px;
    line-height: 1.7;
    color: #5d6b85;
    margin: 0
}

.kd-sec .rv.fromL {
    transform: translateX(-50px)
}

.kd-sec .rv.fromR {
    transform: translateX(50px) scale(.96)
}

.kd-sec .rv.fromL.in,
.kd-sec .rv.fromR.in {
    transform: none
}

.kd-sec .rv.fromR.in:hover {
    transform: translateY(-6px)
}

@media(max-width:1000px) {
    .kd-whyus-in {
        grid-template-columns: 1fr;
        gap: 34px
    }
}

@media(max-width:620px) {
    .kd-whyus-r {
        grid-template-columns: 1fr
    }

    .kd-mini {
        flex-direction: column;
        gap: 10px
    }

    .kd-sec .rv.fromL,
    .kd-sec .rv.fromR {
        transform: translateY(30px)
    }
}

/* ===== Gallery: centre-focus carousel ===== */
.kd-track {
    display: block;
    position: relative;
    overflow: visible;
    height: clamp(240px, 42vw, 460px);
    padding: 0;
    scroll-snap-type: none
}

.kd-slide {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(52%, 620px);
    flex: none;
    aspect-ratio: 16/10;
    margin: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(20, 47, 94, .2);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(.6);
    filter: brightness(.6) saturate(.8);
    transition: transform .7s cubic-bezier(.22, .8, .3, 1), opacity .7s, filter .7s, box-shadow .7s
}

.kd-slide[data-p="0"] {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
    filter: none;
    box-shadow: 0 24px 54px rgba(20, 47, 94, .4);
    outline: 4px solid #fff
}

.kd-slide[data-p="-1"] {
    opacity: .9;
    pointer-events: auto;
    transform: translate(-128%, -50%) scale(.72)
}

.kd-slide[data-p="1"] {
    opacity: .9;
    pointer-events: auto;
    transform: translate(28%, -50%) scale(.72)
}

.kd-slide[data-p="-2"] {
    opacity: .35;
    transform: translate(-170%, -50%) scale(.5)
}

.kd-slide[data-p="2"] {
    opacity: .35;
    transform: translate(70%, -50%) scale(.5)
}

.kd-slide:hover img {
    transform: none
}

.kd-nav.prev {
    left: 4px
}

.kd-nav.next {
    right: 4px
}

.kd-slider {
    overflow: hidden;
    padding: 20px 0
}

@media(max-width:700px) {
    .kd-slide {
        width: 78%
    }

    .kd-slide[data-p="-1"] {
        transform: translate(-112%, -50%) scale(.7)
    }

    .kd-slide[data-p="1"] {
        transform: translate(12%, -50%) scale(.7)
    }

    .kd-slide[data-p="-2"],
    .kd-slide[data-p="2"] {
        opacity: 0
    }
}

.kd-slider {
    position: relative;
    z-index: 0;
    isolation: isolate
}

.kd-slide {
    z-index: auto
}

/* ===== Aashtamrut extra animation ===== */
.kd-ast2 .kd-circles .circle {
    opacity: 0;
    animation: none;
    overflow: visible
}

.kd-ast2 .kd-circles .circle.in {
    animation: kdPop .8s cubic-bezier(.22, .8, .3, 1) var(--d, 0s) both, kdBob 5s ease-in-out calc(var(--d, 0s) + .9s) infinite
}

.kd-ast2 .kd-circles .circle:nth-child(1) {
    --d: 0s
}

.kd-ast2 .kd-circles .circle:nth-child(2) {
    --d: .12s
}

.kd-ast2 .kd-circles .circle:nth-child(3) {
    --d: .24s
}

.kd-ast2 .kd-circles .circle:nth-child(4) {
    --d: .36s
}

.kd-ast2 .kd-circles .circle:nth-child(5) {
    --d: .48s
}

.kd-ast2 .kd-circles .circle:nth-child(6) {
    --d: .6s
}

.kd-ast2 .kd-circles .circle:nth-child(7) {
    --d: .72s
}

.kd-ast2 .kd-circles .circle:nth-child(8) {
    --d: .84s
}

@keyframes kdBob {

    0%,
    100% {
        translate: 0 0
    }

    50% {
        translate: 0 -9px
    }
}

@keyframes kdSpin {
    to {
        transform: rotate(360deg)
    }
}

.kd-circles .circle::after {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 2px dashed rgba(39, 89, 166, .45);
    animation: kdSpin 16s linear infinite;
    pointer-events: none
}

.kd-circles .circle:nth-child(2n)::after {
    animation-direction: reverse;
    border-color: rgba(27, 177, 87, .5)
}

.kd-circles .circle:nth-child(4n)::after {
    border-color: rgba(238, 50, 55, .45)
}

.kd-circles .circle:hover::after {
    animation-duration: 3s;
    border-style: solid
}

.kd-circles .circle em {
    animation: kdBadge 2.4s ease-in-out infinite
}

@keyframes kdBadge {
    50% {
        transform: scale(1.18)
    }
}

.kd-ast2 .asthamrut-title {
    position: relative;
    display: inline-block;
    padding-bottom: 12px
}

.kd-ast2 .asthamrut-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 4px;
    width: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, #2759a6, #ee3237, #1bb157);
    transform-origin: left;
    animation: kdLine 1.4s .3s both
}

@media(prefers-reduced-motion:reduce) {
    .kd-ast2 .kd-circles .circle {
        opacity: 1
    }
}

/* title + line break fix, scroll-driven motion */
.kd-ast2 .asthamrut-title {
    display: table;
    margin: 0 auto 14px
}

.kd-ast2>.kd-wrap>img {
    display: block;
    margin: 0 auto 34px
}

.kd-circles .circle::after {
    animation: none;
    transform: rotate(calc(var(--sp, 0) * 540deg))
}

.kd-circles .circle:nth-child(2n)::after {
    transform: rotate(calc(var(--sp, 0) * -540deg))
}

.kd-circles .circle:hover::after {
    border-style: solid
}

.kd-ast2>.kd-wrap>img {
    transform: scaleX(calc(.4 + var(--sp, 0) * .6));
    opacity: calc(.3 + var(--sp, 0) * .7)
}

.kd-ast2 .asthamrut-title::after {
    display: none !important
}

/* ===== Aashtamrut v3 (dark, icon cards) ===== */
.kd-ast3 {
    background: linear-gradient(135deg, #0d2250, #1b4084 60%, #173a78);
    padding: 84px 0;
    position: relative;
    overflow: hidden
}

.kd-ast3 .asthamrut-title {
    color: #fff;
    font-size: clamp(26px, 3.6vw, 40px);
    font-weight: 700;
    margin: 0 auto 10px;
    display: table;
    text-align: center
}

.kd-ast3>.kd-wrap>img {
    filter: invert(1);
    opacity: .85;
    width: min(300px, 70%);
    margin: 0 auto 46px;
    transform: none
}

.kd-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(10px);
    pointer-events: none;
    transform: translateY(calc(var(--sp, 0) * -80px))
}

.kd-glow.g1 {
    width: 420px;
    height: 420px;
    left: -120px;
    top: -60px;
    background: radial-gradient(circle, rgba(238, 50, 55, .28), transparent 70%)
}

.kd-glow.g2 {
    width: 460px;
    height: 460px;
    right: -140px;
    bottom: -120px;
    background: radial-gradient(circle, rgba(27, 177, 87, .28), transparent 70%)
}

.kd-ast3 .kd-wrap {
    position: relative;
    z-index: 1
}

.kd-acards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px
}

.kd-a {
    --ac: #4b8df0;
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    padding: 34px 22px 28px;
    text-align: center;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .16);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(50px) scale(.94);
    transition: opacity .8s cubic-bezier(.22, .8, .3, 1) var(--d, 0s), transform .8s cubic-bezier(.22, .8, .3, 1) var(--d, 0s), background .35s, box-shadow .35s, border-color .35s
}

.kd-a.in {
    opacity: 1;
    transform: none
}

.kd-a.c2 {
    --ac: #2fd07a
}

.kd-a.c3 {
    --ac: #ffb43a
}

.kd-a.c4 {
    --ac: #ff5a60
}

.kd-a::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 4px;
    background: var(--ac);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .6s
}

.kd-a.in::before {
    transform: scaleX(1);
    transition-delay: calc(var(--d, 0s) + .5s)
}

.kd-a em {
    position: absolute;
    right: 14px;
    top: 6px;
    font-style: normal;
    font-weight: 800;
    font-size: 54px;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, .22);
    transition: -webkit-text-stroke-color .35s, transform .5s
}

.kd-a .ico {
    position: relative;
    width: 78px;
    height: 78px;
    margin: 6px auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #fff;
    background: var(--ac);
    box-shadow: 0 0 0 8px rgba(255, 255, 255, .08), 0 12px 26px rgba(0, 0, 0, .3);
    transition: transform .5s cubic-bezier(.22, .8, .3, 1)
}

.kd-a .ico::after {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid var(--ac);
    opacity: 0;
    animation: kdRing 2.8s ease-out infinite
}

.kd-a.c2 .ico::after {
    animation-delay: .4s
}

.kd-a.c3 .ico::after {
    animation-delay: .8s
}

.kd-a.c4 .ico::after {
    animation-delay: 1.2s
}

@keyframes kdRing {
    0% {
        opacity: .7;
        transform: scale(.9)
    }

    100% {
        opacity: 0;
        transform: scale(1.5)
    }
}

.kd-a p {
    margin: 0;
    color: #fff;
    font-weight: 600;
    line-height: 1.65;
    font-size: 15.5px;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center
}

.kd-a:hover {
    background: rgba(255, 255, 255, .14);
    border-color: var(--ac);
    box-shadow: 0 20px 44px rgba(0, 0, 0, .35), 0 0 0 1px var(--ac)
}

.kd-a.in:hover {
    transform: translateY(-10px)
}

.kd-a:hover .ico {
    transform: scale(1.12) rotate(-8deg)
}

.kd-a:hover em {
    -webkit-text-stroke-color: var(--ac);
    transform: scale(1.1)
}

@media(max-width:1000px) {
    .kd-acards {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:520px) {
    .kd-acards {
        gap: 12px
    }

    .kd-a {
        padding: 24px 12px 20px
    }

    .kd-a .ico {
        width: 60px;
        height: 60px;
        font-size: 23px
    }

    .kd-a p {
        font-size: 13px
    }

    .kd-a em {
        font-size: 38px
    }

    .kd-ast3 {
        padding: 56px 0
    }
}

@media(prefers-reduced-motion:reduce) {
    .kd-a {
        opacity: 1;
        transform: none
    }
}

/* default news image */
.kd-news-img.noimg {
    background-color: #eef4ff;
    background-image: url('../img/logo-text.png'), linear-gradient(135deg, #e8f0ff, #fdecee 60%, #e6f8ee);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 62% auto, cover
}

@media(prefers-reduced-motion:reduce) {

    .kd-sec .rv.fromL,
    .kd-sec .rv.fromR {
        transform: none !important;
        opacity: 1 !important
    }
}