
/*** Design Tokens Start ***/
:root {
    /* Spacing scale (used for new rules below; existing Bootstrap spacing utilities are untouched) */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 1rem;
    --space-4: 1.5rem;
    --space-5: 2rem;
    --space-6: 3rem;

    /* Radius scale */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-pill: 50rem;

    /* Shadow scale (soft, layered, premium) */
    --shadow-sm: 0 2px 10px rgba(0, 18, 72, 0.06);
    --shadow-md: 0 10px 30px rgba(0, 18, 72, 0.10);
    --shadow-lg: 0 20px 45px rgba(0, 18, 72, 0.14);
    --shadow-focus: 0 0 0 0.25rem rgba(255, 94, 21, 0.35);

    /* Motion */
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --transition-fast: 0.2s var(--ease);
    --transition-base: 0.35s var(--ease);
}
/*** Design Tokens End ***/

/*** Accessibility & Base Refinements Start ***/
*:focus-visible {
    outline: 2px solid var(--bs-secondary);
    outline-offset: 2px;
    border-radius: 2px;
}

::selection {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

img {
    max-width: 100%;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }

    .top-marquee {
        height: auto !important;
        line-height: 1.6 !important;
        white-space: normal !important;
        overflow: visible !important;
        padding: 8px 16px;
    }

    .top-marquee .marquee-content {
        animation: none;
        transform: none;
        white-space: normal;
        display: block;
    }
}
/*** Accessibility & Base Refinements End ***/

/*** Rounded Corners & Shape Language Start ***/
.btn,
.form-control,
.form-select,
.navbar-toggler,
.accordion-item,
.accordion-button,
.card,
.modal-content,
.list-group-item {
    border-radius: var(--radius-md);
}

.accordion-item:first-of-type,
.accordion-item:first-of-type .accordion-button {
    border-top-left-radius: var(--radius-md);
    border-top-right-radius: var(--radius-md);
}

.accordion-item:last-of-type,
.accordion-item:last-of-type .accordion-collapse {
    border-bottom-left-radius: var(--radius-md);
    border-bottom-right-radius: var(--radius-md);
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
    border-radius: var(--radius-sm);
}
/*** Rounded Corners & Shape Language End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 44px;
    height: 44px;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    box-shadow: var(--shadow-md);
    z-index: 99;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/*** Forms Start ***/
.form-control,
.form-select {
    min-height: 44px;
    border-color: #dde1e8;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus,
.form-select:focus {
    box-shadow: var(--shadow-focus);
}

.form-floating > label {
    color: #8b93a7;
}

textarea.form-control {
    min-height: 120px;
}
/*** Forms End ***/
/* topbar css*/
.topbar{
    background: #0b1f63 !important;
}

.topbar a{
    color: #ffffff !important;
    font-weight: 500;
}

.topbar a:hover{
    color: #ffc107 !important;
}

.topbar i{
    color: #ff7a00 !important;
}

/* topbar css end */
/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
    letter-spacing: 0.2px;
}

.btn:active {
    transform: translateY(0);
}

.btn.btn-primary,
.btn.btn-secondary,
.btn.btn-light,
.btn.btn-warning {
    box-shadow: var(--shadow-sm);
}

.btn.btn-primary:hover,
.btn.btn-secondary:hover,
.btn.btn-light:hover,
.btn.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn:focus-visible {
    box-shadow: var(--shadow-focus);
}

.btn-square {
    width: 44px;
    height: 44px;
}

.btn-sm-square {
    width: 44px;
    height: 44px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-xl-square {
    width: 66px;
    height: 66px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.btn-primary {
    border: none;
}

.btn.btn-primary:hover {
    background: var(--bs-secondary);
}

.btn.btn-secondary {
    color: var(--bs-white);
    border: none;
   
}

.btn.btn-secondary:hover {
    background: var(--bs-primary);
}
/*** Topbar Start ***/
.topbar {
    padding: 2px 10px 2px 20px;
    background: var(--bs-primary);
}
/*** Topbar End ***/

/*** Navbar ***/

.sticky-top {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: #fff;
    box-shadow: 0 2px 18px rgba(0, 18, 72, 0.08);
}

.sticky-top .navbar {
    transition: padding var(--transition-base);
}

body {
    padding-top: 85px;
    scroll-padding-top: 100px;
}
.navbar .navbar-nav .nav-item.nav-link,
.navbar .navbar-nav .nav-link {
    color: var(--bs-dark);
}

.navbar .navbar-nav .nav-link {
    position: relative;
    padding: 10px;
    font-weight: 400;
    font-family: "Playfair Display", serif;
    font-size: 17px;
    transition: .5s;
    z-index: 99;
}

.navbar .navbar-nav .nav-item {
    margin: 0 5px;
}

.navbar .navbar-nav .nav-item::before,
.navbar .navbar-nav .nav-item::after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    border: 2px solid var(--bs-secondary);
    opacity: 0;
    transition: 0.5s;
    z-index: 2 !important;
}

.navbar .navbar-nav .nav-item::before {
    top: 0;
    left: 0;
    border-bottom: 0;
    border-right: 0;
}
.navbar .navbar-nav .nav-item::after {
    bottom: 0;
    right: 0;
    border-top: 0;
    border-left: 0;
}

.navbar .navbar-nav .nav-item:hover::after,
.navbar .navbar-nav .nav-item:hover::before,
.navbar .navbar-nav .nav-item.active::after,
.navbar .navbar-nav .nav-item.active::before {
    width: 50%;
    height: 50%;
    opacity: 1;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.sticky-top .navbar .navbar-nav .nav-link:hover,
.sticky-top .navbar .navbar-nav .nav-link.active {
    color: var(--bs-secondary) !important;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107" !important;
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
}

.navbar .navbar-toggler {
    padding: 8px 15px;
    min-width: 44px;
    min-height: 44px;
    color: var(--bs-white);
    background: var(--bs-secondary);
    border: none;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.navbar .navbar-toggler:hover {
    background: var(--bs-primary);
}

.navbar .navbar-toggler:active {
    transform: scale(0.96);
}

.navbar .navbar-toggler:focus {
    box-shadow: var(--shadow-focus);
    outline: none;
}

.navbar .navbar-toggler .fa {
    color: var(--bs-white);
}

.nav-bar .navbar-toggler { 
    color: var(--bs-dark);
    box-shadow: none !important;
}

@media (max-width: 991px) {
    .navbar .navbar-nav .nav-item::after,
    .navbar .navbar-nav .nav-item::before {
        display: none;
    }

    .navbar .navbar-nav .nav-item:hover::after,
    .navbar .navbar-nav .nav-item:hover::before,
    .navbar .navbar-nav .nav-item.active::after,
    .navbar .navbar-nav .nav-item.active::before {
        display: none;

    }

    /* Polished mobile menu panel */
    .navbar .navbar-collapse {
        margin-top: 14px;
        padding: 8px 16px;
        background: #fff;
        border: 1px solid rgba(0, 18, 72, 0.07);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-lg);
        max-height: calc(100vh - 120px);
        overflow-y: auto;
    }

    .navbar .navbar-nav .nav-item {
        margin: 0;
    }

    .navbar .navbar-nav .nav-link,
    .navbar .navbar-nav .nav-item.nav-link {
        padding: 14px 14px;
        min-height: 48px;
        display: flex;
        align-items: center;
        border-radius: var(--radius-sm);
        border-bottom: 1px solid rgba(0, 18, 72, 0.06);
        transition: background-color var(--transition-fast), padding-left var(--transition-fast), color var(--transition-fast);
    }

    .navbar .navbar-nav .nav-link:last-child,
    .navbar .navbar-nav .nav-item.nav-link:last-child {
        border-bottom: 0;
    }

    .navbar .navbar-nav .nav-link:hover,
    .navbar .navbar-nav .nav-link.active {
        background: rgba(255, 94, 21, 0.08);
        padding-left: 20px;
    }

    .navbar .navbar-nav .nav-link.active {
        box-shadow: inset 3px 0 0 var(--bs-secondary);
    }

    /* Keep mobile menu as a floating side panel instead of full-width block */
    .sticky-top .navbar {
        position: relative;
    }

    .sticky-top .navbar .navbar-collapse {
        position: absolute;
        top: calc(100% + 10px);
        right: 12px;
        left: auto;
        width: min(340px, calc(100vw - 24px));
        background: rgba(255, 255, 255, 0.82);
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
        z-index: 1005;
    }
}
/*** Navbar End ***/

/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(0, 18, 72, 0.034), rgba(0, 18, 72, 0.7)), url(../img/page-header-background.webp);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    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 ***/

/*** Carousel Start ***/
.carousel .carousel-inner .carousel-item {
    position: relative;
    overflow: hidden;
    height: 100vh;
}

@media (min-width: 992px) {
    .carousel .carousel-inner .carousel-item img {
        height: 100%;
        object-fit: cover;   
    }
}

@media (max-width: 991px) {
    .carousel .carousel-inner .carousel-item {
        height: 60vh;
        min-height: 420px;
        max-height: 620px;
    }
    .carousel .carousel-inner .carousel-item img {
        height: 100%;
        object-fit: cover;
    }
}

@media (max-width: 576px) {
    .carousel .carousel-inner .carousel-item {
        height: 48vh;
        min-height: 320px;
    }

    .carousel-item .carousel-caption h1 {
        font-size: 36px;
    }

    .carousel-item .carousel-caption p.fs-5 {
        font-size: 15px;
    }
}

.carousel .carousel-inner .carousel-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
   background: transparent;
    z-index: 1;
}

