/*** Custom Global Variables & Tokens ***/
:root {
    /* Previous RegTech palette retained for rollback:
       --bs-primary: #0A192F;
       --bs-primary-rgb: 10, 25, 47;
       --bs-secondary: #1E293B;
       --bs-secondary-rgb: 30, 41, 59;
       --bs-accent: #C5A059;
       --bs-accent-rgb: 197, 160, 89;
    */
    --bs-primary: #1D1655;
    --bs-primary-rgb: 29, 22, 85;
    --bs-secondary: #51469A;
    --bs-secondary-rgb: 81, 70, 154;
    --bs-accent: #E9B446;
    --bs-accent-rgb: 233, 180, 70;
    --bs-light-bg: #F8FAFC;
    --bs-dark-bg: #171044;

    /* Typography Tokens */
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Roboto', sans-serif;

    /* UI Tokens */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-bg-dark: rgba(29, 22, 85, 0.85);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-blur: blur(12px);
    --box-shadow-premium: 0 10px 30px rgba(29, 22, 85, 0.1);

    /* Override Bootstrap Defaults */
    --bs-font-sans-serif: var(--font-body);
    --bs-body-font-family: var(--font-body);
    --bs-body-color: #334155;
    --bs-link-color: var(--bs-accent);
    --bs-link-hover-color: #b78119;
}

/* Global Typography Overrides */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--bs-primary);
    letter-spacing: -0.02em;
}

body {
    background-color: var(--bs-light-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Premium Utilities */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: var(--box-shadow-premium);
}

.glass-nav {
    background: var(--glass-bg) !important;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--box-shadow-premium);
    position: sticky;
    top: 0;
    z-index: 1030;
}

/*** Spinner Start ***/
/*** 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;
}
/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    transition: 0.5s;
    z-index: 99;
}

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
}

.btn-square {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    padding: 0;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    padding: 0;
}

.btn-md-square {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    padding: 0;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    padding: 0;
}

.btn-xl-square {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    padding: 0;
}

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

.btn.btn-primary {
    color: var(--bs-white);
    background: var(--bs-primary);
    border: none;
    box-shadow: 0 4px 15px rgba(10, 25, 47, 0.2);
}

.btn.btn-primary:hover {
    background: var(--bs-accent);
    color: var(--bs-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.3);
}

.btn.btn-light {
    color: var(--bs-primary);
    background: var(--bs-white);
    border: 1px solid var(--bs-gray-200);
}

.btn.btn-light:hover {
    color: var(--bs-white);
    background: var(--bs-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(10, 25, 47, 0.2);
}

/* Premium Footer */
.footer-premium {
    background-color: var(--bs-dark-bg) !important;
    color: var(--bs-light-bg) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.footer-premium h1, .footer-premium h2, .footer-premium h3, .footer-premium h4, .footer-premium h5, .footer-premium h6 {
    color: var(--bs-light-bg) !important;
}
.footer-premium .text-dark, .footer-premium .text-black, .footer-premium .text-muted {
    color: var(--bs-light-bg) !important;
}
.footer-premium a {
    color: var(--bs-light-bg) !important;
    opacity: 0.8;
}
.footer-premium a:hover {
    color: var(--bs-accent) !important;
    opacity: 1;
}

/*** Topbar Start ***/
.topbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
    color: var(--bs-primary);
}

.topbar .dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.topbar .dropdown .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light);
    padding-top: 11px;
    border: 0;
    transition: .5s;
    opacity: 1;
}

/*** Topbar End ***/



/*** Navbar ***/
.navbar-light .navbar-nav .nav-link {
    font-family: 'Roboto', sans-serif;
    position: relative;
    margin-right: 25px;
    padding: 35px 0;
    color: black;
    font-size: 17px;
    font-weight: 400;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link,
.sticky-top.navbar-light .navbar-nav .nav-item .nav-link {
    padding: 20px 0;
    color: var(--bs-dark);
}

.navbar-light .navbar-nav .nav-item .nav-link {
    color: var(--bs-white);
}

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

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 45px;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}


