html {
    overflow-x: hidden;
    overflow-y: scroll;
}

html.no-overflow-y {
    overflow-y: hidden;
}

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    -moz-transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

/* Header / logo */
.navbar-brand .logo-mark {
    width: 42px;
    height: 28px;
    display: inline-block;
}

/* Navbar buttons */
.btn {
    border-radius: 24px;
    padding: 6px 14px;
    font-size: 14px;
}

.btn-outline-primary {
    border-width: 1.5px;
}

/* Action button shared style (both buttons) */
.btn-action {
    background-color: #043c7d;
    color: #ffffff;
    border: 1.5px solid #043c7d;
}

.btn-action:hover,
.btn-action:focus {
    background-color: #032f63;
    /* slightly darker */
    color: #ffffff;
    border-color: #032f63;
}

.btn-action .fa {
    color: inherit;
}

/* Logo image (when using an <img> for the logo) */
.logo-img {
    height: auto;
    width: auto;
    display: block;
}

/* Banner - use an <img> inside a wrapper instead of background-image */
/* .banner {
    height: auto;
    position: relative;
    overflow: hidden;
}

.banner-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.02);
    display: flex;
    align-items: center;
} */
/* banner section  */
/* =========================
   BANNER
========================= */

/* ==========================================
   BANNER
========================================== */

.banner {
    position: relative;
    overflow: hidden;
}

.banner-image-wrapper {
    position: relative;
    width: 100%;
    /* min-height: 750px; */
}

.banner-bg-img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

/* OVERLAY */
/* 
.banner-overlay {
    position: absolute;
    inset: 0;

    background: rgba(0, 73, 173, 0.82);

    z-index: 2;
} */

/* CONTENT */

.banner-content {
    /* min-height: 750px; */
    position: relative;
    z-index: 5;
}

/* ==========================================
   LEFT
========================================== */

.banner-left {
    position: relative;
}

.person-image-box {
    position: relative;
}

.person-img {
    width: 100%;
    /* max-width: 500px; */
    display: block;
}

/* NAME STRIP */

/*.name-strip {*/
/*    position: absolute;*/

/*    left: -110px;*/
/*    bottom: 40px;*/
    
/*    background: #62bb46a3;*/
/*    color: #fff;*/

/*    font-size: 52px;*/
/*    font-weight: 700;*/
/*    line-height: 1.1;*/
/*    width: 100%;*/
/*    text-align: right;*/
/*    padding: 10px 40px;*/
/*}*/

.name-strip {
    position: absolute;
    /* left: -110px; */
    bottom: 0px;
    background: #62bb46a3;
    color: #fff;
    font-size: 52px;
    font-weight: 700;
    line-height: 1.1;
    width: 100%;
    text-align: center;
    padding: 10px 40px;
    border-radius: 20px 20px 0px 0px;
}
/* ==========================================
   RIGHT
========================================== */

.banner-right {
    color: #fff;
}

/* ITEM */

.info-box {
    display: flex;
    align-items: flex-start;

    gap: 20px;

    margin-bottom: 45px;
}

/* ICON */

