/********** Template CSS **********/
:root {
    --primary: #015FC9;
    --secondary: #0DD3F1;
    --light: #F6F7FC;
    --dark: #15233C;
}

.back-to-top {
    position: fixed;
    display: none;
    left: 30px;
    right: auto;
    bottom: 30px;
    z-index: 99;
}


html,
body {
    overflow-x: hidden;
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover,
.btn.btn-secondary,
.btn.btn-outline-secondary:hover {
    color: #FFFFFF;
}

.btn.btn-primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

.btn.btn-secondary:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

/* Centered, shorter, curved floating bar */
.nic-navbar-outer {
    background: transparent !important;
    padding: 0.65rem 0.75rem !important;
    box-shadow: none !important;
    z-index: 1050;
    /* Ensure navbar is on top of chatbot */
}

.nic-navbar-outer.shadow-sm {
    box-shadow: none !important;
}

.nic-navbar-outer.shadow-sm .nic-navbar-surface {
    box-shadow: 0 10px 36px rgba(15, 23, 42, 0.12);
    border-color: rgba(15, 23, 42, 0.1);
}

.nic-navbar-inner {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.nic-navbar-surface {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    background: #fff;
    border-radius: 999px;
    padding: 0.35rem 0.65rem 0.35rem 1rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 6px 28px rgba(15, 23, 42, 0.08);
    position: relative;
    /* Added for absolute centering of links */
}

@media (min-width: 992px) {
    .nic-navbar-surface {
        justify-content: space-between;
    }

    .nic-navbar-surface .navbar-collapse {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: auto;
        display: flex !important;
        justify-content: center;
    }
}

.nic-navbar-links {
    flex-direction: row !important;
    align-items: center;
    gap: 0.15rem;
}

.nic-navbar-links .nav-link {
    margin-left: 0 !important;
    padding: 0.45rem 0.85rem !important;
    border-radius: 999px;
    color: #5c6370 !important;
    font-weight: 500;
    font-size: 0.94rem;
    white-space: nowrap;
    transition: background .2s ease, color .2s ease;
}

.nic-navbar-links .nav-link:hover,
.nic-navbar-links .nav-link.active {
    color: var(--primary) !important;
    background: rgba(1, 95, 201, 0.09);
}

@media (max-width: 991.98px) {
    .nic-navbar-inner {
        max-width: 100%;
        padding-left: 0.35rem;
        padding-right: 0.35rem;
    }

    .nic-navbar-surface {
        border-radius: 22px;
        padding: 0.5rem 0.75rem;
        overflow: hidden;
    }

    .nic-navbar-surface .navbar-collapse {
        flex-basis: 100%;
        width: 100%;
    }

    .nic-navbar-links {
        width: 100%;
        padding-top: 0.35rem;
        padding-bottom: 0.5rem;
        gap: 0.25rem;
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .nic-navbar-links .nav-link {
        padding: 0.55rem 0.9rem !important;
        border-radius: 12px;
        white-space: normal;
    }
}

.navbar .navbar-brand img {
    max-height: 60px;
}

.navbar .navbar-nav .nav-link {
    margin-left: 25px;
    padding: 10px 0;
    color: #696E77;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f282";
    font-family: bootstrap-icons !important;
    font-weight: normal !important;
    font-style: normal;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-brand img {
        max-height: 45px;
    }

    .navbar .navbar-nav {
        margin-top: 20px;
        margin-bottom: 15px;
    }

    .navbar .nav-item .dropdown-menu {
        padding-left: 30px;
        max-height: 60vh;
        overflow-y: auto;
        border-radius: 8px;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.25rem 1rem;
        border: none;
        margin-top: 0;
        top: 150%;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        opacity: 0;
        visibility: hidden;
        transition: .5s;
        min-width: 550px;
        padding: 1.25rem;
        border-radius: 12px;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }

    .navbar .nav-item .dropdown-menu .dropdown-item {
        border-radius: 6px;
        padding: 0.4rem 1rem;
        transition: all 0.2s;
        white-space: normal;
        font-size: 0.95rem;
    }

    .navbar .nav-item .dropdown-menu .dropdown-item:first-child {
        grid-column: 1 / -1;
        margin-bottom: 0.5rem;
        font-size: 1.05rem;
        font-weight: 500 !important;
    }
}


/*** Header ***/
/* Hero slides: light scrim so dark headline/body text stays readable on any photo (e.g. kk.png) */
#header-carousel .carousel-item {
    position: relative;
    height: 85vh;
    min-height: 600px;
}

#header-carousel .carousel-item>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    display: block;
}

#header-carousel .carousel-item::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(105deg,
            rgba(255, 255, 255, 0.96) 0%,
            rgba(255, 255, 255, 0.88) 28%,
            rgba(255, 255, 255, 0.5) 48%,
            rgba(255, 255, 255, 0.12) 65%,
            transparent 82%);
}

