/* Inchara Ultimate UI Enhancements */
:root {
    --header-h: 92px;
    --safe-bottom: env(safe-area-inset-bottom, 0px)
}

.skip-link {
    position: fixed;
    left: 18px;
    top: -80px;
    z-index: 110000;
    background: #fff;
    color: #2b0718;
    padding: 12px 18px;
    border-radius: 0 0 14px 14px;
    font-weight: 800;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
    transition: .25s
}

.skip-link:focus {
    top: 0
}

.announcement-bar {
    position: relative;
    z-index: 1042;
    background: linear-gradient(90deg, #3d0a24, #7d1749 52%, #3d0a24);
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    overflow: hidden
}

.announcement-inner {
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .35px
}

.announcement-inner span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap
}

.announcement-inner i {
    color: #f4c56a
}

.announcement-cta {
    border-left: 1px solid rgba(255, 255, 255, .18);
    padding-left: 22px;
    color: #ffd7e8
}

.announcement-cta:hover {
    color: #fff
}

.site-header {
    top: 36px
}

.site-header.scrolled {
    top: 0
}

/* .hero-section {
    padding-top: calc(var(--header-h) + 36px)
} */

.hero-section:after {
    content: "";
    position: absolute;
    inset: auto -10vw -15% auto;
    width: 48vw;
    height: 48vw;
    max-width: 680px;
    max-height: 680px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(233, 54, 125, .19), transparent 67%);
    filter: blur(10px);
    pointer-events: none
}

.hero-content {
    position: relative;
    z-index: 3
}

.hero-content h1 {
    max-width: 780px;
    text-wrap: balance
}

.hero-content p {
    font-size: 16px;
    max-width: 620px
}

.hero-actions {
    flex-wrap: wrap
}

.hero-trust-row {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 34px
}

.hero-trust-item {
    min-height: 74px;
    padding: 12px 13px !important;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;
    background: rgba(255, 255, 255, .05);
    backdrop-filter: blur(14px);
    transition: .35s
}

.hero-trust-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, .09);
    border-color: rgba(244, 197, 106, .4)
}

.section-heading h2 {
    text-wrap: balance
}

.section-heading {
    max-width: 850px;
    margin-left: auto;
    margin-right: auto
}

.section-heading.text-start {
    margin-left: 0
}

.about-grid-card,
.service-card,
.faculty-card,
.facility-card,
.why-card,
.blog-card,
.testimonial-card {
    isolation: isolate
}

.about-grid-card:after,
.service-card:after,
.faculty-card:after,
.facility-card:after,
.why-card:after,
.blog-card:after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(140deg, rgba(255, 255, 255, .85), rgba(233, 54, 125, .13), rgba(217, 166, 76, .28));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: .7
}

.service-card,
.faculty-card,
.facility-card,
.why-card,
.blog-card {
    transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .45s ease
}

.service-card:hover,
.faculty-card:hover,
.facility-card:hover,
.why-card:hover,
.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 28px 70px rgba(70, 16, 43, .16)
}

.service-card img,
.faculty-card img,
.facility-card img,
.blog-card img {
    transition: transform .75s cubic-bezier(.2, .8, .2, 1), filter .5s ease
}

.service-card:hover img,
.faculty-card:hover img,
.facility-card:hover img,
.blog-card:hover img {
    transform: scale(1.07);
    filter: saturate(1.08)
}

.services-section,
.faculty-section,
.why-section,
.insights-section {
    overflow: hidden
}

.services-section:before,
.why-section:before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(233, 54, 125, .09), transparent 67%);
    left: -250px;
    top: 10%;
    pointer-events: none
}

.faculty-section:after,
.insights-section:after {
    content: "";
    position: absolute;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(217, 166, 76, .1), transparent 68%);
    right: -220px;
    bottom: 5%;
    pointer-events: none
}

.academy-section {
    position: relative;
    overflow: hidden
}

.academy-section:before {
    content: "ACADEMY";
    position: absolute;
    right: -1vw;
    top: 7%;
    font-family: var(--serif);
    font-size: clamp(80px, 13vw, 210px);
    font-weight: 700;
    letter-spacing: -8px;
    color: rgba(255, 255, 255, .025);
    pointer-events: none
}

.academy-section .academy-image {
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-dark)
}