.carousel .carousel-inner .carousel-item .carousel-caption {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}
.carousel .carousel-inner .carousel-item {
    overflow: hidden;
}

.carousel .carousel-inner .carousel-item img {
    animation: zoomMove 12s ease-in-out infinite;
}

@keyframes zoomMove {
    0% {
        transform: scale(1) translateX(0);
    }
    50% {
        transform: scale(1.1) translateX(-15px);
    }
    100% {
        transform: scale(1) translateX(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .carousel .carousel-inner .carousel-item img {
        animation: none;
    }
}

/* Mobile Responsive Carousel */
@media (max-width: 576px) {

    .carousel .carousel-inner .carousel-item {
        height: 300px;
    }

    .carousel .carousel-inner .carousel-item img {
        width: 100%;
        height: 300px;
        object-fit: cover;
    }

    .carousel-item .carousel-caption {
        padding: 0 15px;
    }

    .carousel-item .carousel-caption h1 {
        font-size: 24px;
        line-height: 1.3;
    }

    .carousel-item .carousel-caption p {
        font-size: 14px;
    }
}
/*** Carousel End ***/


/*** About Start ***/
.about .about-item-image {
    position: relative;
    background: var(--bs-light);
    background-image: url(../img/about-section-background.webp);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 1;
}

.about .about-item-image .img-1 {
    margin-bottom: 250px; 
    margin-right: 0;
    border: 4px solid;
    border-color: var(--bs-secondary) var(--bs-light) var(--bs-light) var(--bs-secondary);
    z-index: 3;
}

.about .about-item-image .img-2 {
    margin-top: 250px; 
    margin-left: 0;
    border: 4px solid;
    border-color: var(--bs-light) var(--bs-secondary) var(--bs-secondary) var(--bs-light); 
    z-index: 3;
}

.about .about-item-image::before {
    width: 80%;
    height: 80%;
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid;
    border-style: dotted;
    border-color: var(--bs-white);
    background: var(--bs-primary);
    z-index: 2;
}

.about .about-item-image .about-item-image-content {
    width: 55%;
    height: 55%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--bs-secondary);
    border: 4px solid var(--bs-primary);
    opacity: 0.9;
    z-index: 4;
}

@media (max-width: 767px) {
    .about .about-item-image .img-1 {
        margin-bottom: 120px;
    }

    .about .about-item-image .img-2 {
        margin-top: 120px;
    }
}

@media (max-width: 480px) {
    .about .about-item-image .img-1 {
        margin-bottom: 80px;
    }

    .about .about-item-image .img-2 {
        margin-top: 80px;
    }
}
/*** About End ***/

/*** Features Start ***/
.feature .feature-item {
    position: relative;
    border-radius: var(--radius-lg) !important;
    transition: transform var(--transition-base), box-shadow var(--transition-base), background-color var(--transition-base);
}
.feature .feature-item:hover {
    background: var(--bs-white);
    border: 1px solid transparent;
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.feature .feature-item:hover a {
    transition: 0.5s;
}

.feature .feature-item:hover a:hover {
    color: var(--bs-secondary);
}

.feature .feature-item .feature-img {
    border-radius: var(--radius-md);
}

.feature .feature-item .feature-img img {
    border: transparent;
    transition: 0.5s;
} 

.feature .feature-item:hover .feature-img img {
    border: 1px solid var(--bs-secondary);
}
/*** Features End ***/

/*** Services Start ***/
.service .service-item {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    z-index: 1;
}

.service .service-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.service .service-item .service-img img {
    transition: 0.5s;
}

.service .service-item:hover .service-img img {
    transform: scale(1.2);
}

.service .service-item::after {
    content: "";
    width: 100%;
    height: 0;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.5s;
    z-index: 2;
}

.service .service-item:hover:after {
    height: 100%;
    background: rgba(0, 0, 0, .4);
}

.service .service-item .service-content {
    position: absolute;
    width: 100%;
    height: auto;
    top: 50%; 
    left: 0; 
    transform: translateY(-50%);
    transition: 0.5s;
    opacity: 0;
    z-index: 3;
}

.service .service-item:hover .service-content {
    opacity: 1;
}

.service .service-item:hover .service-content a.fs-4 {
    color: var(--bs-white);
    transition: 0.5s;
}

.service .service-item:hover .service-content a.fs-4:hover {
    color: var(--bs-secondary);
}

.service .service-item .service-title {
    position: absolute;
    width: 100%;
    height: 80px; 
    bottom: 0; 
    right: 0;
    background: var(--bs-light);
    display: flex;
    transition: 0.5s;
    z-index: 3;
}

.service .service-item:hover .service-title {
    margin-right: -100%;
}
/*** Services End ***/

/*** Blog Start ***/
.blog .blog-item .blog-img {
    position: relative;
    overflow: hidden;
}

.blog .blog-item .blog-img img {
    transition: 0.5s;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center top;
}

.blog .blog-item:hover .blog-img img {
    transform: scale(1.2);
}

.blog .blog-item {
    display: flex;
    flex-direction: column;
}

.blog .blog-item .blog-img {
    flex-shrink: 0;
}

.blog .blog-item .blog-content {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Push the Read More button to the bottom so cards align regardless of title length */
.blog .blog-item .blog-content .btn {
    margin-top: auto;
    align-self: flex-start;
}

.blog .blog-item .blog-content a {
    transition: 0.5s;
}

.blog .blog-item:hover .blog-content a:hover {
    color: var(--bs-secondary);
}
/*** Blog End ***/

/*** Contact Start ***/
.contact .contact-map {
    position: relative;
    overflow: hidden;
    padding: 20px;
    z-index: 1;
}

.contact .contact-map::before {
    content: "";
    width: 70%;
    height: 70%;
    position: absolute;
    left: 0;
    bottom: 0;
    background: var(--bs-primary);
    z-index: -1;
}

.contact .contact-map::after {
    content: "";
    width: 70%;
    height: 70%;
    position: absolute;
    top: 0;
    right: 0;
    background: var(--bs-secondary);
    z-index: -1;
}
/*** Contact End ***/

/* contact us adrsss card */

/* Contact Office Cards */
/* Address Section */
.office-section {
    background: #f8f9fa;
    min-height: 200px;
    padding: 80px 0;
}

.office-section .row{
    max-width: 1200px;
    margin: auto;
}

/* contact us adress card end */
/*** Footer Start ***/
.footer {
    background: linear-gradient(rgba(0, 18, 72, 0.9), rgba(0, 18, 72, 1)), url(../img/footer-background.webp);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
}
.footer .footer-item a {
    line-height: 1.6;
    color: var(--bs-body);
    transition: 0.5s;
}

.footer .footer-item p {
    line-height: 1.7;
}

.footer .footer-item a:hover {
    letter-spacing: 1px;
    color: var(--bs-secondary);
}

.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) !important;
}




/*** Footer End ***/

/*** copyright Start ***/
/* Copyright link styling (color handled in the Premium Enhancement Layer) */
.copyright a {
    font-weight: 700;
    text-decoration: none;
}

/* footer bar remove css */
html,
body {
    overflow-x: hidden;
}
.footer-item a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-item a i {
    min-width: 18px;
    margin-top: 0;
}

.footer-item a span {
    display: inline-block;
}
/* footer bar end css */
/*=========================================
        SERVICE DETAILS PAGE
=========================================*/

.service-details{
    padding:80px 0;
    background:#fff;
}

/*==============================
    MAIN IMAGE
==============================*/

.service-main-img{
    overflow:hidden;
    border-radius: var(--radius-lg);
}

.service-main-img img{
    width:100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition:.4s ease;
}

.service-main-img:hover img{
    transform:scale(1.04);
}

/*==============================
    HEADINGS
==============================*/

.service-details h2{
    font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem);
    font-weight:700;
    color:#071b67;
}

.service-details h3{
    font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem);
    font-weight:700;
    color:#071b67;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
}

.service-details p{
    color:#666;
    line-height:1.75;
    font-size:16px;
    text-align: left;
}

/*==============================
    FEATURES
==============================*/

.service-features{
    list-style:none;
    padding:0;
    margin:0;
}

.service-features li{
    position:relative;
    padding:14px 0 14px 38px;
    border-bottom:1px solid #ececec;
    color:#444;
    transition:.3s;
}