.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light);
    transition: .5s;
    opacity: 1;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-light {
        position: relative;
        background: var(--bs-white);
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 10px 20px;
        border: 1px solid var(--bs-primary);
        color: var(--bs-primary);
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--bs-dark);
    }

    .navbar-light .navbar-nav .nav-item .nav-link {
        color: var(--bs-dark);
    }

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

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 10px;
        transition: .5s;
        opacity: 0;
    }

    .navbar-light {
        /* position: absolute; */
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .1);
        z-index: 999;
    }
    
    .sticky-top.navbar-light {
        position: fixed;
        background: var(--bs-light);
    }

    .navbar-light .navbar-nav .nav-link::before {
        /* position: absolute; */
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        background: var(--bs-primary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: calc(100% - 2px);
        left: 1px;
    }

    .navbar-light .navbar-nav .nav-link::after {
        /* position: absolute; */
        content: "";
        width: 0;
        height: 0;
        bottom: -1px;
        left: 50%;
        background: var(--bs-primary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::after,
    .navbar-light .navbar-nav .nav-link.active::after {
        width: 2px;
        height: 12px;
    }
}
/*** Navbar End ***/

/*** Carousel Hero Header Start ***/
.header-carousel .header-carousel-item img {
    object-fit: cover;
}

.header-carousel .header-carousel-item,
.header-carousel .header-carousel-item img {
        height: 700px;
}


.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    display: none !important;
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 60px;
    background: var(--bs-primary);
    color: var(--bs-white);
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.header-carousel .owl-nav .owl-prev {
    bottom: 30px;
    left: 30px;
    margin-left: 90px;
}
.header-carousel .owl-nav .owl-next {
    bottom: 30px;
    left: 30px;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    box-shadow: inset 0 0 100px 0 var(--bs-light);
    color: var(--bs-primary);
}


.header-carousel .header-carousel-item .carousel-caption {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    padding-top: 120px;
    background: rgba(0, 0, 0, .7);
    display: flex;
    align-items: center;
}

@media (max-width: 991px) {
    .header-carousel .header-carousel-item .carousel-caption {
        padding-top: 45px;
    }
}

@media (max-width: 767px) {
    .header-carousel .owl-nav .owl-prev {
        left: 50%;
        transform: translateX(-50%);
        margin-left: -45px;
    }


    .header-carousel .owl-nav .owl-next {
        left: 50%;
        transform: translateX(-50%);
        margin-left: 45px;
    }
}


.header-carousel .header-carousel-item img {
    animation-name: image-zoom;
    animation-duration: 10s;
    animation-delay: 1s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    transition: 1s;
}

@keyframes image-zoom {
    0%  {height: 100%; opacity: 0.9;}

    25% {height: 110%; opacity: 0.50;}

    50% {height: 115%; opacity: 1;}

    75% {height: 110%; opacity: 0.50;}

    100% {height: 100%; opacity: 0.9;}
}
/*** Carousel Hero Header End ***/


/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../img/carousel-1.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 140px 0 60px 0;
    transition: 0.5s;
}

@media (min-width: 992px) {
    .bg-breadcrumb {
        padding: 140px 0 60px 0;
    }
}

@media (max-width: 991px) {
    .bg-breadcrumb {
        padding: 60px 0 60px 0;
    }
}

.bg-breadcrumb .breadcrumb {
    position: relative;
}

.bg-breadcrumb .breadcrumb .breadcrumb-item a {
    color: var(--bs-white);
}
/*** Single Page Hero Header End ***/


/*** Service Start ***/
.service .service-item {
    background: var(--bs-light);
    border-radius: 10px;
    transition: 0.5s;
}

.service .service-item:hover {
    box-shadow: 0 0 45px rgba(0, 0, 0, .2);
}

.service .service-item .service-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    transition: 0.5s;
}

.service .service-item .service-img img {
    transition: 0.5s;
}

.service .service-item:hover .service-img img {
    transform: scale(1.2);
}
/*** Service End ***/


/*** Features Start ***/
.feature .feature-item {
    text-align: center;
    border-radius: 10px;
    background: var(--bs-light);
    border: 1px solid transparent;
    transition: 0.5s;
}

.feature .feature-item:hover {
    border: 1px solid var(--bs-primary);
}

.feature .feature-item .feature-icon {
    background: var(--bs-white);
    border-radius: 10px;
    display: inline-block;
}
/*** Features End ***/