.gallery-filter {
    position: sticky;
    top: 96px;
    z-index: 12;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 9px;
    background: rgba(255, 250, 247, .78);
    border: 1px solid rgba(236, 220, 214, .9);
    border-radius: 999px;
    backdrop-filter: blur(18px);
    box-shadow: 0 12px 38px rgba(63, 18, 39, .08);
    width: max-content;
    max-width: 100%;
    margin: 0 auto 32px
}

.gallery-filter button {
    border: 0;
    background: transparent;
    border-radius: 999px;
    padding: 9px 16px;
    font-size: 12px;
    font-weight: 800;
    color: var(--muted);
    transition: .25s
}

.gallery-filter button.active,
.gallery-filter button:hover {
    background: linear-gradient(135deg, var(--pink), var(--pink-dark));
    color: #fff;
    box-shadow: 0 9px 24px rgba(205, 31, 99, .24)
}

.floating-actions {
    position: fixed;
    right: 22px;
    bottom: 80px;
    z-index: 1030;
    display: flex;
    flex-direction: column;
    gap: 10px
}

.floating-action {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    box-shadow: 0 14px 34px rgba(34, 5, 18, .22);
    transition: .3s;
    border: 1px solid rgba(255, 255, 255, .2)
}

.floating-action:hover {
    transform: translateY(-4px) scale(1.04);
    color: #fff
}

.floating-action.call {
    background: linear-gradient(135deg, #f34d8b, #ad174f)
}

.floating-action.whatsapp {
    background: #25d366
}

.floating-action.book {
    background: linear-gradient(135deg, #d9a64c, #8f5d13)
}

.device-preview-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 18px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .15);
    background: rgba(255, 255, 255, .055);
    color: rgba(255, 255, 255, .8);
    font-size: 11px;
    font-weight: 700
}

.device-preview-badge i {
    color: #f4c56a
}

@media (max-width:1199.98px) {
    .site-header {
        top: 36px
    }

    .site-header.scrolled {
        top: 0
    }

    .hero-section {
        padding-top: 130px
    }

    .hero-trust-row {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .announcement-inner {
        justify-content: flex-start;
        overflow: auto;
        padding: 0 18px;
        scrollbar-width: none
    }

    .announcement-inner::-webkit-scrollbar {
        display: none
    }

    .announcement-cta {
        margin-right: 18px
    }

    .gallery-filter {
        top: 82px
    }
}

@media (max-width:767.98px) {
    :root {
        --header-h: 72px
    }

    .announcement-inner {
        height: 32px;
        font-size: 10px
    }

    .site-header {
        top: 32px
    }

    .hero-section {
        padding-top: 70px
    }

    .hero-content h1 {
        font-size: clamp(42px, 13vw, 62px) !important;
        line-height: 1.02
    }

    .hero-content p {
        font-size: 14px
    }

    .hero-trust-row {
        grid-template-columns: 1fr 1fr;
        gap: 8px
    }

    .hero-trust-item {
        min-height: 66px;
        padding: 9px !important
    }

    .section {
        padding: 30px 0
    }

    .section-heading h2 {
               font-size: clamp(23px, 6vw, 42px);
    }

    .eyebrow-script {
        font-size: 31px
    }

    .gallery-filter {
        position: relative;
        top: auto;
        border-radius: 20px;
        width: 100%;
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 8px
    }

    .gallery-filter button {
        white-space: nowrap
    }

    .floating-actions {
        right: 14px;
        bottom: 88px
    }

    .floating-action {
        width: 45px;
        height: 45px
    }

    .mobile-bottom-nav {
        padding-bottom: calc(8px + var(--safe-bottom))
    }

    .academy-section:before {
        font-size: 84px;
        right: -20px;
        top: 3%
    }
}

@media (max-width:420px) {
    .hero-trust-row {
        grid-template-columns: 1fr
    }

    .hero-trust-item:nth-child(n+4) {
        display: none
    }

    .hero-actions .btn {
        width: 100%
    }

    .announcement-inner span:nth-child(2) {
        display: none
    }

    .floating-action.call {
        display: none
    }
}

@media (prefers-reduced-motion:reduce) {

    *,
    *:before,
    *:after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important
    }

    .cursor-glow {
        display: none !important
    }
}

@media (hover:none) {
    .cursor-glow {
        display: none
    }

    .service-card:hover,
    .faculty-card:hover,
    .facility-card:hover,
    .why-card:hover,
    .blog-card:hover {
        transform: none
    }
}