.service-features li:last-child{
    border-bottom:none;
}

.service-features li::before{
    content:"✓";
    position:absolute;
    left:0;
    top:13px;
    width:24px;
    height:24px;
    background:#ff5b17;
    color:#fff;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:13px;
    font-weight:bold;
}

.service-features li:hover{
    padding-left:45px;
    color:#071b67;
}

/*==============================
    GALLERY
==============================*/

.service-details .row img{
    border-radius:12px;
    transition:.4s;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
}

.service-details .row img:hover{
    transform:scale(1.05);
}

/*==============================
    PROCESS BOX
==============================*/

.process-box{
    background:#fff;
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem);
    border:1px solid #ececec;
    height:100%;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.process-box:hover{
    transform:translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.process-box h4{
    color:#071b67;
    margin-bottom: 0.85rem;
    font-weight:700;
}

.process-box p{
    margin:0;
}

/*==============================
    TESTIMONIAL
==============================*/

.testimonial-box{
    background:#fff;
    padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border-left:6px solid #ff5b17;
}

.testimonial-box img{
    border-radius:50%;
    object-fit:cover;
}

.testimonial-avatar{
    width:64px;
    height:64px;
    flex-shrink:0;
    border-radius:50%;
    background:var(--bs-primary);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:26px;
}

.testimonial-box h3{
    margin-top:0;
}

.testimonial-box h5{
    color:#071b67;
    font-weight:600;
}

.testimonial-text{
    font-size:16px;
    color:#666;
    font-style:italic;
    line-height:1.75;
    text-align: left;
}

.testimonial-rating{
    display:flex;
    align-items:center;
    gap:6px;
}

.testimonial-rating i{
    color:#ffb400;
}

.testimonial-rating span{
    color:#ff5b17;
    font-weight:600;
    margin-left:8px;
}

/*==============================
    SIDEBAR
==============================*/

.service-sidebar{
    position:sticky;
    top:120px;
}

.service-sidebar-box{
    background:#fff;
    padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom:35px;
}

.service-sidebar-box h3{
    margin-top:0;
    color:#071b67;
}

/*==============================
    MENU
==============================*/

.service-menu{
    list-style:none;
    padding:0;
    margin:0;
}

.service-menu li{
    margin-bottom: 0.9rem;
    transition:.3s;
}

.service-menu li:hover{
    transform:translateX(8px);
}

.service-menu li a{
    display:flex;
    align-items:center;
    text-decoration:none;
    color:#071b67;
    font-weight:500;
    transition:.3s;
}

.service-menu li a i{
    color:#ff5b17;
    margin-right:12px;
}

.service-menu li a:hover{
    color:#ff5b17;
}

/*==============================
    BUTTON
==============================*/

.consult-btn{
    display:block;
    width:100%;
    padding:16px;
    background:#071b67;
    color:#fff;
    text-align:center;
    border-radius:10px;
    text-decoration:none;
    transition:.3s;
    font-weight:600;
}

.consult-btn:hover{
    background:#ff5b17;
    color:#fff;
}

/*==============================
    CTA BOX
==============================*/

.consult-box{
    background:#071b67;
    color:#fff;
    padding: clamp(1.75rem, 1.4rem + 1.2vw, 2.8rem) clamp(1.5rem, 1.2rem + 1vw, 2.25rem);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.consult-box h3{
    color:#fff;
    margin-top:0;
}

.consult-box p{
    color:rgba(255,255,255,.8);
}

.consult-btn-group .btn{
    width:100%;
    min-height: 44px;
    border-radius: var(--radius-sm);
    font-weight:600;
    margin-bottom:15px;
}

.consult-btn-group .btn-secondary{
    background:#ff5b17;
    border:none;
}

.consult-btn-group .btn-light{
    background:#fff;
    color:#071b67;
}

/*==============================
    RELATED SERVICES
==============================*/

.service-details .service{
    margin-top:40px;
}

.service-item{
    border-radius: var(--radius-lg);
    overflow:hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.service-item:hover{
    transform:translateY(-8px);
    box-shadow: var(--shadow-lg);
}

/*==============================
    MOBILE
==============================*/

@media(max-width:991px){

.service-sidebar{
    position:static;
    margin-top:40px;
}

.service-details h2{
    font-size:32px;
}

.service-details h3{
    font-size:24px;
}

.process-box{
    margin-bottom:20px;
}

.testimonial-box,
.service-sidebar-box,
.consult-box{
    padding: clamp(1.25rem, 1rem + 0.8vw, 1.75rem);
}

}

@media(max-width:576px){

.service-details{
    padding:60px 0;
}

.service-details h2{
    font-size:28px;
}

.service-details h3{
    font-size:22px;
}

}
/* our client page css */
/* cat */
.contact-cta{
    background:linear-gradient(135deg,#0b1f63,#163c8c);
    color:#fff;
    text-align:center;
    padding:70px 25px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.contact-cta h2{
    color:#fff;
    font-weight:700;
    margin-bottom: 0.85rem;
}

.contact-cta p{
    color:#f5f5f5;
    max-width:700px;
    margin:auto;
    margin-bottom:30px;
}
.contact-cta .btn-warning{
    background:#ff5b17;
    border:none;
    color:#fff;
    padding:14px 35px;
}

.contact-cta .btn-warning:hover{
    background:#fff;
    color:#081b67;
}

.contact-cta .btn-light{
    padding:14px 35px;
}

.contact-cta .cta-btns{
    display:flex;
    flex-wrap:wrap;
    gap:14px;
    justify-content:center;
}
#searchSociety{
    border:2px solid #081b67;
    border-left:none;
    padding:14px 18px;
    min-height: 44px;
}

#searchSociety:focus{
    box-shadow: var(--shadow-focus);
    border-color:#ff5b17;
}
/* cat end */
/* tabl */
.table-responsive{
    max-height:600px;
    overflow-y:auto;
}

.table thead th{
    position:sticky;
    top:0;
    background:#212529;   /* table-dark color */
    color:#fff;
    z-index:10;
}
/* table end */

/* our client page css end */
/* index top bar css */
.top-marquee{
    width:100%;
    background: #fdece2;
    overflow:hidden;
    white-space:nowrap;
    height:35px;
    line-height:40px;
}

.marquee-content{
    display:inline-block;
    color: var(--bs-dark);
    font-size: 15px;
    font-weight:bold;
    animation:marquee 15s linear infinite;
}

@keyframes marquee{
    0%{
        transform:translateX(100vw);
    }
    100%{
        transform:translateX(-100%);
    }
}
/* undex top bar css  end  */

/*** Typography & Spacing Normalization Start ***/
/*
   Unified vertical rhythm, alignment, and spacing system.
   All values derive from --space-* tokens for consistency.
*/

/* --- Consistent heading margins --- */
h1, .h1 { margin-bottom: 1.1rem; }
h2, .h2 { margin-bottom: 1rem; }
h3, .h3 { margin-bottom: 0.85rem; }
h4, .h4 { margin-bottom: 0.75rem; }
h5, .h5 { margin-bottom: 0.6rem; }
h6, .h6 { margin-bottom: 0.5rem; }

/* --- Consistent paragraph spacing --- */
p {
    margin-bottom: 1rem;
    line-height: 1.75;
    text-align: left;
}

p:last-child {
    margin-bottom: 0;
}

/* --- Section header intro (subtitle under h2) --- */
.text-secondary.fs-5,
p.text-uppercase.text-secondary {
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

/* --- Icon + text alignment utility --- */
.footer-item a,
.office-card p,
.service-menu li a,
.service-features li,
.topbar a,
.breadcrumb-item,
.breadcrumb-item a {
    display: flex;
    align-items: center;
}

/* Ensure icons beside text are vertically centered and evenly spaced */
.footer-item a i,
.office-card p i,
.topbar a i,
.breadcrumb-item i {
    flex-shrink: 0;
    line-height: 1;
}

/* --- Unified card internal spacing --- */
.feature .feature-item,
.process-box,
.office-card,
.service-sidebar-box,
.testimonial-box,
.consult-box,
.counter-box {
    display: flex;
    flex-direction: column;
}

/* Card headings consistent bottom margin */
.feature .feature-item h4,
.feature .feature-item .h4,
.process-box h4,
.office-card h4,
.service-sidebar-box h3,
.testimonial-box h5,
.consult-box h3,
.counter-box h2 {
    margin-bottom: 0.75rem;
}

/* Card paragraphs consistent spacing (alignment inherits from context) */
.feature .feature-item p,
.process-box p,
.office-card p,
.testimonial-text,
.consult-box p,
.counter-box p {
    line-height: 1.7;
}

/* Override: counter-box p stays centered */
.counter-box p {
    text-align: center;
}

/* --- Navbar vertical centering --- */
.navbar {
    display: flex;
    align-items: center;
}

.navbar .navbar-brand {
    display: inline-flex;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
}

.navbar .navbar-nav {
    align-items: center;
}

.navbar .navbar-nav .nav-item {
    position: relative;
    display: flex;
    align-items: center;
}

/* --- Footer vertical rhythm --- */
.footer .footer-item h4 {
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .footer-item a {
    padding: 0.35rem 0;
    gap: 10px;
    line-height: 1.6;
    text-align: left;
}

.footer .footer-item p {
    line-height: 1.7;
    margin-bottom: 0.75rem;
    text-align: left;
}

.footer .footer-btn {
    margin-top: 0.75rem;
    gap: 8px;
}

/* Copyright bar alignment */
.copyright {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.copyright .row {
    align-items: center;
    min-height: 44px;
}

/* --- Form alignment --- */
.form-floating {
    margin-bottom: 1rem;
}

.form-floating > label {
    display: flex;
    align-items: center;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.form-floating > .form-control,
.form-floating > textarea.form-control {
    padding-top: 1.625rem;
    padding-bottom: 0.625rem;
}

/* --- Table alignment --- */
.table th,
.table td {
    vertical-align: middle;
}

.table thead th {
    font-weight: 600;
    letter-spacing: 0.3px;
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
}

/* --- FAQ accordion alignment --- */
.accordion-button {
    display: flex;
    align-items: center;
    gap: 0;
}

.faq-number {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.accordion-body {
    padding: 1.25rem 1.5rem;
    line-height: 1.75;
}

.accordion-body p {
    margin-bottom: 0.75rem;
}

.accordion-body p:last-child {
    margin-bottom: 0;
}

/* --- Button text centering --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-align: center;
}

/* --- Topbar alignment --- */
.topbar .row {
    align-items: center;
}

.topbar a {
    display: inline-flex;
    align-items: center;
    gap: 0;
    white-space: nowrap;
}

/* --- Breadcrumb spacing --- */
.bg-breadcrumb .breadcrumb {
    margin-bottom: 0;
}

.bg-breadcrumb h1,
.bg-breadcrumb .display-4 {
    margin-bottom: 0.75rem;
}

/* --- Responsive spacing tightening --- */
@media (max-width: 991px) {
    h1, .h1 { margin-bottom: 0.9rem; }
    h2, .h2 { margin-bottom: 0.85rem; }
    h3, .h3 { margin-bottom: 0.75rem; }
}

@media (max-width: 576px) {
    h1, .h1 { margin-bottom: 0.75rem; }
    h2, .h2 { margin-bottom: 0.7rem; }
    h3, .h3 { margin-bottom: 0.65rem; }
    
    .footer .footer-item h4 {
        margin-bottom: 1rem;
    }
    
    .accordion-body {
        padding: 1rem 1.15rem;
    }
}

/* --- Section headings: consistent scale & spacing across all pages --- */
.service-details h2,
.contact-cta h2,
.cta-box h2,
.counter-box h2,
.office-card h4,
.service-sidebar-box h3,
.consult-box h3,
.testimonial-box h5 {
    line-height: 1.25;
}

/* Normalize the "section title" pattern used across pages:
   Bootstrap .text-center > p.text-uppercase + h1/h2 */
.container .text-center > p.text-uppercase,
.container-fluid .text-center > p.text-uppercase {
    margin-bottom: 0.4rem;
    font-size: clamp(0.85rem, 0.2vw + 0.82rem, 0.95rem);
    letter-spacing: 1px;
    line-height: 1.4;
}

.container .text-center > h1:first-of-type,
.container .text-center > h2:first-of-type,
.container-fluid .text-center > h1:first-of-type,
.container-fluid .text-center > h2:first-of-type {
    margin-bottom: 1.25rem;
}

/* Section intro paragraph (below heading, centered) */
.container .text-center > p:not(.text-uppercase):not(.mb-0),
.container-fluid .text-center > p:not(.text-uppercase):not(.mb-0) {
    max-width: 68ch;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* Keep explicitly centered text centered (overrides justify) */
.text-center p,
.text-center,
.bg-breadcrumb p,
.contact-cta p,
.cta-box p,
.counter-box p,
.carousel-caption p,
.office-card h4 {
    text-align: center;
}

/* Service features lists and accordion content stay left-aligned */
.service-features li,
.accordion-body p,
.footer-item p,
.service-menu li a,
.breadcrumb-item {
    text-align: left;
}

/* Service-details: consistent subheading rhythm */
.service-details h2 {
    font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem);
    margin-bottom: 1rem;
}

.service-details h3 {
    font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem);
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
}

.service-details p {
    line-height: 1.75;
    margin-bottom: 1rem;
}

/* Counter-box heading consistency */
.counter-box h2 {
    font-size: clamp(2rem, 1.6rem + 1.5vw, 2.625rem);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

/* Contact-CTA / CTA-box headings */
.contact-cta h2,
.cta-box h2 {
    font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.5rem);
    margin-bottom: 0.85rem;
}

/* Breadcrumb page title */
.bg-breadcrumb .display-4,
.bg-breadcrumb h1 {
    font-size: clamp(1.75rem, 1.4rem + 2vw, 3rem);
    margin-bottom: 0.6rem;
    line-height: 1.2;
}

/* --- Card internal spacing normalization --- */
.process-box,
.office-card,
.service-sidebar-box,
.testimonial-box,
.consult-box {
    padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem);
}

/* Feature card icon containers (consistent size/centering) */
.feature .feature-item .feature-img {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.feature .feature-item .feature-img i {
    font-size: 1.6rem;
}

/* Process-box icon number alignment */
.process-box h4 {
    font-size: clamp(1.05rem, 0.9rem + 0.5vw, 1.25rem);
    margin-bottom: 0.85rem;
}

/* Office-card icon centering */
.office-icon {
    margin-bottom: 1.25rem;
}

/* Service-item title bar alignment */
.service .service-item .service-title {
    display: flex;
    align-items: center;
    padding: 0 1.25rem;
}

.service .service-item .service-title h4 {
    margin: 0;
    line-height: 1.35;
    font-size: clamp(0.95rem, 0.85rem + 0.4vw, 1.15rem);
}

/* --- About page alignment --- */
.counter-section .row {
    --bs-gutter-y: 1.5rem;
}

.counter-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem) clamp(1rem, 0.8rem + 0.8vw, 1.5rem);
}

.counter-box i {
    margin-bottom: 1rem;
}

.counter-box p {
    margin: 0;
}

/* --- Service-details sidebar & process grid alignment --- */
.service-details .row.g-4 {
    --bs-gutter-y: 1.5rem;
}

.service-sidebar-box h3 {
    font-size: clamp(1.15rem, 1rem + 0.5vw, 1.4rem);
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-soft);
}

.service-menu li {
    margin-bottom: 0.9rem;
}

.service-menu li a {
    gap: 10px;
    min-height: 36px;
}

.service-menu li a i {
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

/* Testimonial layout alignment */
.testimonial-box {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.testimonial-box .d-flex {
    align-items: center;
    gap: 1rem;
}

.testimonial-box img {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
}

.testimonial-rating {
    margin-top: 0.5rem;
}

/* Consult box vertical spacing */
.consult-box p {
    margin-bottom: 1.25rem;
}

.consult-btn-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.consult-btn-group .btn {
    margin-bottom: 0;
}

/*** Typography & Spacing Normalization End ***/

/*** Premium Enhancement Layer Start ***/
:root {
    --text-strong: #0f1f4a;
    --text-muted: #5a6478;
    --surface: #ffffff;
    --surface-soft: #f7f9fc;
    --border-soft: #e6eaf1;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Roboto", sans-serif;
    font-size: clamp(0.95rem, 0.3vw + 0.88rem, 1.05rem);
    line-height: 1.75;
    color: var(--text-muted);
    background: radial-gradient(circle at top right, rgba(255, 94, 21, 0.05), transparent 38%), #fff;
}

h1,
h2,
h3,
h4,
h5,
h6,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
    font-family: "Playfair Display", serif;
    color: var(--text-strong);
    line-height: 1.25;
}

p,
li,
label,
input,
textarea,
select,
button,
.btn {
    font-family: "Roboto", sans-serif;
}

.display-4 {
    font-size: clamp(1.9rem, 3.4vw + 0.8rem, 3.25rem);
}

.display-5 {
    font-size: clamp(1.7rem, 2.5vw + 0.8rem, 2.65rem);
}

.top-marquee {
    height: 36px;
    line-height: 36px;
    border-bottom: 1px solid rgba(11, 31, 99, 0.08);
}

.marquee-content {
    font-size: clamp(0.82rem, 0.22vw + 0.78rem, 0.95rem);
    letter-spacing: 0.4px;
}

.topbar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* Registered-office link: orange label + pin, matching the reference styling. */
.topbar .topbar-location {
    display: inline-flex;
    align-items: center;
    color: var(--bs-secondary) !important;
    font-weight: 600;
    white-space: nowrap;
}

.topbar .topbar-location i {
    color: var(--bs-secondary) !important;
    line-height: 1;
    flex-shrink: 0;
}

.topbar .topbar-location:hover,
.topbar .topbar-location:hover i {
    color: #ffc107 !important;
}

/* Office hours: keep the clock glyph optically centred against the label
   instead of riding above the text baseline. */
.topbar .topbar-hours {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    white-space: nowrap;
}

.topbar .topbar-hours i {
    line-height: 1;
    flex-shrink: 0;
    position: relative;
    top: -1px;
}

/* Two phone numbers share a single icon so the strip keeps three evenly spaced
   items on one line instead of wrapping. */
.topbar .topbar-phones {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.topbar .topbar-phones a {
    color: #ffffff !important;
    font-weight: 500;
}

.topbar .topbar-phones a:hover {
    color: #ffc107 !important;
}

.topbar .topbar-sep {
    margin: 0 0.35rem;
    color: rgba(255, 255, 255, 0.55);
}

/* Keep the strip to a single 45px row on desktop. Without this the email drops
   to a second line once the address + both numbers are on the same side. */
@media (min-width: 992px) {
    .topbar {
        font-size: 0.9rem;
    }

    .topbar .row > div > .d-flex {
        flex-wrap: nowrap !important;
    }

    .topbar a,
    .topbar span {
        white-space: nowrap;
    }
}

.topbar .btn-square {
    width: 40px;
    height: 40px;
    border-radius: 999px;
}

.navbar {
    border-bottom: 1px solid rgba(0, 18, 72, 0.06);
}

.navbar-brand img {
    height: clamp(48px, 2.8vw, 58px);
    width: auto;
}

.navbar .navbar-nav .nav-link,
.navbar .navbar-nav .nav-item.nav-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.bg-breadcrumb {
    padding: clamp(52px, 8vw, 86px) 0;
}

.bg-breadcrumb::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(0, 18, 72, 0.48), rgba(0, 18, 72, 0.2));
    pointer-events: none;
}

.bg-breadcrumb > .container {
    position: relative;
    z-index: 2;
}

.breadcrumb {
    gap: 0.2rem;
}

.breadcrumb .breadcrumb-item,
.breadcrumb .breadcrumb-item a {
    font-size: clamp(0.88rem, 0.25vw + 0.82rem, 1rem);
}

.container,
.container-fluid {
    --bs-gutter-x: 1.5rem;
}

.feature .feature-item,
.service .service-item,
.blog .blog-item .blog-content,
.office-card,
.counter-box,
.process-box,
.service-sidebar-box,
.testimonial-box,
.card,
.accordion-item,
.table-responsive,
.cta-box,
.contact-cta,
.consult-box {
    border: 1px solid var(--border-soft);
}

.feature .feature-item a.h4,
.service .service-title h4,
.blog .blog-item .blog-content a,
.service-details h2,
.service-details h3,
.office-card h4,
.counter-box h2,
.contact-cta h2,
.cta-box h2 {
    color: var(--text-strong);
}

.feature .feature-item p,
.service-details p,
.office-card p,
.counter-box p,
.testimonial-text,
.contact-cta p,
.cta-box p,
.table,
.accordion-body {
    color: var(--text-muted);
}

.about .about-item-content p.fs-5,
.service .text-center > p,
.feature .text-center > p {
    max-width: 70ch;
}

.about .about-item-image,
.service-main-img,
.mobile-video-frame {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.about .about-item-image .img-1,
.about .about-item-image .img-2,
.service-main-img img {
    border-radius: var(--radius-md);
}

.service .service-item .service-title {
    border-top: 1px solid rgba(0, 18, 72, 0.05);
}

.service .service-item .service-content .btn,
.service-details .consult-btn,
.consult-btn-group .btn,
.cta-box .btn,
.contact-cta .btn {
    min-height: 46px;
    border-radius: var(--radius-pill);
}

.service-details .service-features li,
.video-features li {
    word-break: break-word;
}

.service-sidebar .service-menu li a {
    padding: 4px 0;
}

.contact .form-floating.border {
    border: 1px solid #d7ddea !important;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #fff;
}

.contact .form-floating > .form-control,
.contact .form-floating > textarea.form-control {
    border: 0;
}

.contact .form-floating > .form-control:focus,
.contact .form-floating > textarea.form-control:focus {
    box-shadow: none;
}

.contact .form-floating:focus-within {
    border-color: var(--bs-secondary) !important;
    box-shadow: var(--shadow-focus);
}

.accordion-button {
    transition: background-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
}

.accordion-button:focus {
    box-shadow: var(--shadow-focus);
}

.table-responsive {
    background: #fff;
    border-radius: var(--radius-lg);
}

.table {
    margin-bottom: 0;
}

.table > :not(caption) > * > * {
    padding: 0.88rem 0.9rem;
}

.table tbody tr {
    transition: background-color var(--transition-fast);
}

.table-hover > tbody > tr:hover {
    --bs-table-accent-bg: rgba(255, 94, 21, 0.08);
}

#searchSociety {
    border-radius: 999px;
}

.footer {
    position: relative;
}

.footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 27, 103, 0.88), rgba(4, 18, 74, 0.94));
    pointer-events: none;
}

.footer > .container {
    position: relative;
    z-index: 2;
}

.footer .footer-item a {
    min-height: 34px;
}

.footer .footer-item a:hover {
    transform: translateX(2px);
}

.copyright {
    background: #071538;
}

.copyright .text-body,
.copyright .text-body a {
    color: rgba(255, 255, 255, 0.88) !important;
}

.copyright .text-body a:hover {
    color: #ff9b62 !important;
}

/* Refined spacing rhythm for section wrappers */
.about,
.feature,
.service,
.contact,
.office-section,
.faq-section,
.counter-section,
.company-video-section,
.cta-section,
.service-details {
    position: relative;
}

/* Strong visual focus for keyboard users */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.btn:focus-visible,
.nav-link:focus-visible,
.accordion-button:focus-visible {
    box-shadow: var(--shadow-focus) !important;
}

/* Better readability on narrow screens */
@media (max-width: 1024px) {
    body {
        padding-top: 82px;
    }

    .service .service-item .service-title h4,
    .service .service-item .service-content a.fs-4 {
        font-size: 1.08rem;
    }
}

@media (max-width: 820px) {
    .container,
    .container-fluid {
        --bs-gutter-x: 1.1rem;
    }

    .contact-cta,
    .cta-box,
    .consult-box,
    .service-sidebar-box,
    .testimonial-box {
        padding: 28px 22px;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 78px;
        scroll-padding-top: 90px;
    }

    .navbar {
        padding-left: 0.9rem !important;
        padding-right: 0.9rem !important;
    }

    .bg-breadcrumb {
        padding: 54px 0;
    }

    .bg-breadcrumb .display-4 {
        font-size: clamp(1.55rem, 5.2vw, 2.25rem);
    }

    .counter-box,
    .office-card {
        padding: 22px;
    }

    .table > :not(caption) > * > * {
        padding: 0.72rem 0.62rem;
        font-size: 0.92rem;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 0.95rem;
    }

    .container,
    .container-fluid {
        --bs-gutter-x: 0.88rem;
    }

    .btn,
    .form-control,
    .form-select,
    .accordion-button,
    .nav-link {
        min-height: 44px;
    }

    .counter-box h2,
    .contact-cta h2,
    .cta-box h2,
    .service-details h2 {
        font-size: clamp(1.38rem, 6.2vw, 1.85rem);
    }

    .office-card p,
    .contact-cta p,
    .cta-box p,
    .service-details p,
    .accordion-body {
        font-size: 0.94rem;
    }

    .mobile-video-frame {
        padding: 8px;
    }
}

@media (max-width: 414px) {
    .navbar-brand img {
        height: 48px;
    }

    .service .service-item .service-title {
        height: 72px;
    }

    .service .service-item .service-title h4 {
        font-size: 1rem;
    }
}

@media (max-width: 390px) {
    .breadcrumb {
        flex-wrap: wrap;
    }

    .breadcrumb .breadcrumb-item {
        line-height: 1.45;
    }

    .faq-number {
        width: 34px;
        height: 34px;
        margin-right: 10px;
        font-size: 0.82rem;
    }
}

@media (max-width: 375px) {
    .top-marquee {
        height: 32px;
        line-height: 32px;
    }

    .navbar .navbar-nav .nav-link,
    .navbar .navbar-nav .nav-item.nav-link {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (max-width: 360px) {
    .contact-cta,
    .cta-box,
    .consult-box,
    .service-sidebar-box,
    .testimonial-box,
    .office-card,
    .counter-box {
        padding: 18px;
    }
}

@media (max-width: 320px) {
    .container,
    .container-fluid {
        --bs-gutter-x: 0.74rem;
    }

    .navbar-brand img {
        height: 44px;
    }

    .btn-xl-square,
    .btn-lg-square,
    .btn-md-square,
    .btn-sm-square,
    .btn-square {
        transform: scale(0.94);
        transform-origin: center;
    }

    .service .service-item .service-title h4 {
        font-size: 0.95rem;
    }
}
/*** Premium Enhancement Layer End ***/

/*** Consolidated Page Inline Styles Start ***/
/* Contact + FAQ shared cards */
.office-card {
    background: #fff;
    padding: 35px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    height: 100%;
}

.office-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.office-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: #071b67;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    color: #fff;
}

.office-card h4 {
    text-align: center;
    margin-bottom: 20px;
    color: #071b67;
}

.office-card p {
    margin-bottom: 15px;
}

.office-card i {
    color: #ff5b17;
    margin-right: 10px;
}

.faq-section {
    background: #f8f9fa;
}

.accordion-item {
    border: none;
    border-radius: var(--radius-md) !important;
    overflow: hidden;
    margin-bottom: 18px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.accordion-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.accordion-button {
    padding: 20px;
    font-size: 17px;
    font-weight: 600;
    min-height: 44px;
}

.accordion-button:not(.collapsed) {
    background: #071b67;
    color: #fff;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-body {
    padding: 1.25rem 1.5rem;
    line-height: 1.75;
}

.faq-number {
    width: 40px;
    height: 40px;
    background: #ff5b17;
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    margin-right: 15px;
    flex-shrink: 0;
}

/* About page founder + counters */
.counter-section {
    background: #ff173e05;
}

.counter-box {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem) clamp(1rem, 0.8rem + 0.8vw, 1.5rem);
    text-align: center;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.counter-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.counter-box i {
    font-size: 50px;
    color: #ff5b17;
    margin-bottom: 20px;
}

.counter-box h2 {
    font-size: 42px;
    font-weight: 700;
    color: #0b1f63;
}

.counter-box p {
    margin: 0;
    font-size: 17px;
    color: #666;
    font-weight: 500;
}

#founder {
    padding: 50px 0;
    background: linear-gradient(135deg, #fff8f3, #ffffff);
}

/* Home page course/video/cta */
.company-video-section {
    background: linear-gradient(135deg, #0b1f63 0%, #071b67 100%);
    position: relative;
    overflow: hidden;
}

.video-content h2 {
    color: #fff;
    font-size: clamp(1.75rem, 1.2rem + 2.5vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin: 15px 0 25px;
}

.video-content p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 18px;
    margin-bottom: 25px;
}

.section-tag {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-pill);
    color: #ff8c4b;
    font-weight: 600;
    letter-spacing: 1px;
}

.video-features {
    list-style: none;
    padding: 0;
    margin: 0 0 35px;
}

.video-features li {
    color: #fff;
    margin-bottom: 12px;
    position: relative;
    padding-left: 30px;
    font-size: 20px;
}

.video-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #ff8c4b;
    font-weight: bold;
}

.mobile-video-frame {
    width: 320px;
    max-width: 100%;
    margin: auto;
    padding: 10px;
    background: #fff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.mobile-video-frame video {
    width: 100%;
    aspect-ratio: 9/16;
    object-fit: cover;
    border-radius: 25px;
    display: block;
}

.cta-section {
    background: #f8f9fa;
}

.cta-box {
    background: linear-gradient(135deg, #0b1f63 0%, #163c8c 100%);
    border-radius: var(--radius-xl);
    padding: 70px 30px;
    color: #fff;
    box-shadow: var(--shadow-lg);
}

.cta-box h2 {
    font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.625rem);
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-box p {
    font-size: 18px;
    color: rgba(255, 255, 255, .9);
    margin-bottom: 30px;
}

.contact-cta h2,
.cta-box h2 {
    color: #ffffff;
}

.contact-cta p,
.cta-box p {
    color: rgba(255, 255, 255, 0.92);
}

.cta-box .btn {
    font-weight: 600;
    border-radius: var(--radius-pill);
    min-height: 44px;
}

@media (max-width: 768px) {
    .cta-box {
        padding: 45px 20px;
    }

    .cta-box p {
        font-size: 16px;
    }

    .sticky-top .navbar .navbar-collapse {
        right: 0.9rem;
        width: min(320px, calc(100% - 1.8rem));
    }
}

@media (max-width: 390px) {
    .sticky-top .navbar .navbar-collapse {
        width: calc(100% - 1.2rem);
        right: 0.6rem;
    }
}
/*** Consolidated Page Inline Styles End ***/

/*** Implementation Refinement Layer Start ***/
/*
   Final consolidation pass (audit implementation phase).
   Fixes: service-card touch/keyboard access, equal card heights,
   icon/title normalization, hero caption + overlay, accordion focus,
   and residual radius/typography consistency. Appended last so it wins the cascade.
*/

/* --- Service cards: consistent icon boxes + non-clipping title bar + equal heights --- */
.service .service-item .service-content .btn-xl-square {
    width: 96px !important;
    height: 96px !important;
}

.service .service-item .service-title .btn-xl-square {
    width: 84px !important;
    height: 84px !important;
}

.service .service-item .service-title {
    height: auto;
    min-height: 84px;
}

.service .service-item .service-img img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

/* --- Service cards: reveal on keyboard focus (hover devices) --- */
@media (hover: hover) {
    .service .service-item:focus-within::after {
        height: 100%;
        background: rgba(0, 0, 0, 0.45);
    }

    .service .service-item:focus-within .service-content {
        opacity: 1;
    }

    .service .service-item:focus-within .service-title {
        margin-right: -100%;
    }
}

/* --- Service cards: fully accessible static layout on touch / no-hover devices --- */
@media (hover: none), (pointer: coarse) {
    .service .service-item {
        display: flex;
        flex-direction: column;
    }

    .service .service-item .service-content {
        position: static;
        transform: none;
        opacity: 1;
        background: var(--bs-primary);
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    }

    .service .service-item .service-content a.fs-4 {
        color: #fff;
    }

    .service .service-item .service-title {
        display: none;
    }

    .service .service-item::after {
        content: none;
    }
}

/* --- Hero: legibility overlay, height cap, and left-aligned caption --- */
.carousel .carousel-inner .carousel-item::after {
    background: linear-gradient(90deg, rgba(4, 18, 74, 0.80) 0%, rgba(4, 18, 74, 0.48) 46%, rgba(4, 18, 74, 0.08) 100%);
}

@media (min-width: 992px) {
    .carousel .carousel-inner .carousel-item {
        height: min(86vh, 760px);
    }
}

.carousel .carousel-inner .carousel-item .carousel-caption {
    text-align: left;
    align-items: flex-start;
    left: 7%;
    right: 7%;
}

.hero-inner {
    max-width: 640px;
}

.hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    color: #ffd8c2;
    margin-bottom: 0.75rem;
    font-size: clamp(0.8rem, 0.4vw + 0.75rem, 0.95rem);
}

.carousel-caption .hero-title {
    color: #fff;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1rem;
    font-size: clamp(1.9rem, 4vw + 0.5rem, 3.4rem);
}

.hero-sub {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1rem, 0.6vw + 0.9rem, 1.2rem);
    margin-bottom: 1.75rem;
    max-width: 34rem;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

@media (max-width: 575.98px) {
    .carousel .carousel-inner .carousel-item .carousel-caption {
        left: 5%;
        right: 5%;
    }

    .hero-cta .btn {
        flex: 1 1 auto;
    }
}

/* --- Accordion: restore a visible keyboard focus ring --- */
.accordion-button:focus-visible {
    box-shadow: var(--shadow-focus) !important;
    outline: none;
}

/* --- Section headings on plain-<h2> sections match the display scale --- */
.office-section .text-center h2,
.faq-section .text-center h2 {
    font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem);
    font-weight: 700;
}

/* --- Residual radius consistency (map stray values onto the token scale) --- */
.mobile-video-frame video {
    border-radius: calc(var(--radius-lg) - 2px);
}

/* --- Keep long-form / list content left-aligned for readability --- */
.service-details p,
.testimonial-text,
.office-card p,
.process-box p,
.video-content p,
.accordion-body,
.accordion-body p {
    text-align: left;
}
/*** Implementation Refinement Layer End ***/

/*** Hero Caption Responsive Fix Start ***/
/* On tablet/mobile the hero becomes content-driven so the caption
   (eyebrow + H1 + copy + CTAs) is never clipped by a fixed image height. */
@media (max-width: 991.98px) {
    .carousel .carousel-inner .carousel-item {
        height: auto;
        min-height: 440px;
    }

    .carousel .carousel-inner .carousel-item img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .carousel .carousel-inner .carousel-item .carousel-caption {
        position: relative;
        left: auto;
        right: auto;
        padding: 2.75rem 6%;
    }

    .hero-cta .btn {
        flex: 0 1 auto;
    }
}

@media (max-width: 575.98px) {
    .carousel .carousel-inner .carousel-item {
        min-height: 420px;
    }

    .carousel .carousel-inner .carousel-item .carousel-caption {
        padding: 2.25rem 5%;
    }
}
/*** Hero Caption Responsive Fix End ***/

/*** Browser-QA Fixes (contrast & polish) Start ***/
/* Sidebar CTA on service-detail pages sits on a navy background, but the
   premium layer's `.service-details h3/p` colour rules were overriding the
   intended white text, leaving the heading nearly invisible. Restore contrast
   with a higher-specificity rule. */
.service-details .consult-box h3 {
    color: #ffffff;
}

.service-details .consult-box p {
    color: rgba(255, 255, 255, 0.88);
}
/*** Browser-QA Fixes (contrast & polish) End ***/

/*** Unified Section Spacing System Start ***/
/*
   One consistent vertical rhythm for every page section.
   Measured baseline had mixed interior padding: sections nesting
   `.container-fluid.py-5 > .container.py-5` rendered 96px top/bottom, while
   single-`py-5` sections rendered 48px. This normalizes ALL top-level sections
   to a single responsive value and removes the doubled inner-container padding
   so Home, About, Services, Contact, FAQ, Our Clients and the detail pages
   share the same spacing scale.
*/
:root {
    --section-y: clamp(3rem, 5vw, 5rem); /* 48px (mobile/tablet) -> ~72px (desktop) -> 80px (wide) */
}

/* Uniform top/bottom padding on every top-level section wrapper */
main > .container-fluid.about,
main > .container-fluid.feature,
main > .container-fluid.service,
main > .container-fluid.contact,
main > .container-fluid.blog,
main > .container-fluid.bg-light,
main > .company-video-section,
main > .cta-section,
main > .counter-section,
main > .office-section,
main > .faq-section,
main > .service-details,
main > #founder {
    padding-top: var(--section-y) !important;
    padding-bottom: var(--section-y) !important;
}