/*** Offer Start ***/
.offer-section .nav a.accordion-link {
    width: 100%;
    border-radius: 10px;
    display: flex;
    background: var(--bs-white);
    transition: 0.5s;
}

.offer-section .nav a.accordion-link.active {
    color: var(--bs-white);
    background: var(--bs-primary);
}

.offer-section .nav a.accordion-link h5 {
    transition: 0.5s;
}

.offer-section .nav a.accordion-link.active h5 {
    color: var(--bs-white);
}
/*** Offer End ***/

/*** Blog Start ***/
.blog .blog-item {
    border-radius: 10px;
    background: var(--bs-white);
    box-shadow: inset 0 0 45px rgba(0, 0, 0, .1);
    transition: 0.5s;
}

.blog .blog-item a {
    transition: 0.5s;
}

.blog .blog-item:hover a:hover {
    color: var(--bs-primary);
}

.blog .blog-item .blog-img {
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.blog .blog-item .blog-img img {
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img img {
    transform: scale(1.2);
}

.blog .blog-item .blog-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 10px;
    background: rgba(0, 208, 132, 0.1);
    opacity: 0;
    transition: 0.5s;
    z-index: 1;
}

.blog .blog-item:hover .blog-img::after {
    opacity: 1;
}

.blog .blog-item .blog-img .blog-title {
    position: absolute;
    bottom: 25px;
    left: 25px;
    z-index: 5;
}

.blog .blog-item .blog-img .blog-title a {
    color: var(--bs-white);
    background: var(--bs-primary);
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img .blog-title a:hover {
    color: var(--bs-dark);
}

.blog-carousel .owl-stage-outer {
    margin-top: 58px;
}

.blog .owl-nav .owl-prev {
    position: absolute;
    top: -58px;
    left: 0;
    background: var(--bs-primary);
    color: var(--bs-white);
    padding: 6px 35px;
    border-radius: 30px;
    transition: 0.5s;
}

.blog .owl-nav .owl-prev:hover {
    background: var(--bs-dark);
    color: var(--bs-primary);
}

.blog .owl-nav .owl-next {
    position: absolute;
    top: -58px;
    right: 0;
    background: var(--bs-primary);
    color: var(--bs-white);
    padding: 6px 35px;
    border-radius: 30px;
    transition: 0.5s;
}

.blog .owl-nav .owl-next:hover {
    background: var(--bs-dark);
    color: var(--bs-primary);
}
/*** Blog End ***/


/*** FAQs Start ***/
.faq-section .accordion .accordion-item .accordion-header .accordion-button {
    color: var(--bs-secondary);
}

.faq-section .accordion .accordion-item .accordion-header .accordion-button.collapsed {
    color: var(--bs-dark);
}
/*** FAQs End ***/

/*** Team Start ***/
.team .team-item {
    position: relative;
    padding: 0 25px 25px 25px;
    border-radius: 10px;
    transition: 0.5s;
}

.team .team-item::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    background: var(--bs-light);
    border-radius: 10px;
    transition: 0.5s;
    z-index: -1;
}

.team .team-item:hover::before {
    height: 0;
}

.team .team-item::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    border-radius: 10px;
    transition: 0.5s;
    z-index: -1;
}

.team .team-item:hover::after {
    height: 100%;
    background: var(--bs-primary);
}

.team .team-item .team-img {
    width: 100%; 
    height: 100%;
    border-radius: 100%;
    position: relative;
    margin-top: 50%;
    transform: translateY(-50%);
    margin-bottom: -50%;
    display: flex;
    justify-content: center;
    border: 4px solid var(--bs-primary);
    border-style: dotted;
    padding: 4px;
    background: var(--bs-white);
    transition: 0.5s;
}

.team .team-item:hover .team-img {
    border: 4px solid var(--bs-white);
    border-style: dotted;
    background: 0;
}

.team .team-item .team-img img {
    width: 100%;
    height: 100%;
    border-radius: 100%;
    transition: 0.5s;
}

.team .team-item .team-title {
    padding: 25px 0 25px 0;
    text-align: center;
}

.team .team-item .team-title h4,
.team .team-item .team-title p {
    transition: 0.5s;
}

.team .team-item:hover .team-title h4,
.team .team-item:hover .team-title p {
    color: var(--bs-white);
}

.team .team-item .team-icon {
    display: flex;
    justify-content: center;
}