#header-carousel .carousel-caption {
    z-index: 2;
}

#header-carousel .carousel-control-prev,
#header-carousel .carousel-control-next {
    width: 60px;
    height: 60px;
    top: auto;
    bottom: 40px;
    background: var(--primary);
    border-radius: 14px;
    opacity: 0.85;
    transition: .4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 10;
}

#header-carousel .carousel-control-prev {
    left: calc(50% - 65px);
    transform: none;
}

#header-carousel .carousel-control-next {
    left: calc(50% + 5px);
    right: auto;
    transform: none;
}

#header-carousel .carousel-control-prev:hover,
#header-carousel .carousel-control-next:hover {
    background: var(--secondary);
    opacity: 1;
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    text-align: start;
    z-index: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 1.75rem;
    height: 1.75rem;
    background-color: transparent !important;
    border: none !important;
    border-radius: 0 !important;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        height: 60vh;
        min-height: 400px;
    }

    #header-carousel .carousel-control-prev,
    #header-carousel .carousel-control-next {
        width: 50px;
        height: 50px;
        bottom: 25px;
    }

    #header-carousel .carousel-control-prev {
        left: calc(50% - 55px);
    }

    #header-carousel .carousel-control-next {
        left: calc(50% + 5px);
    }

    #header-carousel .carousel-item>img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 0;
    }

    /* Stronger fade on small screens — text stacks over more of the image */
    #header-carousel .carousel-item::before {
        background: linear-gradient(160deg,
                rgba(255, 255, 255, 0.98) 0%,
                rgba(255, 255, 255, 0.9) 35%,
                rgba(255, 255, 255, 0.55) 60%,
                rgba(255, 255, 255, 0.2) 100%);
    }
}


.page-header {
    background: url(../img/kk.png) center center no-repeat;
    background-size: cover;
    position: relative;
    z-index: 1;
}

.nic-medic-header {
    background: url(../img/UU.png) right 150px center no-repeat !important;
    background-size: contain !important;
    background-color: #ffffff;
}


.nic-fire-header {
    background: url(../img/FIRE.png) right -180px center no-repeat !important;
    background-size: cover !important;
}

.nic-motor-header {
    background: url(../img/car.png) right -50px center no-repeat !important;
    background-size: 80% !important;
    background-color: #ffffff;
}

.nic-marine-header {
    background: url(../img/marine.png) no-repeat !important;
    background-position: right -50px top 60% !important;
    background-size: 80% !important;
    background-color: #ffffff;
}

.nic-life-header {
    background: url(../img/cute.png) right 150px center no-repeat !important;
    background-size: contain !important;
    background-color: #ffffff;
}

.nic-burglary-header {
    background: url(../img/theft.png) right -10px center no-repeat !important;
    background-size: 70% !important;
    background-color: #ffffff;
}

.nic-travel-header {
    background: url(../img/travel.png) no-repeat !important;
    background-position: right 200px top 60% !important;
    background-size: contain !important;
    background-color: #ffffff;
}

.nic-allrisks-header {
    background: url(../img/risk.png) right 150px center no-repeat !important;
    background-size: contain !important;
    background-color: #ffffff;
}

.nic-mortgage-header {
    background: url(../img/morgage.png) right 200px center no-repeat !important;
    background-size: contain !important;
    background-color: #ffffff;
}

.nic-workmen-header {
    background: url('../img/workman compensation.png') right 100px center no-repeat !important;
    background-size: contain !important;
    background-color: #ffffff;
}

.nic-liability-header {
    background: url('../img/public liability.png') right 200px center no-repeat !important;
    background-size: contain !important;
    background-color: #ffffff;
}

.nic-cash-header {
    background: url('../img/cash in transit.png') right 200px center no-repeat !important;
    background-size: contain !important;
    background-color: #ffffff;
}

.nic-fidelity-header {
    background: url('../img/Fidelity Guarantee.png') right 200px center no-repeat !important;
    background-size: contain !important;
    background-color: #ffffff;
}

.nic-osusu-header {
    background: url('../img/money bank.png') right 100px center no-repeat !important;
    background-size: contain !important;
    background-color: #ffffff;
}

.nic-accident-header {
    position: relative;
    background: #ffffff !important;
}

.nic-accident-header::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 150px;
    transform: translateY(-50%);
    width: 300px;
    height: 300px;
    background: url(../img/acident.jpg) center center no-repeat;
    background-size: cover;
    border-radius: 50%;
    border: 10px solid #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

