/********** Template CSS **********/
:root {
    --primary: #FF5E14;
    --secondary: #5F656F;
    --light: #F5F5F5;
    --dark: #02245B;
}

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

h1,
h2,
.h1,
.h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
h4,
.h3,
.h4,
.fw-medium {
    font-weight: 600 !important;
}

h5,
h6,
.h5,
.h6,
.fw-semi-bold {
    font-weight: 500 !important;
}


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

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


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

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

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

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

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

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


.topbar-right {
    position: relative;
    background: var(--primary);
}

.topbar-right::before {
    position: absolute;
    content: "";
    width: 30px;
    height: 100%;
    top: 0;
    left: -15px;
    transform: skewX(-30deg);
    background-color: var(--primary);
}


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

.navbar .navbar-brand {
    position: relative;
    padding-right: 50px;
    height: 75px;
    display: flex;
    align-items: center;
    background: var(--primary);
}

.navbar .navbar-brand::after {
    position: absolute;
    content: "";
    width: 50px;
    height: 100%;
    top: 0;
    right: -25px;
    transform: skewX(-30deg);
    background-color: var(--primary);
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 20px 0;
    color: var(--dark);
    font-size: 18px;
    font-weight: 500;
    outline: none;
}

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

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

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

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


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    background: linear-gradient(to right, rgba(2, 36, 91, 1) 0%, rgba(2, 36, 91, 0) 100%);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3.5rem;
    height: 3.5rem;
    background-color: var(--primary);
    border: 15px solid var(--primary);
    border-radius: 3.5rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background: linear-gradient(to right, rgba(2, 36, 91, 1) 0%, rgba(2, 36, 91, 0) 100%), url(../img/carousel-2.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--light);
}


/*** Facts ***/
.facts {
    position: relative;
    margin: 6rem 0;
    background: var(--dark);
}

.facts .border {
    border-color: rgba(255, 255, 255, .1) !important;
}


/*** Features ***/
.btn-play {
    position: absolute;
    top: 50%;
    right: -30px;
    transform: translateY(-50%);
    display: block;
    box-sizing: content-box;
    width: 16px;
    height: 26px;
    border-radius: 100%;
    border: none;
    outline: none !important;
    padding: 18px 20px 20px 28px;
    background: var(--primary);
}

@media (max-width: 992px) {
    .btn-play {
        left: 50%;
        right: auto;
        transform: translate(-50%, -50%);
    }
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 100%;
    animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 100%;
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: -1px;
    border-left: 16px solid #FFFFFF;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}

.modal-video .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

.modal-video .modal-body {
    position: relative;
    padding: 0px;
}

.modal-video .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}


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

.service-item .service-img {
    position: absolute;
    padding: 12px;
    width: 130px;
    height: 130px;
    top: -65px;
    left: 50%;
    transform: translateX(-50%);
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .09);
    z-index: 2;
}

.service-item .service-detail {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
}

.service-item .service-title {
    position: absolute;
    padding: 65px 30px 25px 30px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #FFFFFF;
    transition: .5s;
}

.service-item:hover .service-title {
    top: -100%;
}

.service-item .service-text {
    position: absolute;
    overflow: hidden;
    padding: 65px 30px 25px 30px;
    width: 100%;
    height: 100%;
    top: 100%;
    left: 0;
    display: flex;
    align-items: center;
    text-align: center;
    background: rgba(2, 36, 91, .7);
    transition: .5s;
}

.service-item:hover .service-text {
    top: 0;
}

.service-item .service-text::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100px;
    top: -100%;
    left: 0;
    transform: skewY(-12deg);
    background: #FFFFFF;
    transition: .5s;
}

.service-item:hover .service-text::before {
    top: -55px;
}

.service-item .btn {
    position: absolute;
    width: 130px;
    height: 50px;
    left: 50%;
    bottom: -25px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    background: #FFFFFF;
    border: none;
    box-shadow: 0 0 45px rgba(0, 0, 0, .09);
    z-index: 2;
}

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


/*** Project ***/
.project-carousel {
    position: relative;
    background: var(--dark);
}

.project-item {
    position: relative;
    display: block;
}

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

.project-item:hover img,
.project-carousel .owl-item.center img {
    margin-top: -60px;
}