.icon-box {
    min-width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-box img {
    width: 40px;
    height: 40px;

    object-fit: contain;
}

/* TEXT */

.info-content h3 {
    font-size: 30px;
    font-weight: 700;

    line-height: 1.2;

    margin-bottom: 10px;
}

.info-content p {
    font-size: 28px;
    line-height: 1.5;

    margin: 0;
}

/* ==========================================
   1400
========================================== */

@media screen and (max-width: 1399px) {

    .banner-image-wrapper,
    /* .banner-content {
        min-height: 650px;
    } */

    .info-content h3 {
        font-size: 34px;
    }

    .info-content p {
        font-size: 22px;
    }

    .name-strip {
        font-size: 42px;
    }

    .icon-box img {
        width: 42px;
        height: 42px;
    }
}

/* ==========================================
   1200
========================================== */

@media screen and (max-width: 1199px) {

    .info-content h3 {
        font-size: 28px;
    }

    .info-content p {
        font-size: 20px;
    }

    .name-strip {
        font-size: 34px;
        padding: 12px 28px;
    }

    .icon-box img {
        width: 36px;
        height: 36px;
    }
}

/* ==========================================
   TABLET
========================================== */

@media screen and (max-width: 991px) {

    .banner-image-wrapper,
    .banner-content {
        min-height: auto;
    }

    .banner-overlay {
        position: relative;
        padding: 70px 0 50px;
    }

    .banner-content {
        text-align: center;
        row-gap: 50px;
    }

    .banner-left {
        display: flex;
        justify-content: center;
    }

    .person-img {
        max-width: 380px;
        margin: auto;
    }

    .name-strip {
        /*left: 10%;*/
        /*transform: translateX(-50%);*/

        /*bottom: 20px;*/

        font-size: 30px;

        /*width: max-content;*/
    }

    .info-box {
        margin-bottom: 35px;
    }

    .info-content {
        text-align: left;
    }

    .info-content h3 {
        font-size: 24px;
    }

    .info-content p {
        font-size: 18px;
    }

    .icon-box img {
        width: 32px;
        height: 32px;
    }
}

/* ==========================================
   MOBILE
========================================== */

@media screen and (max-width: 575px) {

    /* .banner-image-wrapper {
        min-height: 950px;
    } */

    .banner-overlay {
        min-height: 950px;

        display: flex;
        align-items: center;

        padding: 60px 0 40px;
    }

    .banner-content {
        min-height: 100%;
        row-gap: 40px;
    }

    .person-img {
        max-width: 320px;
    }

   .name-strip {
    font-size: 24px;
    padding: 10px 24px;
    /* bottom: 20px; */
    /* width: max-content; */
    /* left: 84px; */
}

    .info-box {
        gap: 10px;
        margin-bottom: 28px;
    }

    .icon-box img {
        width: 24px;
        height: 24px;
    }

    .info-content h3 {
        font-size: 20px;
        line-height: 1.3;
    }

    .info-content p {
        font-size: 15px;
        line-height: 1.6;
    }
}

/* ==================banner :end ====================================  */
/* Profile section (gradient blue box) */
.profile-section {
    padding: 120px 0 40px 0 !important;
}

.profile-card {
    background: linear-gradient(90deg, #043c7d 0%, #0d4ea8 100%);
    color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(13, 78, 168, 0.18);
    /* allow the image to overflow at the top */
    overflow: visible;
    /* changed from hidden */
    position: relative;
    /* needed for absolutely positioned image */
}

.profile-image {
    /* keep natural image dimensions, no border or shadow */
    width: auto;
    height: auto;
    max-width: 260px;
    /* limit width on very large screens */
    object-fit: cover;
    border: none;
    box-shadow: none;

    /* position the image so its bottom aligns with the card bottom and top can overflow */
    position: absolute;
    bottom: 0px;
    /* small gap from card bottom */
    left: 24px;
    /* align from the left inside the card */
    display: block;
}

.profile-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.profile-text {
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.95;
}

/* Remove previous overlap rule and use the absolute positioning above */
@media (min-width: 768px) {
    .profile-card .col-md-4 {
        padding-left: 0;
    }

    /* .profile-image margin-left removed in favor of absolute positioning */
}

/* Responsive adjustments */
@media (max-width: 576px) {

    .banner-img {
        height: 100%;
    }

    .btn {
        font-size: 12px;
        padding: 6px 6px;
    }

    .navbar-collapse .d-flex {
        flex-direction: row;
        gap: 2px !important;
    }

    a.btn.btn-action.btn-sm.d-flex.align-items-center.top-btn {
        flex-direction: row;
    }

    .navbar-collapse .d-flex .btn {
        width: auto;
        min-width: 165px !important;
        text-align: center;
    }

    /*.navbar-collapse .d-flex .mobile-btn {*/
    /*    width: auto;*/
    /*    min-width: 179px !important;*/
    /*    text-align: center;*/
    /*}*/

    .services-section,
    .specialist-section {
        padding: 0px !important;
    }

    .profile-section {
        padding: 60px 0 40px 0 !important;
    }

    .banner-image-wrapper {

        position: relative;
        width: 100%;
        height: auto !important;
    }

}

@media (max-width: 767px) {
    .profile-image {
        position: static;
        width: 100%;
        height: auto;
        margin: 0 auto 8px auto;
    }

    .profile-title {
        font-size: 20px;
        text-align: center;
    }

    .profile-text {
        text-align: center;
    }

}

@media (max-width: 991px) {

    /* Mobile navbar: hide toggler, center logo on top and show buttons below centered */
    .navbar-toggler {
        display: none !important;
    }

    .navbar .container {
        flex-direction: column;
        justify-content: center;
        align-items: baseline;
        gap: 8px;
    }

    .navbar-brand {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .navbar-brand .logo-img {
        margin: 0;
    }

    /* Force collapse to be visible and center its contents */
    .navbar-collapse {
        display: block !important;
        width: 100%;
    }

    .navbar-collapse .d-flex {
        align-items: center !important;
        justify-content: center !important;
        gap: 8px;
        width: 100%;
        padding-bottom: 8px;
    }

    .navbar-collapse .d-flex .btn {
        width: auto;
        min-width: 220px;
        /* make buttons comfortable touch targets */
        text-align: center;
    }
}

/* Services / cards with double-border lift effect */
.services-section .section-title {
    color: #043c7d;
    font-size: 25px;
    font-weight: 700;
    margin-bottom: 80px !important;
}

.double-border-wrap {
    position: relative;
}

.double-border-wrap::before {
    content: "";
    position: absolute;
    top: 10px;
    /* offset to make it look lifted from left/top */
    left: 10px;
    right: -6px;
    bottom: -6px;
    border-radius: 12px;
    /* border: 10px solid rgba(13, 78, 168, 0.12); */
    border: 10px solid #e9f3ff;
    z-index: 0;
}

.service-card {
    position: relative;
    z-index: 1;
    background: #ffffff;
    border: 1px solid rgb(217 231 246);
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 10px 30px rgba(13, 78, 168, 0.06);
    min-height: 450px;
    margin-bottom: 70px;
}

.service-card-two {
    min-height: 580px !important;
}

.img-wrap {
    position: relative;
    display: block;
}

.img-wrap::before {
    content: "";
    position: absolute;
    top: -45px;
    left: 8px;
    right: -5px;
    bottom: 45px;
    border-radius: 8px;
    /* border: 10px solid rgba(13, 78, 168, 0.08); */
    border: 10px solid #a1c2e7;
    z-index: 0;
}

.service-image {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    bottom: 50px;
}

.service-title {
    color: #043c7d;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 20px;
}

.service-list {
    margin: 0;
    padding-left: 28px;
    /* space for custom icon */
    color: #2c4869;
}

.service-list li {
    position: relative;
    margin-bottom: 8px;
    padding-left: 5px;
    list-style: none;
}

.service-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free", "Font Awesome 5 Pro", sans-serif;
    font-weight: 900;
    position: absolute;
    left: -25px;
    top: 6px;
    width: 13px;
    height: 13px;
    background: #28a745;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 7px;
    line-height: 1;
}

/* Hover effect to accentuate lift */
.double-border-wrap:hover::before {
    transform: translateY(-6px) translateX(-6px);
    transition: transform .25s ease;
    box-shadow: 0 12px 30px rgba(13, 78, 168, 0.08);
}

.double-border-wrap:hover .service-card {
    transform: translateY(-6px);
    transition: transform .25s ease;
}

/* Specialist section */
.specialist-section {
    padding: 56px 0;
}

.specialist-card {
    background: #f0f7ff;
    /* light blue */
    border-radius: 12px !important;
    padding: 28px !important;
}

.specialist-card h2 {
    color: #103f7a;
    font-weight: 700;
}

.specialist-card p {
    color: #2c4869;
}

.specialist-grid .spec-item {
    background: #39b248;
    /* green */
    color: #ffffff;
    padding: 12px 18px;
    border-radius: 8px;
    text-align: center;
    font-weight: 700;
}

/* Footer */
.site-footer {
    margin-top: 40px;
    background-color: #043c7d;

}

.site-footer .container {
    display: flex;
    padding: 0;
    margin: 0 auto;
    align-items: stretch;

}

.footer-left {
    flex: 0 0 220px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.footer-logo {
    height: auto;
    width: auto;
}

.footer-right {
    flex: 1 1 auto;
    color: #ffffff;
    display: flex;
    align-items: center;
    padding: 20px 24px;
}

.footer-right p {
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
}

/* On very wide screens keep small gutters white on both sides */
/* @media (min-width: 1200px){
    .site-footer{ background:#ffffff; }
} */

@media (max-width: 767px) {
    .profile-card {
        padding: 18px;
    }

    .service-card {
        min-height: auto;
    }

    .service-image {
        height: 160px;
    }

    .double-border-wrap::before {
        top: 6px;
        left: 6px;
    }

    .img-wrap::before {
        top: 6px;
        left: 6px;
    }

    /* .service-list li::before {
        left: 0;
        top: 2px;
    } */

    .service-card-two {
        min-height: auto !important;
    }

    .specialist-card {
        padding: 18px;
    }

    .specialist-grid .spec-item {
        font-size: 14px;
        padding: 10px;
    }

    .site-footer .container {
        flex-direction: column;
    }

    .footer-left {
        flex: 0 0 auto;
        width: 100%;
    }

    .footer-right {
        width: 100%;
    }
}