/* Remove the doubled interior padding from the inner .container of nested sections */
main > .container-fluid.about > .container,
main > .container-fluid.feature > .container,
main > .container-fluid.service > .container,
main > .container-fluid.contact > .container,
main > .container-fluid.blog > .container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Consistent section-header rhythm (eyebrow -> heading -> intro) across pages.
   Baseline varied: eyebrow margin 0/8/10px, heading margin 16/20px. */
.container .text-center > p.text-uppercase,
.container-fluid .text-center > p.text-uppercase,
.text-center > h5.text-secondary {
    margin-bottom: 0.5rem !important;
}

.container .text-center > h1:first-of-type,
.container .text-center > h2:first-of-type,
.container-fluid .text-center > h1:first-of-type,
.container-fluid .text-center > h2:first-of-type,
.office-section .text-center h2,
.faq-section .text-center h2 {
    margin-bottom: 1rem !important;
}

/* Consistent gap between a centered section-header block and its content.
   (Some used .pb-5, others .mb-5; normalize the rendered value.) */
.text-center.pb-5,
.container .text-center.mb-5,
.container-fluid .text-center.mb-5 {
    padding-bottom: 0 !important;
    margin-bottom: clamp(2.25rem, 3vw, 3rem) !important;
}
/*** Unified Section Spacing System End ***/