/* --- Hero Section Mobile Alignment Fix --- */
@media (max-width: 991.98px) {

    .nic-medic-header,
    .nic-life-header,
    .nic-allrisks-header,
    .nic-mortgage-header,
    .nic-travel-header,
    .nic-workmen-header,
    .nic-liability-header,
    .nic-cash-header,
    .nic-fidelity-header,
    .nic-osusu-header {
        background-position: right 20px center !important;
        background-size: contain !important;
    }

    .nic-motor-header,
    .nic-marine-header,
    .nic-burglary-header {
        background-position: right -20px center !important;
        background-size: 60% !important;
    }

    .nic-fire-header {
        background-position: right -100px center !important;
    }

    .nic-accident-header::after {
        right: 20px;
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 767.98px) {
    .page-header {
        padding-top: 3.5rem !important;
        padding-bottom: 260px !important;
        text-align: center;
    }

    .nic-medic-header,
    .nic-fire-header,
    .nic-motor-header,
    .nic-marine-header,
    .nic-life-header,
    .nic-burglary-header,
    .nic-travel-header,
    .nic-allrisks-header,
    .nic-mortgage-header,
    .nic-workmen-header,
    .nic-liability-header,
    .nic-cash-header,
    .nic-fidelity-header,
    .nic-osusu-header {
        background-position: center bottom 10px !important;
        background-size: 90% !important;
    }

    .nic-accident-header::after {
        top: auto;
        bottom: 10px;
        right: 50%;
        transform: translateX(50%);
        width: 250px;
        height: 250px;
    }



    .page-header h1 {
        font-size: 2.2rem !important;
        line-height: 1.1 !important;
        margin-bottom: 1rem !important;
    }

    .page-header .breadcrumb {
        justify-content: center;
    }
}







.page-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(105deg,
            rgba(255, 255, 255, 0.96) 0%,
            rgba(255, 255, 255, 0.88) 28%,
            rgba(255, 255, 255, 0.5) 48%,
            rgba(255, 255, 255, 0.12) 65%,
            transparent 82%);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-weight: 500;
}

.page-header .breadcrumb-item a,
.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: #696E77;
}

.page-header .breadcrumb-item a:hover,
.page-header .breadcrumb-item.active {
    color: var(--primary);
}