.team .team-item .team-icon a {
    transition: 0.5s;
}

.team .team-item:hover .team-icon a {
    color: var(--bs-dark);
    background: var(--bs-white);
}

.team .team-item:hover .team-icon a:hover {
    color: var(--bs-primary);
    background: var(--bs-dark);
}
/*** Team End ***/

/*** Testimonial Start ***/
.testimonial .testimonial-item {
    position: relative;
    margin-bottom: 30px;
    padding: 0 25px 25px 25px;
}

.testimonial .testimonial-item::before {
    content: "";
    position: absolute;
    width: 100%;
    height: calc(100% - 50px);
    bottom: 0;
    left: 0;
    border-radius: 10px;
    background: var(--bs-light);
    z-index: -1;
}

.testimonial .testimonial-item .testimonial-img {
    display: flex;
    justify-content: center;
}

.testimonial .testimonial-item .testimonial-img img {
    width: 100px; 
    height: 100px;
    border-radius: 100px;
    border: 5px solid var(--bs-light);
    border-style: double;
    background: var(--bs-white);
}

.testimonial .testimonial-item .testimonial-text {
    padding: 25px 0;
    text-align: center;
}

.testimonial .testimonial-item .testimonial-title {
    display: flex;
    justify-content: space-between;
}

.testimonial .testimonial-item  .testimonial-quote-left {
    position: absolute;
    width: 60px; 
    height: 60px;
    top: 20px;
    left: 25px;
    border-radius: 60px;
    color: var(--bs-primary);
    background: var(--bs-white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial .testimonial-item  .testimonial-quote-right {
    position: absolute;
    width: 60px; 
    height: 60px;
    bottom: -30px;
    right: 25px;
    margin-top: -5px;
    border-radius: 60px;
    color: var(--bs-primary);
    background: var(--bs-white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-stage-outer {
    margin-top: 58px;
    margin-right: -1px;
}

.testimonial .owl-nav .owl-prev {
    position: absolute;
    top: -58px;
    left: 0;
    background: var(--bs-primary);
    color: var(--bs-white);
    padding: 5px 30px;
    border-radius: 30px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-prev:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.testimonial .owl-nav .owl-next {
    position: absolute;
    top: -58px;
    right: 0;
    background: var(--bs-primary);
    color: var(--bs-white);
    padding: 5px 30px;
    border-radius: 30px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-next:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.testimonial-carousel .owl-dots {
    display: none;
    justify-content: center;
}

.testimonial-carousel .owl-dots .owl-dot {
    width: 30px;
    height: 30px;
    border-radius: 30px;
    margin: 20px 10px 0 10px;
    background: var(--bs-primary);
    transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 30px;
    height: 30px;
    border-radius: 30px;
    background: var(--bs-secondary);
    transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot span {
    position: relative;
    margin-top: 50%;
    margin-left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.testimonial-carousel .owl-dots .owl-dot.active span::after {
    background: var(--bs-primary);
}

.testimonial-carousel .owl-dots .owl-dot span::after {
    content: "";
    width: 15px;
    height: 15px;
    border-radius: 15px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bs-white);
    transition: 0.5s;
}

/*** Testimonial End ***/

/*** Footer Start ***/
.footer {
    background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1))
}

.footer .footer-item {
    display: flex;
    flex-direction: column;
}

.footer .footer-item a {
    line-height: 35px;
    color: var(--bs-body);
    transition: 0.5s;
}

.footer .footer-item p {
    line-height: 35px;
}

.footer .footer-item a:hover {
    color: var(--bs-primary);
}

.footer .footer-item .footer-btn a,
.footer .footer-item .footer-btn a i {
    transition: 0.5s;
}

.footer .footer-item .footer-btn a:hover {
    background: var(--bs-white);
}

.footer .footer-item .footer-btn a:hover i {
    color: var(--bs-primary);
}
/*** Footer End ***/

/*** copyright Start ***/
.copyright {
    background: var(--bs-dark);
}
/*** copyright end ***/


.testimonial-item {
    position: relative;
    background-size: cover;
    background-position: center;
    background: #d9ecff;
    color: #333;
    padding: 20px;
    height: 300px; 
    overflow: hidden;
    display: flex;
    flex-direction: column; 
    justify-content: flex-end; 
    align-items: center; 
    border-radius: 10px; 
    box-shadow: 0 4px 8px rgba(0.1, 0.1, 0.1, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
/* .testimonial-item {
    position: relative;
    background: #d9ecff;
    color: #333;
    padding: 20px;
    height: 300px; 
    overflow: hidden;
    display: flex;
    flex-direction: column; 
    justify-content: center;
    align-items: center; 
    border-radius: 10px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
} */

/* Hover effect */
.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Text Styling */
.testimonial-item h4 {
    color: #0056b3; /* Dark blue heading */
    font-weight: bold;
}

.testimonial-item p {
    color: #555; /* Dark gray text */
    font-size: 16px;
    text-align: center;
}


.testimonial-text {
    position: absolute;
    bottom: 20px; /* Ensure text is at the bottom of the container */
    left: 20px;
    right: 20px;
    z-index: 1;
}

.testimonial-text p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; /* Limit to two lines */
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonial-item:hover .testimonial-text p {
    opacity: 1; /* Show text on hover */
}

.testimonial-item h4 {
    color: white; /* Text color of the header */
    z-index: 2; /* Ensure the header text stays above the background */
    margin-bottom: 10px; /* Add some space between the header and the text */
}

.testimonial-img {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
}

/* Dropdown styles */
.dropdown-menu {
    margin: 0;
    padding: 0.5rem 0;
    border: none;
    border-radius: 0.25rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.dropend .dropdown-toggle::after {
    border-top: 0.3em solid transparent;
    border-right: 0;
    border-bottom: 0.3em solid transparent;
    border-left: 0.3em solid;
    vertical-align: middle;
    margin-left: 0.5rem;
}

.dropend .dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: 0.1rem;
}

/* Mobile styles */
@media (max-width: 991.98px) {
    .dropend .dropdown-menu {
        position: static;
        margin-left: 1.5rem;
        box-shadow: none;
        border: none;
    }
    
    .dropdown-menu .show {
        display: block;
    }
}

/* Desktop hover styles */
@media (min-width: 992px) {
    .dropdown:hover > .dropdown-menu {
        display: block;
    }
    
    .dropend:hover > .dropdown-menu {
        display: block;
    }
}

/* Nested Dropdown Styles */
.nested-dropdown {
    position: relative;
}

.nested-dropdown .nested-menu {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 200px;
    background: var(--bs-light);
    border-radius: 0.25rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    padding: 0.5rem 0;
}

/* Desktop Styles */
@media (min-width: 992px) {
    .nested-dropdown:hover .nested-menu {
        display: block;
    }

    .dropdown:hover > .dropdown-menu {
        display: block;
    }
}

/* Mobile Styles */
@media (max-width: 991.98px) {
    .nested-dropdown {
        width: 100%;
    }

    .nested-dropdown .nested-menu {
        position: static;
        box-shadow: none;
        padding-left: 1.5rem;
        width: 100%;
        background: transparent;
    }

    .nested-dropdown .nested-menu.show {
        display: block;
    }

    .dropdown-menu {
        border: none;
        box-shadow: none;
        background: transparent;
    }

    .dropdown-item {
        white-space: normal;
        padding: 0.5rem 1rem;
    }

    .nested-dropdown .dropdown-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 1rem;
    }

    .navbar-nav .dropdown-menu {
        padding-left: 1rem;
    }
}

/* General Dropdown Styles */
.dropdown-menu {
    margin: 0;
    padding: 0.5rem 0;
    border: none;
    border-radius: 0.25rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.dropdown-item {
    padding: 0.5rem 1rem;
    color: var(--bs-dark);
}

.dropdown-item:hover {
    background-color: var(--bs-light);
    color: var(--bs-primary);
}

/* Show class for mobile */
.dropdown-menu.show,
.nested-menu.show {
    display: block !important;
}

/* Custom Sidebar Navigation Styling */
.nav-sidebar-container {
    border-left: 4px solid var(--bs-primary);
}

.custom-nav-pills .nav-link {
    color: #333;
    border-radius: 0;
    padding: 12px 15px;
    margin-bottom: 5px;
    transition: all 0.3s ease;
    font-size: 14px;
    border-left: 3px solid transparent;
    position: relative;
    overflow: hidden;
    text-align: left;
}

.custom-nav-pills .nav-link span {
    white-space: normal;
    line-height: 1.3;
}

.custom-nav-pills .nav-link:hover {
    background-color: rgba(var(--bs-primary-rgb), 0.1);
    color: var(--bs-primary);
    transform: translateX(3px);
}

.custom-nav-pills .nav-link.active {
    background-color: rgba(var(--bs-primary-rgb), 0.15);
    color: var(--bs-primary);
    font-weight: 500;
    border-left: 3px solid var(--bs-primary);
}

.custom-nav-pills .nav-link i {
    opacity: 0.7;
    transition: all 0.3s ease;
}

.custom-nav-pills .nav-link:hover i,
.custom-nav-pills .nav-link.active i {
    opacity: 1;
}

/* Add a subtle hover effect */
.custom-nav-pills .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--bs-primary);
    transition: width 0.3s ease;
}

.custom-nav-pills .nav-link:hover::after,
.custom-nav-pills .nav-link.active::after {
    width: 100%;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .custom-nav-pills .nav-link {
        padding: 10px;
        font-size: 14px;
    }
}

html {
    scroll-behavior: smooth;
}

.landing-page-shell {
    background:
        radial-gradient(circle at top left, rgba(81, 70, 154, 0.13), transparent 34%),
        radial-gradient(circle at right 12%, rgba(198, 146, 47, 0.08), transparent 26%),
        linear-gradient(180deg, #f6f8fc 0%, #ffffff 16%, #ffffff 100%);
    color: #111827;
}

.landing-page-shell section {
    position: relative;
}

.landing-hero {
    overflow: hidden;
    padding: 6.5rem 0 5rem;
    background:
        linear-gradient(145deg, var(--bs-dark-bg) 0%, var(--bs-primary) 100%);
    color: #fff;
}

.landing-hero__backdrop {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.12), transparent 22%),
        radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.09), transparent 18%),
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: auto, auto, 32px 32px, 32px 32px;
    opacity: 0.45;
    pointer-events: none;
}

.section-kicker {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.section-kicker--dark {
    color: var(--brand-600);
}

.landing-hero__title,
.section-title,
.cta-panel h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.landing-hero__title {
    max-width: 12ch;
    margin-top: 1rem;
    font-size: clamp(2.85rem, 6vw, 5.25rem);
    line-height: 0.96;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.landing-hero__lead,
.section-copy,
.hero-preview-card__body p,
.service-card p,
.band-feature-card p,
.value-card p,
.feature-list__item span,
.contact-info-card p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.03rem;
    line-height: 1.75;
}

.landing-hero__lead {
    backface-visibility: hidden;
    transform: translateZ(0);
}

.section-copy,
.section-title {
    color: #111827;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 1.5rem;
    text-align: center;
}

.section-title {
    margin-top: 1rem;
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.landing-btn-primary,
.landing-btn-secondary {
    min-width: 180px;
    transition: transform 0.28s ease, box-shadow 0.28s ease, background-color 0.28s ease, color 0.28s ease;
}

.landing-btn-primary:hover,
.landing-btn-secondary:hover,
.service-card:hover,
.band-feature-card:hover,
.value-card:hover,
.hero-preview-card:hover,
.split-media-card:hover,
.contact-card:hover,
.contact-info-card:hover,
.cta-panel:hover {
    transform: translateY(-6px);
}

.landing-btn-primary {
    box-shadow: 0 18px 40px rgba(21, 7, 62, 0.25);
}

.landing-btn-secondary {
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
}

.landing-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.hero-metric,
.hero-preview-card,
.split-media-card,
.service-card,
.band-feature-card,
.value-card,
.contact-card,
.contact-info-card,
.cta-panel,
.faq-accordion .accordion-item {
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(20px);
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.18);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.hero-metric {
    padding: 1.15rem 1.1rem;
}

.hero-metric span,
.hero-preview-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin-bottom: 0.85rem;
    padding: 0.34rem 0.72rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    font-size: 0.875rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-metric strong,
.hero-preview-card__body h2,
.service-card h3,
.band-feature-card h3,
.value-card h3,
.contact-info-card h3,
.contact-info-card .contact-info-title {
    display: block;
    font-size: 1.06rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.hero-metric small {
    display: block;
    margin-top: 0.5rem;
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.6;
}

.hero-preview-card {
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
}

.hero-preview-card__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 0.82;
}

.hero-preview-card__image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(15, 23, 42, 0.6) 100%);
}

.hero-preview-card__image img,
.split-media-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-preview-card__body {
    padding: 1.4rem;
}

.hero-preview-card__body h2 {
    color: #fff;
    font-size: 1.7rem;
    margin-bottom: 0.75rem;
}

.hero-preview-card__body p {
    margin-bottom: 1.2rem;
}

.hero-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.hero-preview-grid div {
    padding: 0.9rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
}

.hero-preview-grid strong,
.hero-preview-grid span {
    display: block;
}

.hero-preview-grid span {
    margin-top: 0.2rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.88rem;
}

.landing-section {
    padding: 5.25rem 0;
}

.landing-split-section {
    background: linear-gradient(180deg, #fff 0%, #f8f6ff 100%);
}

.split-media-card {
    overflow: hidden;
    min-height: 420px;
    background: linear-gradient(145deg, rgba(86, 58, 166, 0.16), rgba(255, 255, 255, 0.95));
}

.split-media-card img {
    min-height: 420px;
    border-radius: 28px;
}

.section-copy {
    max-width: 62ch;
}

.feature-list {
    display: grid;
    gap: 1rem;
    margin-top: 1.7rem;
}

.feature-list__item {
    padding: 1.1rem 1.2rem;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(81, 70, 154, 0.12);
    box-shadow: 0 18px 36px rgba(38, 18, 74, 0.08);
}

.feature-list__item strong,
.feature-list__item span,
.service-card p,
.band-feature-card p,
.value-card p,
.contact-info-card p {
    color: #4d4760;
}

.feature-list__item strong {
    display: block;
    margin-bottom: 0.35rem;
    color: #111827;
}

.service-card,
.value-card,
.band-feature-card,
.contact-card,
.contact-info-card,
.faq-accordion .accordion-item {
    color: #111827;
    background: #fff;
}

.service-card,
.value-card,
.band-feature-card,
.contact-info-card {
    padding: 1.5rem;
    height: 100%;
}

.service-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(81, 70, 154, 0.11), rgba(233, 180, 70, 0.13));
    color: #1d1655;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.service-card p,
.band-feature-card p,
.value-card p,
.contact-info-card p {
    margin-bottom: 0;
}

.landing-band {
    padding: 5.25rem 0;
    background:
        radial-gradient(circle at 88% 10%, rgba(233, 180, 70, 0.16), transparent 24%),
        linear-gradient(145deg, #171044 0%, #1d1655 100%);
    color: #fff;
}

.landing-band .section-title,
.landing-band .section-copy {
    color: #fff;
}

.landing-band .section-kicker {
    display: inline-block;
    padding: 0.35rem 1rem;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
}

.band-feature-card {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.band-feature-card h3,
.band-feature-card p {
    color: #fff;
}

.band-feature-card p {
    opacity: 0.82;
}

.landing-card-section,
.landing-faq-section,
.landing-contact-section {
    background: #fff;
}

.value-card {
    background: linear-gradient(180deg, #fff 0%, #fbf9ff 100%);
}

.value-card h3,
.contact-info-card h3,
.contact-info-card .contact-info-title {
    margin-bottom: 0.8rem;
}

.faq-accordion {
    max-width: 920px;
    margin: 0 auto;
}

.faq-accordion .accordion-item {
    border: 1px solid rgba(81, 70, 154, 0.1);
    margin-bottom: 1rem;
}

.faq-accordion .accordion-button {
    border-radius: 28px;
    padding: 1.1rem 1.3rem;
    box-shadow: none;
    font-weight: 700;
    color: #111827;
}

.faq-accordion .accordion-button:not(.collapsed) {
    color: #1d1655;
    background: #efedf8;
}

.faq-accordion .accordion-body {
    color: #514d65;
    padding: 0 1.3rem 1.3rem;
}

.landing-cta {
    padding-bottom: 5.25rem;
}

.cta-panel {
    padding: 2.2rem;
    background:
        radial-gradient(circle at 88% 12%, rgba(233, 180, 70, 0.18), transparent 26%),
        linear-gradient(145deg, #171044 0%, #1d1655 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.cta-panel h2 {
    margin: 0.5rem 0 0;
    max-width: 18ch;
    font-size: clamp(1.6rem, 3vw, 2.6rem);
    line-height: 1.08;
}

.contact-card {
    padding: 1.6rem;
    background: #fff;
}

.contact-card .form-control {
    min-height: 52px;
    border-radius: 16px;
    border-color: rgba(81, 70, 154, 0.18);
    box-shadow: none;
}

.contact-card .form-control:focus {
    border-color: #51469a;
    box-shadow: 0 0 0 0.2rem rgba(81, 70, 154, 0.16);
}

.contact-card textarea.form-control {
    min-height: 150px;
}

.contact-info-stack {
    display: grid;
    gap: 1rem;
}

.contact-info-card {
    background: linear-gradient(180deg, #fff 0%, #f8f6ff 100%);
}

.footer {
    background: linear-gradient(180deg, #171044 0%, #1d1655 100%);
    color: rgba(255, 255, 255, 0.88);
}

.footer .footer-item h3,
.footer .footer-item a,
.footer .footer-item p,
.copyright,
.copyright .text-body {
    color: rgba(255, 255, 255, 0.88) !important;
}

.footer .footer-item a {
    display: block;
    margin-bottom: 0.55rem;
}

.footer .footer-item a:hover {
    color: #fff !important;
}

.copyright {
    background: rgba(18, 9, 40, 0.34);
}

.back-to-top {
    border: none;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.24);
}

.floating-contact-stack {
    z-index: 1050;
}

.floating-contact-btn {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 999px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.floating-contact-btn i {
    font-size: 1.1rem;
    line-height: 1;
}

.floating-contact-btn--phone {
    background: #ffffff;
}

.floating-contact-btn--phone i {
    color: #111827;
}

.floating-contact-btn--email {
    background: #171044;
}

.floating-contact-btn--email i {
    color: #ffffff;
}

.floating-contact-btn--whatsapp {
    background: #25d366;
}

.floating-contact-btn--whatsapp i {
    color: #ffffff;
}

.floating-contact-btn:hover {
    transform: translateX(-2px) scale(1.04);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.24);
}

.landing-intro-modal .modal-content {
    border-radius: 28px;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.24);
}

.landing-intro-modal__visual {
    min-height: 100%;
}

.landing-intro-modal__content {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #f9f7ff 100%);
}

.landing-intro-modal__content h2 {
    font-size: clamp(1.6rem, 3vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #111827;
}

.landing-intro-modal__content p {
    color: #564f71;
}

.landing-intro-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

@media (max-width: 991.98px) {
    .landing-hero {
        padding-top: 4.8rem;
    }

    .landing-hero__title {
        max-width: none;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
    }

    .cta-panel {
        flex-direction: column;
        align-items: flex-start;
    }

    .floating-contact-stack {
        top: auto !important;
        bottom: 1rem;
        right: 1rem;
        transform: none !important;
        padding: 0;
    }

    .floating-contact-stack__inner {
        align-items: flex-end;
    }

    .floating-contact-btn {
        width: 2.9rem;
        height: 2.9rem;
    }

    .floating-contact-btn i {
        font-size: 1rem;
    }
}

@media (max-width: 767.98px) {
    .landing-hero,
    .landing-section,
    .landing-band,
    .landing-cta {
        padding-left: 0;
        padding-right: 0;
    }

    .landing-hero__title {
        font-size: clamp(2.3rem, 12vw, 3.6rem);
    }

    .hero-preview-grid {
        grid-template-columns: 1fr;
    }

    .cta-panel {
        padding: 1.5rem;
        border-radius: 24px;
    }

    .split-media-card,
    .split-media-card img {
        min-height: 300px;
    }

    .floating-contact-stack {
        right: 0.75rem;
        bottom: 0.75rem;
    }

    .floating-contact-btn {
        width: 2.7rem;
        height: 2.7rem;
    }

    .floating-contact-btn i {
        font-size: 0.95rem;
    }

    .landing-intro-modal .modal-dialog {
        margin: 0.75rem;
    }

    .landing-intro-modal__visual {
        min-height: 180px;
    }

    .landing-intro-modal__close {
        top: 0.75rem;
        right: 0.75rem;
    }
}