/*** Service Card Hover-Overlay Fit Start ***/
/*
   Measured issue: the hover overlay (.service-content: icon + title + copy +
   Read More) rendered ~420px tall inside a ~233px card (3:2 image), so with
   the card's overflow:hidden the icon was clipped at the top and the Read More
   button was clipped off the bottom. Fix: give cards a consistent, slightly
   taller height and compact the overlay so all of it fits and stays centered.
*/
/* The service banners are portrait posters (~1145x1374, ratio 0.83) with the
   service name at the top and supporting detail down the artwork. Forcing them
   into a short fixed-height box cropped out most of the poster, so the card now
   follows the artwork's own aspect ratio and grows with the column width. */
.service .service-item .service-img img {
    aspect-ratio: 5 / 6;
    height: auto;
    width: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* Compact, self-contained hover overlay */
.service .service-item .service-content.p-4 {
    padding: 1.25rem !important;
}

.service .service-item .service-content .btn-xl-square {
    width: 58px !important;
    height: 58px !important;
    margin-bottom: 0.85rem;
}

.service .service-item .service-content .btn-xl-square i {
    font-size: 1.5rem !important;
}

.service .service-item .service-content a.fs-4 {
    margin-top: 0 !important;
    margin-bottom: 0.5rem !important;
    font-size: 1.15rem !important;
    line-height: 1.3;
}

.service .service-item .service-content p {
    margin-bottom: 1rem !important;
    font-size: 0.9rem;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Balance the title-bar horizontal insets (heading left inset now matches the
   icon's right inset instead of the extra ps-4 doubling it) */
.service .service-item .service-title .ps-4 {
    padding-left: 0 !important;
}

/* On touch / no-hover devices the overlay is shown statically; let the card
   grow to its content instead of forcing the fixed image height there. */
@media (hover: none), (pointer: coarse) {
    .service .service-item .service-content p {
        -webkit-line-clamp: initial;
        display: block;
        overflow: visible;
    }
}
/*** Service Card Hover-Overlay Fit End ***/
/*** Homepage Tablet Layout Bridge Start ***/
/*
   Bootstrap's lg-only homepage columns jumped directly from the desktop grid
   to a single column below 992px. Keep tablets compact without changing the
   established desktop or phone layouts.
*/
@media (min-width: 768px) and (max-width: 991.98px) {
    main > .container-fluid.service .row.g-4 > .col-lg-4 {
        flex: 0 0 auto;
        width: 50%;
    }

    main > .container-fluid.service .service-img img {
        height: auto;
    }

    .company-video-section .row {
        --bs-gutter-x: 2rem;
    }

    .company-video-section .col-lg-7 {
        flex: 0 0 auto;
        width: 58.33333333%;
    }

    .company-video-section .col-lg-5 {
        flex: 0 0 auto;
        width: 41.66666667%;
    }

    .company-video-section .video-content h2 {
        font-size: clamp(2rem, 4.8vw, 2.5rem);
        margin-bottom: 1rem;
    }

    .company-video-section .video-content p {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }

    .company-video-section .video-features {
        margin-bottom: 1.5rem;
    }

    .company-video-section .video-features li {
        margin-bottom: 0.65rem;
        font-size: 1rem;
    }

    .company-video-section .mobile-video-frame {
        width: min(100%, 280px);
    }
}
/*** Homepage Tablet Layout Bridge End ***/
/*** Responsive Alignment Balance Start ***/
/* The feature cards are flex columns; restore the centering intended by their
   text-center markup instead of leaving the fixed-width icon at flex-start. */
.feature .feature-item .feature-img {
    align-self: center;
    margin-left: auto;
    margin-right: auto;
}

/* Center presentation content after the homepage columns stack. Lists remain
   internally left-aligned so their checks and labels stay easy to scan. */
@media (max-width: 767.98px) {
    .carousel .carousel-inner .carousel-item .carousel-caption {
        align-items: center;
        text-align: center;
    }

    .hero-inner {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-eyebrow,
    .carousel-caption .hero-title,
    .hero-sub {
        text-align: center;
    }

    .hero-sub {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
    }

    .company-video-section .video-content {
        text-align: center;
    }

    .company-video-section .video-content h2,
    .company-video-section .video-content p {
        text-align: center;
    }

    .company-video-section .video-content p {
        max-width: 36rem;
        margin-left: auto;
        margin-right: auto;
    }

    .company-video-section .video-features {
        width: fit-content;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        text-align: left;
    }

    .company-video-section .video-features li {
        text-align: left;
    }
}

/* Full-width stacked footer columns read as individual centered groups. Keep
   icon/text pairs together rather than centering every word independently. */
@media (max-width: 767.98px) {
    .footer .footer-item {
        align-items: center;
        text-align: center;
    }

    .footer .footer-item h4 {
        width: 100%;
        text-align: center;
    }

    .footer .footer-item p {
        max-width: 32rem;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .footer .footer-item a {
        width: fit-content;
        max-width: 100%;
        justify-content: center;
        text-align: left;
    }

    .footer .footer-btn {
        width: 100%;
        justify-content: center;
    }
}
/*** Responsive Alignment Balance End ***/

/*** Team Profiles Section Start ***/
/*
   About page: three profile cards (Founder, Operations Head, Legal Advisor)
   in one equal-height row. Replaces the earlier single founder panel.
*/
.team-section {
    background: linear-gradient(135deg, #fff8f3, #ffffff);
}

.team-header {
    max-width: 720px;
    margin-bottom: clamp(2rem, 3vw, 3rem);
}

.team-eyebrow {
    color: var(--bs-secondary);
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.team-heading {
    font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem);
    font-weight: 700;
    color: #222;
    margin-bottom: 0;
}

.team-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #fff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.team-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #f2f3f5;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform .5s var(--ease);
}

/* Background-removed cut-out portrait sits on a soft studio backdrop */
.team-photo--cutout {
    background: linear-gradient(180deg, #ffffff 0%, #eef1f5 100%);
}

.team-card:hover .team-photo img {
    transform: scale(1.06);
}

.team-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
}

.team-name {
    font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
    font-weight: 700;
    color: #222;
    margin-bottom: 0;
}

.team-name::after {
    content: "";
    display: block;
    width: 64px;
    height: 4px;
    background: var(--bs-secondary);
    margin-top: 10px;
    border-radius: 50px;
}

.team-role {
    color: var(--bs-secondary);
    font-weight: 600;
    font-size: 0.98rem;
    line-height: 1.45;
    margin: 14px 0;
}

.team-quals {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.team-quals span {
    background: #fff3ef;
    color: #d63d00;
    border: 1px solid #ffd4c5;
    padding: 6px 14px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.82rem;
}

.team-bio {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.75;
    text-align: left;
    margin-bottom: 0;
}
/*** Team Profiles Section End ***/

/*** Font Consistency & Text Justify Fix Start ***/
/*
   1. Enforce Roboto on ALL body/paragraph text globally.
   2. Enforce Playfair Display on ALL headings globally.
   3. Justify paragraph text in cards and content areas for clean alignment.
   4. Aggressively reduce feature card whitespace.
*/

/* Global font enforcement */
body,
p,
li,
span,
a,
label,
input,
textarea,
select,
button,
.btn,
td,
th,
.nav-link,
.breadcrumb-item,
.accordion-body,
.team-bio,
.team-role,
.team-quals span,
.office-card p,
.counter-box p,
.testimonial-text,
.video-content p,
.video-features li,
.service-features li,
.process-box p,
.marquee-content,
.section-tag,
.hero-sub,
.hero-eyebrow {
    font-family: "Roboto", sans-serif !important;
}

/* Restore icon fonts. The blanket Roboto rule above (needed for text
   consistency) was overriding Font Awesome / Bootstrap Icons on any <i> or
   <span> used as an icon (e.g. the navbar hamburger <span class="fa fa-bars">),
   which made icons render as invisible/blank boxes. Re-apply the correct
   icon font with higher priority so icons always display. */
.fa,
.fas,
.far,
.fal,
.fad,
[class^="fa-"],
[class*=" fa-"] {
    font-family: "Font Awesome 5 Free" !important;
}

.fab {
    font-family: "Font Awesome 5 Brands" !important;
}

[class^="bi-"],
[class*=" bi-"] {
    font-family: "bootstrap-icons" !important;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.display-1, .display-2, .display-3,
.display-4, .display-5, .display-6,
.team-name,
.team-heading,
.carousel-caption .hero-title,
.cta-box h2,
.contact-cta h2,
.counter-box h2,
.office-card h4,
.service-details h2,
.service-details h3 {
    font-family: "Playfair Display", serif !important;
}

/* Justify text in content areas for clean edges */
.feature .feature-item p,
.about-item-content p,
.service-details p,
.team-bio,
.process-box p,
.office-card p,
.testimonial-text,
.video-content p,
.accordion-body p,
.service .service-content p {
    text-align: justify !important;
}

/* Keep explicitly centered text centered (section intros, CTAs) */
.text-center p,
.cta-box p,
.contact-cta p,
.counter-box p,
.carousel-caption p,
.bg-breadcrumb p {
    text-align: center !important;
}

/* ===== FEATURE CARDS: AGGRESSIVE COMPACT ===== */
/* Override ALL padding on feature cards regardless of class */
.feature .feature-item {
    padding: 1.25rem 1.25rem !important;
}

/* Smaller icon container */
.feature .feature-item .feature-img {
    width: 60px !important;
    height: 60px !important;
    margin-bottom: 0.75rem !important;
    padding: 0.6rem !important;
}

.feature .feature-item .feature-img i {
    font-size: 1.6rem !important;
}

/* Tighter heading */
.feature .feature-item h3,
.feature .feature-item .h4,
.feature .feature-item h3.h4 {
    margin-top: 0.5rem !important;
    margin-bottom: 0.4rem !important;
    font-size: 1.1rem !important;
    line-height: 1.3;
}

/* Compact paragraph */
.feature .feature-item p {
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
    margin-bottom: 0 !important;
}

/* On mobile, use left-align instead of justify to avoid ugly word-spacing */
@media (max-width: 575.98px) {
    .feature .feature-item p,
    .about-item-content p,
    .service-details p,
    .team-bio,
    .process-box p,
    .office-card p,
    .testimonial-text,
    .accordion-body p {
        text-align: left !important;
    }

    .feature .feature-item {
        padding: 1rem 1rem !important;
    }

    .feature .feature-item .feature-img {
        width: 52px !important;
        height: 52px !important;
        margin-bottom: 0.5rem !important;
    }

    .feature .feature-item .feature-img i {
        font-size: 1.4rem !important;
    }

    .feature .feature-item h3,
    .feature .feature-item .h4,
    .feature .feature-item h3.h4 {
        font-size: 1rem !important;
        margin-top: 0.4rem !important;
        margin-bottom: 0.3rem !important;
    }

    .feature .feature-item p {
        font-size: 0.85rem !important;
        line-height: 1.55 !important;
    }
}

/* About section checklist.
   The list must read as a single centered block whose check icons form one
   straight vertical line. Centering each row individually staggers the icons
   (because the labels differ in length), so instead each column becomes a grid
   whose single track is sized to the longest label and centered as a whole.
   Rows then start flush-left inside that track = centered block, straight icons. */
.about-item-content .row.gy-3 {
    --bs-gutter-y: 0.65rem !important;
    justify-content: center;
}

.about-item-content .row.gy-3 > div {
    display: grid;
    justify-content: center;
    align-content: start;
    row-gap: 0.5rem;
}

.about-item-content .row.gy-3 p {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    margin: 0 !important;
    font-size: 0.92rem;
    line-height: 1.3;
    text-align: left !important;
}

.about-item-content .row.gy-3 p i {
    line-height: 1;
    flex-shrink: 0;
    width: 1rem;
    text-align: center;
    margin: 0 !important;
}

.about-item-content > a.btn {
    display: block;
    width: fit-content;
    margin: 0 auto;
}

/* About section - reduce overall padding on mobile */
@media (max-width: 767.98px) {
    .about-item-content .pb-4 {
        padding-bottom: 0.75rem !important;
    }
    
    .about-item-content .mb-4 {
        margin-bottom: 0.75rem !important;
    }

    .about-item-content h2 {
        font-size: 1.5rem !important;
        margin-bottom: 0.5rem !important;
    }

    .about-item-content p.fs-5 {
        font-size: 0.92rem !important;
        margin-bottom: 0.75rem !important;
    }

    .about-item-content .border-bottom {
        padding-bottom: 0.75rem !important;
        margin-bottom: 0.75rem !important;
    }
}
/*** Font Consistency & Text Justify Fix End ***/

/*** Service Card Height & Alignment Start ***/
/*
   Cards now size to the portrait banner artwork instead of cropping it.
   These rules keep every card in a row the same height, keep the artwork
   top-anchored so the service name is never clipped, and keep the hover
   overlay comfortably inside the taller card.
*/

/* Equal-height cards across each row. Scoped to the card columns only so the
   full-width "View All Services" button column keeps its centred text. */
.service .row > [class*="col-lg-4"],
.service .row > [class*="col-md-6"] {
    display: flex;
}

.service .row > .col-12 {
    display: block;
}

.service .service-item {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.service .service-item .service-img {
    flex: 1 1 auto;
    overflow: hidden;
}

/* Title bar sits over the base of the artwork and slides away on hover.
   Give it a solid backing so the poster's own footer text never shows
   through behind the heading. */
.service .service-item .service-title {
    background: var(--bs-light);
    box-shadow: 0 -6px 18px rgba(0, 18, 72, 0.10);
}

/* The overlay is absolutely positioned and centred; with the taller card there
   is room for the full copy, so lift the 3-line clamp a little. */
.service .service-item .service-content p {
    -webkit-line-clamp: 4;
}

/* Two-across on tablet keeps the posters legible rather than shrinking them */
@media (min-width: 768px) and (max-width: 991.98px) {
    .service .service-item .service-img img {
        aspect-ratio: 5 / 6;
        height: auto;
    }
}

/* Single column on phones: cap the artwork height so one card does not fill
   the whole screen, and centre it. */
@media (max-width: 767.98px) {
    .service .service-item .service-img img {
        aspect-ratio: auto;
        height: auto;
        max-height: 70vh;
        object-fit: contain;
        background: #fff;
    }

    .service .service-item .service-content p {
        -webkit-line-clamp: initial;
        display: block;
        overflow: visible;
    }
}
/*** Service Card Height & Alignment End ***/