/*** Facts — Pinterest Inspired ***/
.nic-p-card {
    background: var(--dark);
    border-radius: 24px;
    overflow: hidden;
    color: #fff;
    display: flex;
    min-height: 320px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.nic-p-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.nic-p-card__content {
    padding: 2rem 2.5rem;
    flex: 1.2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nic-p-card__image {
    flex: 1;
    background-size: cover;
    background-position: center;
}

@media (max-width: 768px) {
    .nic-p-card {
        flex-direction: column;
    }

    .nic-p-card__image {
        min-height: 250px;
    }
}

@media (min-width: 992px) {
    .container.facts {
        max-width: 100% !important;
    }

    .container.facts .facts-text {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }

    .container.facts .facts-counter {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .container.facts .facts-text {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }

    .container.facts .facts-counter {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .container.facts .facts-text {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }

    .container.facts .facts-counter {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}

.container.facts .facts-text {
    background: none;
}

.container.facts .facts-counter {
    background: none;
}

.container.facts .facts-text .h-100,
.container.facts .facts-counter .h-100 {
    padding: 6rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Reasons Slider Styles */
.nic-reason-card {
    background: #ffffff;
    border-radius: 35px;
    padding: 3.5rem 2.5rem;
    text-align: center;
    box-shadow: 0 15px 50px rgba(21, 35, 60, 0.04);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid #f5f5f5;
    margin: 15px 0;
    height: 100%;
}

.nic-reason-card:hover {
    transform: translateY(-12px);
    border-color: var(--primary);
    box-shadow: 0 30px 70px rgba(1, 95, 201, 0.1);
}

.nic-reason-card__icon {
    width: 90px;
    height: 90px;
    background: var(--light);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2.5rem;
    font-size: 2.2rem;
    color: var(--primary);
    transition: all 0.4s ease;
}

.nic-reason-card:hover .nic-reason-card__icon {
    background: var(--primary);
    color: #fff;
    transform: rotate(10deg);
}

.reasons-carousel .owl-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.reasons-carousel .owl-nav .owl-prev,
.reasons-carousel .owl-nav .owl-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff !important;
    color: var(--primary) !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.reasons-carousel .owl-nav .owl-prev:hover,
.reasons-carousel .owl-nav .owl-next:hover {
    background: var(--primary) !important;
    color: #fff !important;
}

.reasons-carousel .owl-dots {
    text-align: center;
    margin-top: 20px;
}

.reasons-carousel .owl-dot {
    width: 10px;
    height: 10px;
    background: #ddd !important;
    border-radius: 50%;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.reasons-carousel .owl-dot.active {
    width: 30px;
    background: var(--primary) !important;
    border-radius: 10px;
}

/* Facts — left column intro (index) */
.nic-facts-intro {
    max-width: 34rem;
    padding: 2.5rem 2.25rem;
    background: #fff;
    border: 1px solid rgba(1, 95, 201, 0.1);
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(21, 35, 60, 0.08);
}

.nic-facts-intro__title {
    font-size: clamp(1.65rem, 2.8vw, 2.35rem);
    font-weight: 700;
    line-height: 1.18;
    color: var(--dark);
    margin-bottom: 1.1rem;
    letter-spacing: -0.025em;
}

.nic-facts-intro__text {
    font-size: 1.02rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.nic-facts-intro__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.85rem;
    font-weight: 600;
    border-radius: 999px;
    color: #fff !important;
    background: var(--primary) !important;
    border: none !important;
    box-shadow: 0 6px 20px rgba(1, 95, 201, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.nic-facts-intro__btn:hover {
    color: #fff !important;
    background: var(--secondary) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(13, 211, 241, 0.35);
}

.nic-facts-intro__btn:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.6);
    outline-offset: 3px;
}

/* Facts — stats grid (right column) */
.nic-facts-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

@media (max-width: 575.98px) {
    .nic-facts-stats {
        grid-template-columns: 1fr;
    }
}

.nic-facts-stat {
    margin: 0;
    padding: 1.35rem 1.1rem 1.45rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(1, 95, 201, 0.12);
    border-radius: 18px;
    box-shadow: 0 8px 28px rgba(21, 35, 60, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.nic-facts-stat:hover {
    transform: translateY(-4px);
    border-color: rgba(1, 95, 201, 0.22);
    box-shadow: 0 14px 40px rgba(1, 95, 201, 0.12);
}

.nic-facts-stat__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin: 0 auto 0.65rem;
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(1, 95, 201, 0.12) 0%, rgba(13, 211, 241, 0.12) 100%);
    color: var(--primary);
    font-size: 1.35rem;
}

.nic-facts-stat__value {
    font-weight: 700;
    color: var(--dark);
    line-height: 1.05;
    margin-bottom: 0.35rem;
    letter-spacing: -0.03em;
}

.nic-facts-stat__label {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--primary);
    margin: 0;
    line-height: 1.3;
}


/*** Features ***/
.nic-feature-card {
    position: relative;
    padding: 2.25rem 1.75rem;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(13, 27, 62, 0.06);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    z-index: 1;
    border: 1px solid rgba(13, 27, 62, 0.04);
}

.nic-feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(1, 95, 201, 0.05) 0%, transparent 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.nic-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(13, 27, 62, 0.12);
    border-color: rgba(1, 95, 201, 0.15);
}

.nic-feature-card:hover::before {
    opacity: 1;
}

.nic-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    background: rgba(1, 95, 201, 0.08);
    position: relative;
    transition: transform 0.4s ease;
}

.nic-feature-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--primary);
    opacity: 0.15;
    transform: scale(1.2);
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.nic-feature-card:hover .nic-feature-icon {
    transform: scale(1.05);
}

.nic-feature-card:hover .nic-feature-icon::after {
    transform: scale(1);
    opacity: 0.3;
}

.nic-feature-icon i {
    font-size: 2.25rem;
    color: var(--primary);
    z-index: 2;
}

.nic-feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0;
    letter-spacing: -0.01em;
}

/*** Service ***/
.service-item {
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.service-item .service-icon {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-item .service-icon .bi {
    font-size: 2.35rem;
    line-height: 1;
    color: #FFFFFF;
}

.icon-feature-lg {
    font-size: 2.75rem;
    line-height: 1;
    color: var(--primary);
}

.icon-about-point {
    font-size: 2rem;
    line-height: 1;
    color: var(--primary);
}

.service-item a.btn {
    color: var(--primary);
}

.service-item a.btn:hover {
    color: #FFFFFF;
    background: var(--primary);
    border-color: var(--primary);
}


/*** Appointment ***/
.appointment {
    background: linear-gradient(rgba(13, 27, 62, 0.7), rgba(13, 27, 62, 0.7)), url(../img/kk.png) center center no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.nic-section-eyebrow {
    color: var(--secondary);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 1.5rem;
}

.nic-glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-radius: 20px !important;
}

.nic-glass-card .form-control,
.nic-glass-card .form-select {
    background: rgba(0, 0, 0, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    border-radius: 12px;
}

.nic-glass-card .form-select {
    padding-right: 2.5rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 1rem center !important;
    background-size: 16px 12px !important;
}

.nic-glass-card .form-select option {
    background-color: #0d1b3e !important;
    color: #ffffff !important;
}

.nic-glass-card .form-control:focus,
.nic-glass-card .form-select:focus {
    background: rgba(0, 0, 0, 0.4) !important;
    border-color: var(--secondary) !important;
    box-shadow: none;
}

.nic-glass-card .form-floating label {
    color: rgba(255, 255, 255, 0.85);
}

.nic-glass-card .form-floating>.form-control:focus~label,
.nic-glass-card .form-floating>.form-control:not(:placeholder-shown)~label {
    color: var(--primary);
}

.nic-call-box-refined {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.nic-call-box-refined:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
}


/*** Team ***/
.team-item {
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.1);
}

.team-text {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: -50px;
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-text {
    bottom: 0;
    opacity: 1;
}

.team-item a.btn {
    color: var(--primary);
}

.team-item a.btn:hover {
    color: #FFFFFF;
    background: var(--primary);
    border-color: var(--primary);
}


/*** Testimonial ***/
.animated.pulse {
    animation-duration: 1.5s;
}

.testimonial-left,
.testimonial-right {
    position: relative;
}

.testimonial-left img,
.testimonial-right img {
    position: absolute;
    padding: 5px;
    border: 1px dashed var(--primary);
    border-radius: 10px;
}

.testimonial-left img:nth-child(1),
.testimonial-right img:nth-child(3) {
    width: 70px;
    height: 70px;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-left img:nth-child(2),
.testimonial-right img:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
}

.testimonial-left img:nth-child(3),
.testimonial-right img:nth-child(1) {
    width: 50px;
    height: 50px;
    bottom: 10%;
    right: 10%;
}

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 10px;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
}


/*** About copy block (index — text column only) ***/
.nic-about-copy {
    padding-top: 0.25rem;
}

.nic-about-eyebrow {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
}

.nic-about-title {
    font-size: clamp(1.6rem, 2.4vw, 2.25rem);
    font-weight: 700;
    line-height: 1.22;
    color: var(--dark);
    margin-bottom: 1.65rem;
    letter-spacing: -0.02em;
}

.nic-about-points {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.45rem;
}

.nic-about-point {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    background: var(--light);
    border: 1px solid rgba(1, 95, 201, 0.1);
    border-radius: 14px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.nic-about-point:hover {
    border-color: rgba(1, 95, 201, 0.22);
    box-shadow: 0 8px 26px rgba(1, 95, 201, 0.09);
}

.nic-about-point__icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #fff;
    color: var(--primary);
    font-size: 1.3rem;
    box-shadow: 0 2px 10px rgba(1, 95, 201, 0.12);
}

.nic-about-point__title {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--dark);
}

.nic-about-body {
    padding: 1.15rem 1.3rem;
    margin-bottom: 1.45rem;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 22px rgba(21, 35, 60, 0.07);
    font-size: 0.98rem;
    line-height: 1.65;
    color: #4a5568;
    text-align: justify;
}

.nic-about-phone {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.05rem 1.35rem;
    border-radius: 16px;
    text-decoration: none;
    color: #fff !important;
    background: linear-gradient(135deg, var(--primary) 0%, #0a4a9e 100%);
    box-shadow: 0 8px 28px rgba(1, 95, 201, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nic-about-phone:hover {
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(1, 95, 201, 0.42);
}

.nic-about-phone:focus-visible {
    outline: 3px solid var(--secondary);
    outline-offset: 3px;
}

.nic-about-phone__icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
    font-size: 1.3rem;
}

.nic-about-phone__text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.nic-about-phone__label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.9;
}

.nic-about-phone__number {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}


/*** Footer ***/
.footer {
    background: #ffffff;
    color: #A7A8B4;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #A7A8B4;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f285";
    font-family: bootstrap-icons !important;
    font-weight: normal !important;
    font-style: normal;
    color: #A7A8B4;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .btn.btn-square {
    color: #A7A8B4;
    border: 1px solid#A7A8B4;
}

.footer .btn.btn-square .bi {
    font-size: 1.15rem;
    line-height: 1;
}

.footer .btn.btn-square:hover {
    color: var(--secondary);
    border-color: var(--light);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
    text-align: center;
}

.footer .copyright a {
    color: var(--secondary);
}

.footer .copyright a:hover {
    color: #FFFFFF;
}

/* Unique Marquee */
.nic-marquee {
    background: linear-gradient(90deg, var(--primary), var(--dark));
    color: #fff;
    padding: 1.25rem 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    display: flex;
    align-items: center;
    border-top: 4px solid var(--secondary);
    border-bottom: 4px solid var(--secondary);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.nic-marquee-track {
    display: inline-block;
    white-space: nowrap;
    animation: nicMarquee 25s linear infinite;
    will-change: transform;
}

.nic-marquee-track:hover {
    animation-play-state: paused;
}

.nic-marquee-item {
    display: inline-block;
    padding: 0 4rem;
    font-size: 1.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-family: 'Poppins', sans-serif;
}

.nic-marquee-item span {
    color: var(--secondary);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

.nic-marquee-item .bi {
    font-size: 1.8rem;
    vertical-align: middle;
}

@keyframes nicMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.nic-marquee-reverse .nic-marquee-track {
    animation: nicMarqueeReverse 30s linear infinite;
}

@keyframes nicMarqueeReverse {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

/*** Footer Redesign (Light Mode) ***/
.footer {
    position: relative;
    background: #ffffff !important;
    color: var(--dark) !important;
    font-weight: 500;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1;
}

.nic-footer-tagline {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #4a5568 !important;
    margin-bottom: 2rem;
    font-weight: 400;
}

.footer h5 {
    color: var(--primary) !important;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer p {
    color: var(--dark) !important;
    font-weight: 500;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 12px;
    padding: 0;
    text-align: left;
    color: var(--dark) !important;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\F285";
    font-family: "bootstrap-icons";
    font-weight: 900;
    margin-right: 12px;
    color: var(--primary);
    transition: .3s;
}

.footer .btn.btn-link:hover {
    color: var(--primary) !important;
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .btn.btn-link:hover::before {
    margin-right: 18px;
}

.footer .btn.btn-square {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.footer .btn.btn-square:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(1, 95, 201, 0.2);
}

.footer .newsletter-form {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 8px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.footer .newsletter-form input {
    background: transparent;
    border: none;
    color: var(--dark) !important;
    font-size: 0.9rem;
}

.footer .newsletter-form input::placeholder {
    color: #718096;
}

.footer .newsletter-form input:focus {
    box-shadow: none;
    background: transparent;
}

.footer .newsletter-form .btn {
    border-radius: 12px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.footer .copyright {
    background: transparent;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--dark) !important;
    font-weight: 600;
    padding: 0.6rem 0 !important;
    /* Further reduced for a sleek finish */
}

.footer .copyright a {
    color: var(--primary);
    text-decoration: none;
}

/* Right-hand columns visibility (Quick Links & Newsletter) */
.footer .row>div:nth-child(3) .btn-link::before,
.footer .row>div:nth-child(3) .btn-link:hover {
    color: var(--primary) !important;
}

@media (max-width: 991.98px) {
    .footer .row>div {
        text-align: center !important;
    }

    .footer .btn.btn-link {
        text-align: center !important;
    }

    .footer .btn.btn-link::before {
        display: none;
    }
}

.nic-footer-name {
    color: var(--primary) !important;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

.nic-location-bar {
    background: #f8fafc;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 2.5rem 0;
    margin-bottom: 0;
}

.nic-branch-item {
    transition: all 0.3s ease;
}

.nic-branch-item h6 {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
}

.nic-branch-item p {
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 0.25rem !important;
}

.nic-branch-item .branch-contact {
    color: var(--dark);
    font-weight: 700;
    font-size: 0.9rem;
    display: block;
    margin-top: 0.5rem;
}

.nic-branch-item i {
    font-size: 1.1rem;
}

@media (max-width: 991.98px) {
    .nic-branch-item {
        text-align: center;
        margin-bottom: 1.5rem;
    }
}

.nic-location-text i {
    font-size: 1.2rem;
}

/*** Map Enhancement ***/
.nic-map-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: #ffffff;
    transition: all 0.5s ease;
}

.nic-map-wrapper:hover {
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.nic-map-directions {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--primary);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(1, 95, 201, 0.3);
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 10;
}

.nic-map-directions:hover {
    background: #0d1b3e;
    color: #ffffff;
    transform: scale(1.05);
}

.nic-address-label {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-top: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.nic-address-label i {
    font-size: 1.5rem;
    color: var(--primary);
}

.nic-address-label span {
    font-size: 0.95rem;
    color: #1a202c;
    line-height: 1.6;
}

.nic-address-label strong {
    display: block;
    color: #0d1b3e;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

/*** Premium Quote Section ***/
.nic-premium-quote-section {
    position: relative;
    background: linear-gradient(135deg, var(--dark) 0%, #0d1b3e 100%);
    overflow: hidden;
    padding-bottom: 0 !important;
    /* Wave handles the transition */
}

.nic-premium-quote-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--primary) 0.5px, transparent 0.5px);
    background-size: 30px 30px;
    opacity: 0.05;
    pointer-events: none;
}

.nic-premium-quote-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(1, 95, 201, 0.15) 0%, transparent 60%);
    transform: rotate(-15deg);
    pointer-events: none;
}

.nic-premium-eyebrow {
    color: var(--secondary);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 1.25rem;
    padding: 6px 15px;
    background: rgba(13, 211, 241, 0.1);
    border-radius: 50px;
}

.nic-premium-contact-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.nic-premium-contact-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
}

.nic-premium-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 16px;
    font-size: 1.8rem;
    box-shadow: 0 10px 25px rgba(1, 95, 201, 0.2);
}

/* Premium Form Styling */
.nic-premium-form-wrapper {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 2;
}

.nic-floating-input,
.nic-custom-select-wrapper {
    position: relative;
    margin-bottom: 0.5rem;
}

.nic-floating-input .form-control {
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem 1rem 0.6rem 1rem;
    color: var(--dark) !important;
    font-weight: 500;
    font-size: 0.95rem;
    box-shadow: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: auto;
}

.nic-floating-input .form-control:hover {
    background-color: #fff !important;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05) !important;
}

.nic-floating-input .form-control:focus {
    background-color: #fff !important;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(1, 95, 201, 0.1) !important;
    transform: translateY(-2px);
}

.nic-floating-input label {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.95rem;
    pointer-events: none;
    transition: all 0.25s ease;
    z-index: 5;
}

.nic-floating-input textarea~label {
    top: 1.5rem;
    transform: none;
}

.nic-floating-input .form-control:focus~label,
.nic-floating-input .form-control:not(:placeholder-shown)~label {
    top: 0.75rem;
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Custom Select Styles */
.nic-custom-select {
    position: relative;
    width: 100%;
}

.nic-select-trigger {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--dark);
    font-weight: 500;
}

.nic-select-trigger:hover {
    background-color: #fff;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.nic-custom-select.active .nic-select-trigger {
    border-color: var(--primary);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(1, 95, 201, 0.1);
}

.nic-select-trigger .selected-text {
    font-size: 0.95rem;
}

.nic-select-trigger i {
    color: var(--primary);
    transition: transform 0.3s ease;
    font-size: 1.1rem;
}

.nic-custom-select.active .nic-select-trigger i {
    transform: rotate(180deg);
}

.nic-options-card {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px) scale(0.98);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    max-height: 350px;
    overflow-y: auto;
    padding: 10px;
}

.nic-custom-select.active .nic-options-card {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.nic-option {
    padding: 12px 15px;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    color: #4a5568;
    font-weight: 500;
    font-size: 0.95rem;
}

.nic-option i {
    font-size: 1.1rem;
    color: var(--primary);
    width: 24px;
}

.nic-option:hover {
    background-color: #f1f5f9;
    color: var(--primary);
    padding-left: 20px;
}

.nic-option.selected {
    background-color: rgba(1, 95, 201, 0.08);
    color: var(--primary);
}

.nic-options-card::-webkit-scrollbar {
    width: 6px;
}

.nic-options-card::-webkit-scrollbar-track {
    background: transparent;
}

.nic-options-card::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 10px;
}

.nic-options-card::-webkit-scrollbar-thumb:hover {
    background: #cbd5e0;
}

.nic-premium-btn {
    background: var(--primary);
    color: #ffffff;
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.4s ease;
    border: none;
    overflow: hidden;
    position: relative;
}

.nic-premium-btn:hover {
    box-shadow: 0 15px 30px rgba(1, 95, 201, 0.3);
    transform: translateY(-3px);
    background: #0a4a9e;
    color: #ffffff;
}


/* Unique Topographical Fluid Waves */
.nic-fluid-waves {
    position: absolute;
    bottom: 0;
    left: -10%;
    /* Safety buffer to prevent edge gaps */
    width: 120%;
    /* Wider than screen to allow movement without revealing edges */
    height: 160px;
    overflow: hidden;
    line-height: 0;
    z-index: 2;
    pointer-events: none;
}

.nic-fluid-svg {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.nic-wave-layer-3 {
    fill: #ffffff;
    animation: move-wave 12s linear infinite;
    /* Slower, subtle movement */
}

@keyframes move-wave {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(2%);
    }

    /* Moves slightly right and back */
    100% {
        transform: translateX(0);
    }
}

.nic-premium-quote-section {
    padding-bottom: 160px !important;
}


/*** 3D Flip Cards Base ***/
.nic-flip-container {
    perspective: 1000px;
    margin-bottom: 2rem;
}

.nic-flip-card {
    position: relative;
    width: 100%;
    height: 350px;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.nic-flip-container:hover .nic-flip-card,
.nic-flip-container.hover .nic-flip-card {
    transform: rotateY(180deg);
}

.nic-flip-front,
.nic-flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    overflow: hidden;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #ffffff;
}

.nic-flip-front {
    z-index: 2;
    transform: rotateY(0deg);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.nic-flip-front i {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.nic-flip-back {
    transform: rotateY(180deg);
    background: var(--primary);
    color: #ffffff;
}

.nic-flip-back h4 {
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.nic-flip-back ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.nic-flip-back ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.nic-flip-back ul li::before {
    content: '\F633';
    font-family: 'bootstrap-icons';
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 0.9rem;
    color: var(--secondary);
}

/* FAQ Variation */
.nic-flip-faq .nic-flip-front {
    background: var(--light);
}

.nic-flip-faq .nic-flip-front h5 {
    color: var(--dark);
    font-size: 1.2rem;
    font-weight: 600;
}

.nic-flip-faq .nic-flip-back {
    background: var(--dark);
    justify-content: flex-start;
}

.nic-flip-faq .nic-flip-back p {
    font-size: 0.95rem;
    line-height: 1.6;
}


/*** Custom Premium Tabs ***/
.nic-service-tabs .nav-pills .nav-link {
    border-radius: 50px;
    padding: 10px 25px;
    margin-right: 15px;
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--dark);
    background: rgba(13, 211, 241, 0.1);
    transition: all 0.3s ease;
}

.nic-service-tabs .nav-pills .nav-link:hover {
    background: rgba(1, 95, 201, 0.1);
}

.nic-service-tabs .nav-pills .nav-link.active,
.nic-service-tabs .nav-pills .show>.nav-link {
    color: #fff;
    background-color: var(--primary);
    box-shadow: 0 5px 15px rgba(1, 95, 201, 0.3);
}

.nic-tab-pane-content {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.nic-tab-pane-content ul {
    list-style: none;
    padding-left: 0;
}

.nic-tab-pane-content ul li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 30px;
    font-size: 1.05rem;
    color: #555;
}

.nic-tab-pane-content ul li::before {
    content: '\F135';
    /* Bootstrap arrow-right icon */
    font-family: 'bootstrap-icons';
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 1.2rem;
    color: var(--primary);
}

/* Premium Accordion FAQ */
.nic-accordion .accordion-item {
    border: none;
    background: transparent;
    margin-bottom: 1.25rem;
}

.nic-accordion .accordion-button {
    background: #fff;
    padding: 1.25rem 1.5rem;
    border-radius: 12px !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    color: var(--dark);
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.nic-accordion .accordion-button:not(.collapsed) {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 10px 25px rgba(1, 95, 201, 0.2);
}

.nic-accordion .accordion-button:focus {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.05);
}

.nic-accordion .accordion-button:not(.collapsed) i {
    color: var(--secondary) !important;
}

.nic-accordion .accordion-button::after {
    background-size: 1.25rem;
    transition: all 0.3s ease;
}

.nic-accordion .accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

.nic-accordion .accordion-body {
    padding: 1.5rem;
    background: #fff;
    border-radius: 0 0 12px 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-top: none;
    margin-top: -10px;
    padding-top: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    color: #666;
    line-height: 1.7;
}


/* --- Fix Service Card Button Overlap --- */
.service-item {
    display: flex;
    flex-direction: column;
}

.service-item>p.mb-4 {
    flex-grow: 1;
}

.service-item>a.btn {
    display: inline-block;
    margin-top: 5px;
    margin-bottom: 5px;
}

@media (max-width: 1199px) {
    .service-item>a.btn.ms-2 {
        margin-left: 0 !important;
        /* Force wrap cleanly on smaller screens */
        margin-top: 10px;
    }
}

.service-item>a.btn.ms-2 {
    margin-left: 0 !important;
    /* Force wrap cleanly on smaller screens */
    margin-top: 10px;
}

/* Slogan Styling */
.nic-about-title {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.2;
    color: #1a2b4b;
    margin: 1.5rem 0;
    letter-spacing: -0.02em;
    text-align: center;
}

.nic-highlight {
    color: inherit;
}

/* Cute Mission Section Styles */
.nic-mission-card {
    background: #ffffff;
    border-radius: 50px;
    padding: 5rem 4rem;
    position: relative;
    box-shadow: 0 25px 70px rgba(1, 95, 201, 0.07);
    border: 1px solid rgba(1, 95, 201, 0.05);
    overflow: hidden;
    z-index: 1;
}

.nic-mission-card::after {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(13, 211, 241, 0.05) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    z-index: -1;
    border-radius: 50%;
}

.nic-mission-tag {
    display: inline-block;
    background: #f0f7ff;
    color: var(--primary);
    padding: 10px 25px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
    box-shadow: 0 5px 15px rgba(1, 95, 201, 0.05);
}

.nic-mission-quote-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.nic-mission-quote {
    font-size: 1.75rem;
    line-height: 1.6;
    color: #15233c;
    font-weight: 600;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
}

.nic-mission-quote i {
    color: var(--primary);
    opacity: 0.15;
    font-size: 4rem;
    position: absolute;
    z-index: 1;
}

.nic-mission-quote .bi-quote-left {
    top: -40px;
    left: -50px;
}

.nic-mission-quote .bi-quote-right {
    bottom: -50px;
    right: -50px;
}

@media (max-width: 768px) {
    .nic-mission-card {
        padding: 3rem 2rem;
        border-radius: 30px;
    }
    .nic-mission-quote {
        font-size: 1.35rem;
    }
    .nic-mission-quote i {
        font-size: 2.5rem;
    }
    .nic-mission-quote .bi-quote-left { left: -10px; top: -30px; }
    .nic-mission-quote .bi-quote-right { right: -10px; bottom: -30px; }
}

.nic-p-card__image-logo {
    background-size: 55%;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #ffffff;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .nic-p-card__image-logo {
        background-size: 40%;
        min-height: 180px;
    }
}

@media (max-width: 768px) {
    .nic-mission-logo-overlay {
        top: 20px;
        right: 20px;
        height: 45px;
    }
}