.project-item .project-title {
    position: absolute;
    padding: 0 15px;
    width: 100%;
    height: 80px;
    bottom: -110px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--dark);
    transition: .5s;
}

.project-item:hover .project-title,
.project-carousel .owl-item.center .project-title  {
    bottom: -60px;
}

.project-item .project-title::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 30px;
    top: -15px;
    left: 0;
    transform: skewY(-5deg);
    background: var(--dark);
    transition: .5s;
}

.project-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 45px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    transition: .5s;
    opacity: 0;
    z-index: 1;
}

.project-carousel:hover .owl-nav {
    opacity: 1;
}

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


/*** Team ***/
.team-item .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    display: flex;
    align-items: center;
    background: var(--primary);
    transition: .5s;
}

.team-item:hover .team-social {
    left: 0;
}


/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    color: var(--primary);
    font-size: 45px;
    transition: .5s;
}

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

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

.testimonial-carousel .testimonial-img .btn-square {
    position: absolute;
    bottom: -19px;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-carousel .owl-item .testimonial-text {
    margin-bottom: 30px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transform: scale(.8);
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    transform: scale(1);
}


/*** Footer ***/
.footer {
    color: #B0B9AE;
}

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

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

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

.copyright {
    color: #B0B9AE;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

/* Sunshine custom fixes */
.navbar .navbar-brand{width:315px;min-height:82px;display:flex;align-items:center;background:#ff5e14;clip-path:polygon(0 0,88% 0,100% 50%,88% 100%,0 100%);}
.navbar .navbar-brand h1{font-size:38px;letter-spacing:.5px;}
.navbar .navbar-nav .nav-link{font-size:15px;font-weight:600;padding:30px 10px;color:#06245a;white-space:nowrap;}
.service-dropdown{max-height:430px;overflow-y:auto;min-width:315px;}
.dropdown-item{font-size:15px;}
@media (max-width:1199px){.navbar .navbar-brand{width:260px}.navbar .navbar-brand h1{font-size:30px}.navbar .navbar-nav .nav-link{font-size:14px;padding:24px 7px}}
@media (max-width:991px){.navbar .navbar-brand{width:250px;min-height:70px}.navbar .navbar-nav .nav-link{padding:10px 0}.service-dropdown{max-height:none}}
.sun-title{font-size:48px;font-weight:700;color:#06245a}.sun-title span{color:#000}.section-line{width:160px;height:4px;background:#0d6efd;margin:18px 0 28px;position:relative}.section-line:before{content:'•••';color:#0d6efd;position:absolute;left:0;top:-20px;font-size:28px;letter-spacing:6px}.service-page p,.service-page li{font-size:17px;line-height:1.75;color:#333}.service-img-main{width:100%;height:330px;object-fit:cover;box-shadow:0 10px 25px rgba(0,0,0,.12)}.service-card-img{width:100%;height:230px;object-fit:cover}.service-list-title{font-size:34px;color:#063b9c}.service-list-title span{color:#ff8c00}.cert-img{width:100%;max-height:760px;object-fit:contain;border:1px solid #e8e8e8;background:#fff;box-shadow:0 8px 24px rgba(0,0,0,.08);padding:8px}.team-item>img{width:100%;height:350px;object-fit:cover}.mission-card{border:1px solid #eee;border-radius:10px;padding:24px;height:100%;box-shadow:0 16px 36px rgba(0,0,0,.06)}.mission-card img{width:100%;height:280px;object-fit:cover;margin-bottom:25px}.about-ref-img{width:100%;border-radius:8px;box-shadow:0 6px 18px rgba(0,0,0,.15)}


/* Sunshine requested updates */
h1, h2, h3, h4, h5, h6 { text-transform: uppercase; }
.hero-logo { max-width: 320px; width: 45%; min-width: 190px; display: block; filter: drop-shadow(0 10px 16px rgba(0,0,0,.45)); }
.service-item > img, .service-item .service-img img { width: 100%; height: 260px; object-fit: cover; }
.project-item img { height: 360px; object-fit: cover; }
.team-item > img { width:100%; height: 370px; object-fit: cover; object-position: top center; }
.major-clients-section { background: #fff url('../img/major-client-bg.png') center/cover no-repeat; overflow: hidden; }
.major-clients-section h1 { color: #06245a; letter-spacing: 2px; }
.client-carousel .client-logo-item { background: #fff; border-radius: 2px; padding: 18px; height: 160px; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 28px rgba(0,0,0,.08); }
.client-carousel .client-logo-item img { width: 100%; height: 120px; object-fit: contain; }
@media (max-width: 767px) { .hero-logo { width: 60%; } .project-item img { height: 280px; } .client-carousel .client-logo-item { height: 145px; } }


/* --- Layout fixes for updated Sunshine website --- */
.home-about-image{width:100%;height:auto;display:block;}

.team-item{background:#fff;box-shadow:0 0 45px rgba(0,0,0,.07);overflow:hidden;}
.team-item > img{width:100% !important;height:420px !important;object-fit:contain !important;object-position:center top !important;background:#f7f7f7;display:block;}

.service-item{height:100%;margin:0 0 25px 0;display:flex;flex-direction:column;overflow:hidden;background:#fff;box-shadow:0 0 45px rgba(0,0,0,.07);}
.service-item > img{display:none !important;}
.service-item .service-img{position:relative;top:auto;left:auto;transform:none;width:100%;height:260px;padding:12px;background:#fff;box-shadow:none;z-index:auto;overflow:hidden;}
.service-item .service-img img{width:100% !important;height:100% !important;object-fit:contain !important;object-position:center center;display:block;}
.service-item .service-detail{position:relative;width:100%;height:auto;top:auto;left:auto;overflow:visible;z-index:auto;padding:25px 25px 0;}
.service-item .service-title{position:static;width:100%;height:auto;padding:0;display:block;text-align:center;background:transparent;transition:none;}
.service-item .service-title hr{margin:0 auto 15px;}
.service-item .service-title h3{font-size:30px;line-height:1.25;min-height:74px;display:flex;align-items:center;justify-content:center;}
.service-item .service-text{position:static;overflow:visible;padding:0 0 0;width:100%;height:auto;display:block;text-align:center;background:transparent;transition:none;top:auto;left:auto;}
.service-item .service-text::before{display:none;}
.service-item .service-text p{color:#5F656F !important;line-height:1.7;margin-bottom:0;min-height:115px;}
.service-item:hover .service-title{top:auto;}
.service-item:hover .service-text{top:auto;}
.service-item .btn{position:static;transform:none;left:auto;bottom:auto;width:130px;margin:22px auto 25px;box-shadow:0 0 45px rgba(0,0,0,.09);}

@media (max-width: 991.98px){
  .team-item > img{height:380px !important;}
  .service-item .service-img{height:240px;}
}

@media (max-width: 767.98px){
  .team-item > img{height:340px !important;}
  .service-item .service-img{height:220px;}
  .service-item .service-title h3{min-height:auto;font-size:26px;}
  .service-item .service-text p{min-height:auto;}
}


/* --- Final requested adjustments: smaller headings, compact logo header, Khalid staff card support --- */
.navbar .navbar-brand{
  width:315px !important;
  height:76px !important;
  min-height:76px !important;
  gap:10px;
  padding-left:18px !important;
  padding-right:42px !important;
  overflow:hidden;
}
.navbar .navbar-brand .header-logo{
  height:54px;
  width:auto;
  max-width:78px;
  object-fit:contain;
  display:block;
  flex:0 0 auto;
  filter:drop-shadow(0 3px 5px rgba(0,0,0,.18));
}
.navbar .navbar-brand .brand-title{
  font-size:28px;
  line-height:1;
  font-weight:700;
  letter-spacing:.3px;
  white-space:nowrap;
}
.navbar .navbar-brand h1{font-size:28px !important;}

.display-1{font-size:calc(1.55rem + 3vw) !important;}
.display-2{font-size:calc(1.50rem + 2.7vw) !important;}
.display-3{font-size:calc(1.45rem + 2.35vw) !important;}
.display-4{font-size:calc(1.40rem + 2vw) !important;}
.display-5{font-size:calc(1.35rem + 1.55vw) !important;}
.display-6{font-size:calc(1.25rem + 1.05vw) !important;}
h1,.h1{font-size:calc(1.30rem + 1.10vw);}
h2,.h2{font-size:calc(1.20rem + .85vw);}
h3,.h3{font-size:calc(1.10rem + .55vw);}
h4,.h4{font-size:calc(1.05rem + .35vw);}
h5,.h5{font-size:1.05rem;}
h6,.h6{font-size:.95rem;}
.sun-title{font-size:40px !important;line-height:1.18;}
.service-list-title{font-size:30px !important;}
.service-item .service-title h3{font-size:26px !important;min-height:66px;}
.team-item h5{font-size:1rem;line-height:1.2;margin-bottom:5px;}
.team-item span{font-size:.94rem;line-height:1.2;}

@media (max-width:1199px){
  .navbar .navbar-brand{width:270px !important;height:72px !important;min-height:72px !important;gap:8px;}
  .navbar .navbar-brand .header-logo{height:48px;max-width:68px;}
  .navbar .navbar-brand .brand-title{font-size:24px;}
}
@media (max-width:991px){
  .navbar .navbar-brand{width:255px !important;height:68px !important;min-height:68px !important;}
  .navbar .navbar-brand .header-logo{height:44px;max-width:62px;}
  .navbar .navbar-brand .brand-title{font-size:22px;}
}
@media (max-width:575px){
  .navbar .navbar-brand{width:220px !important;padding-left:14px !important;padding-right:34px !important;}
  .navbar .navbar-brand .header-logo{height:40px;max-width:56px;}
  .navbar .navbar-brand .brand-title{font-size:20px;}
  .sun-title{font-size:32px !important;}
}

/* --- Team section final alignment: smaller normal photos, equal cards --- */
.team-item{
  height:100%;
  display:flex;
  flex-direction:column;
  border-radius:2px;
}
.team-item > img{
  width:100% !important;
  height:285px !important;
  max-height:285px !important;
  object-fit:cover !important;
  object-position:top center !important;
  background:#f7f7f7;
  display:block;
  flex:0 0 auto;
}
.team-item .d-flex{margin-top:auto;}
.team-item .flex-shrink-0.btn-square{
  width:78px !important;
  height:78px !important;
}
.team-item .position-relative.bg-light{
  height:78px !important;
  min-height:78px !important;
  padding-left:18px !important;
}
.team-item h5{
  font-size:.95rem !important;
  line-height:1.15 !important;
  margin-bottom:4px !important;
}
.team-item span{
  font-size:.88rem !important;
  line-height:1.15 !important;
}
@media (max-width:991.98px){
  .team-item > img{height:260px !important;max-height:260px !important;}
}
@media (max-width:767.98px){
  .team-item > img{height:240px !important;max-height:240px !important;}
  .team-item .flex-shrink-0.btn-square{width:72px !important;height:72px !important;}
  .team-item .position-relative.bg-light{height:72px !important;min-height:72px !important;}
}

/* --- Requested header/hero logo update --- */
/* Remove the large Sunshine logo from the home page carousel/hero area */
#header-carousel .carousel-caption .hero-logo{
  display:none !important;
}

/* Keep the header compact, make header logo a little bigger and SUNSHINE bolder */
.navbar .navbar-brand{
  width:335px !important;
  height:76px !important;
  min-height:76px !important;
  gap:12px !important;
  padding-left:18px !important;
  padding-right:44px !important;
  align-items:center !important;
}
.navbar .navbar-brand .header-logo{
  height:62px !important;
  max-width:92px !important;
  width:auto !important;
  object-fit:contain !important;
}
.navbar .navbar-brand .brand-title{
  font-weight:900 !important;
  font-size:29px !important;
  letter-spacing:1.6px !important;
  text-transform:uppercase !important;
}

@media (max-width:1199px){
  .navbar .navbar-brand{width:295px !important;height:72px !important;min-height:72px !important;gap:10px !important;}
  .navbar .navbar-brand .header-logo{height:56px !important;max-width:82px !important;}
  .navbar .navbar-brand .brand-title{font-size:25px !important;letter-spacing:1.2px !important;}
}
@media (max-width:991px){
  .navbar .navbar-brand{width:270px !important;height:68px !important;min-height:68px !important;}
  .navbar .navbar-brand .header-logo{height:52px !important;max-width:76px !important;}
  .navbar .navbar-brand .brand-title{font-size:23px !important;}
}
@media (max-width:575px){
  .navbar .navbar-brand{width:235px !important;padding-left:14px !important;padding-right:34px !important;gap:8px !important;}
  .navbar .navbar-brand .header-logo{height:46px !important;max-width:68px !important;}
  .navbar .navbar-brand .brand-title{font-size:20px !important;letter-spacing:.8px !important;}
}

/* --- Final requested image fixes: team photos and service images only --- */
/* Dedicated Team Members: normal-size equal photo boxes, complete images visible */
.team-item{
  height:100% !important;
  display:flex !important;
  flex-direction:column !important;
  overflow:hidden !important;
}
.team-item > img{
  width:100% !important;
  height:240px !important;
  max-height:240px !important;
  object-fit:contain !important;
  object-position:center center !important;
  background:#fff !important;
  display:block !important;
  flex:0 0 auto !important;
}
.team-item .d-flex{
  margin-top:0 !important;
}
.team-item .position-relative.bg-light{
  height:78px !important;
  min-height:78px !important;
}
.team-item .flex-shrink-0.btn-square{
  width:78px !important;
  height:78px !important;
}
@media (max-width:991.98px){
  .team-item > img{height:230px !important;max-height:230px !important;}
}
@media (max-width:767.98px){
  .team-item > img{height:220px !important;max-height:220px !important;}
}

/* Service pages/cards: keep full images visible, no cutting/cropping */
.service-img-main,
.service-card-img,
.service-item .service-img img{
  object-fit:contain !important;
  object-position:center center !important;
  background:#fff !important;
}
.service-img-main{
  height:330px !important;
  padding:8px !important;
}
.service-card-img,
.service-item .service-img{
  height:230px !important;
}
.service-item .service-img{
  background:#fff !important;
  padding:10px !important;
}

/* --- User final fix: remove white blank area around team photos only --- */
/* Team photos now use their real image ratio, so no artificial white photo box appears. */
.team-item{
  background:#fff !important;
  height:auto !important;
  display:block !important;
  overflow:hidden !important;
}
.team-item > img{
  width:100% !important;
  height:auto !important;
  max-height:none !important;
  object-fit:initial !important;
  object-position:center center !important;
  background:transparent !important;
  display:block !important;
  margin:0 auto !important;
  padding:0 !important;
}
.team-item .d-flex{
  margin-top:0 !important;
}
.team-item .position-relative.bg-light{
  height:78px !important;
  min-height:78px !important;
}
.team-item .flex-shrink-0.btn-square{
  width:78px !important;
  height:78px !important;
}

/* --- Final team photo fix: keep 2nd-image normal size, no extra white box --- */
.team-item{
  background:transparent !important;
  box-shadow:none !important;
  height:auto !important;
  display:flex !important;
  flex-direction:column !important;
  overflow:visible !important;
}
.team-item > img{
  height:240px !important;
  max-height:240px !important;
  width:auto !important;
  max-width:100% !important;
  object-fit:contain !important;
  object-position:center center !important;
  background:transparent !important;
  display:block !important;
  align-self:center !important;
  margin:0 auto !important;
  padding:0 !important;
  flex:0 0 auto !important;
}
.team-item .d-flex{
  width:100% !important;
  margin-top:0 !important;
  background:#fff !important;
  box-shadow:0 0 45px rgba(0,0,0,.07) !important;
}
.team-item .position-relative.bg-light{
  height:78px !important;
  min-height:78px !important;
}
.team-item .flex-shrink-0.btn-square{
  width:78px !important;
  height:78px !important;
}
@media (max-width:991.98px){
  .team-item > img{height:230px !important;max-height:230px !important;}
}
@media (max-width:767.98px){
  .team-item > img{height:220px !important;max-height:220px !important;}
}

/* --- Final team title bar fix: make name/title bar same width as photo --- */
.team-item{
    width: 320px !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
}
.team-item > img{
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center center !important;
    display: block !important;
    background: transparent !important;
}
.team-item .d-flex{
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-shadow: 0 0 45px rgba(0,0,0,.07) !important;
}
.team-item .position-relative.bg-light{
    width: calc(100% - 90px) !important;
    flex: 1 1 auto !important;
}
@media (max-width: 767.98px){
    .team-item{ width: 300px !important; }
}
