/* =========================================
   NEW DARK THEME DESIGN SYSTEM 
   ========================================= */
:root {
    --bg: #012626;
    --bg-secondary: #025959;
    --text: #f2f2f2;
    --text-muted: #aab8b5;
    --border: rgba(255, 255, 255, 0.12);
    --accent: #038c8c;
}

body {
    font-family: "Inter", sans-serif !important;
    font-weight: 400 !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
    background-color: var(--bg) !important;
    color: var(--text) !important;
}

h1,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6,
.h1 {
    font-weight: 300 !important;
    font-size: 48px !important;
    line-height: 1.1 !important;
    letter-spacing: -0.02em !important;
    color: var(--text) !important;
    font-family: "Red Hat Display", sans-serif !important;
}

/* Custom styling for teal subheadings like "WELCOME TO SHREE RESEARCH" */
h4.text-primary,
h5.text-primary,
h6.text-primary,
.text-primary.text-uppercase {
    font-family: "Red Hat Display", sans-serif !important;
    font-weight: 800 !important;
    font-size: 14px !important;
    letter-spacing: 0.24em !important;
    text-transform: uppercase !important;
}

h2,
.h2 {
    font-weight: 300 !important;
    color: var(--text) !important;
    font-family: "Red Hat Display", sans-serif !important;
}

h3,
h4,
h5,
h6,
.h3,
.h4,
.h5,
.h6 {
    color: var(--text) !important;
    font-family: "Red Hat Display", sans-serif !important;
}

nav,
button,
.btn,
.nav-link {
    font-weight: 500 !important;
    font-size: 14px !important;
    letter-spacing: 0.04em !important;
    font-family: "Red Hat Display", sans-serif !important;
}

@media (max-width: 809px) {

    h1,
    .display-1,
    .display-2,
    .display-3,
    .display-4,
    .display-5,
    .display-6,
    .h1 {
        font-family: "Manrope", sans-serif !important;
        font-size: 28px !important;
    }

    h4.text-primary,
    h5.text-primary,
    h6.text-primary,
    .text-primary.text-uppercase {
        font-size: 10px !important;
    }
}

/* Overriding Bootstrap utility classes to fit the dark theme */
.bg-light,
.bg-white {
    background-color: var(--bg-secondary) !important;
}

.text-dark,
.text-body {
    color: var(--text) !important;
}

p.text-muted,
span.text-muted,
div.text-muted,
a.text-muted {
    color: var(--text-muted) !important;
}

/* Borders */
.border-light,
.border-bottom,
.border-top,
.border {
    border-color: var(--border) !important;
}

/* Cards / feature boxes */
.shadow-sm {
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, 0.5) !important;
}

/* Form Controls */
.form-control {
    background-color: var(--bg) !important;
    color: var(--text) !important;
    border: 1px solid var(--border) !important;
}

.form-control::placeholder {
    color: var(--text-muted) !important;
}

.form-floating label {
    color: var(--text-muted) !important;
}

/* Tables */
.table,
.table-light,
.table-hover {
    background-color: var(--bg-secondary) !important;
    color: var(--text) !important;
    border-color: var(--border) !important;
}

.table thead th {
    background-color: var(--bg) !important;
    color: var(--text) !important;
    border-color: var(--border) !important;
}

.table td,
.table th {
    border-color: var(--border) !important;
}

/* Navbar */
.sticky-top.navbar-light {
    background-color: var(--bg-secondary) !important;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--text) !important;
}

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

/* Breadcrumb background */
.bg-breadcrumb {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../img/carousel-1.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* ========================================= */

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

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

/*** Spinner End ***/

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

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

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

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

.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 {
    color: var(--bs-white);
    border: none;
}

.btn.btn-primary:hover {
    background: var(--bs-dark);
    color: var(--bs-primary);
}

.btn.btn-light {
    color: var(--bs-primary);
    border: none;
}

.btn.btn-light:hover {
    color: var(--bs-white);
    background: var(--bs-primary);
}


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

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

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

/*** Topbar End ***/



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

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

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

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

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

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

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

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

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

@media (max-width: 991.98px) {
    .sticky-top.navbar-light {
        position: fixed;
        width: 100%;
        top: 0;
        left: 0;
        z-index: 999;
        background: var(--bs-white);
    }

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

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

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

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

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

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

    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        z-index: 999;
    }

    .sticky-top.navbar-light {
        position: fixed;
        background: var(--bs-light);
    }


}

/*** Navbar End ***/

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

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

/* Hero carousel dot indicators */
.header-carousel .owl-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.header-carousel .owl-dots .owl-dot span {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    display: block;
    transition: 0.3s;
    border: 2px solid transparent;
}

.header-carousel .owl-dots .owl-dot:hover span {
    background: rgba(255, 255, 255, 0.7);
}

.header-carousel .owl-dots .owl-dot.active span {
    background: var(--bs-primary);
    border-color: var(--bs-white);
    transform: scale(1.2);
}

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

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

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

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


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

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

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


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


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

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

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

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

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

    100% {
        height: 100%;
        opacity: 0.9;
    }
}

/*** Carousel Hero Header End ***/


/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    position: relative;
    overflow: hidden;
    background: linear-gradient(238deg, rgba(0, 0, 0, 0.6) 36%, var(--bg) 108%), url(../img/hero-bg.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 140px 0 60px 0;
    transition: 0.5s;
}

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

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

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

.bg-breadcrumb .breadcrumb .breadcrumb-item a {
    color: var(--bs-white);
}

/*** Single Page Hero Header End ***/


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

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

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

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

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

/*** Service End ***/

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/*** Blog End ***/

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/*** Team End ***/

/*** Footer Start ***/
.footer {
    background: var(--bs-secondary);
}

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

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

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

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

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

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

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

/*** Footer End ***/

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

/*** copyright end ***/




/* Additional Component-Level Dark Theme Overrides */
.service .service-item,
.blog .blog-item,
.team .team-item .team-content,
.testimonial .testimonial-item,
.testimonial .testimonial-item .testimonial-inner,
.bg-light,
.bg-white,
.contact .bg-light {
    background: var(--bg) !important;
    background-color: var(--bg) !important;
}

/* Fix text colors inside blog cards */
.blog .blog-item h4 {
    color: var(--text) !important;
}

.blog .blog-item:hover h4 {
    color: var(--bs-primary) !important;
}

/* Fix dropdown menus if any */
.dropdown-menu {
    background-color: var(--bg-secondary) !important;
}

.dropdown-item {
    color: var(--text) !important;
}

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

/* Override Bootstrap Primary Color with Monomer Accent */
.text-primary {
    color: var(--accent) !important;
}

.bg-primary {
    background-color: var(--accent) !important;
}

.btn-primary {
    background-color: var(--accent) !important;
    border-color: var(--accent) !important;
    color: var(--text) !important;
}

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

/* Ensure Team Items are Dark */
.team .team-item {
    background-color: var(--bg-secondary) !important;
    background: var(--bg-secondary) !important;
}

/* Custom Hero Background matching Monomer Theme */
.header-carousel-item {
    background: linear-gradient(238deg, rgba(0, 0, 0, 0.6) 36%, var(--bg) 108%), url(../img/hero-bg.jpg) !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    min-height: 80vh !important;
}

.header-carousel-item .carousel-caption {
    position: relative !important;
    height: 100% !important;
    min-height: 80vh !important;
    background: transparent !important;
    display: flex !important;
    /* align-items removed */
}

/* Navbar Tweaks */
.navbar-nav .nav-link {
    font-size: 13px !important;
    letter-spacing: 0.12em !important;
    color: #aab8b5 !important;
    text-transform: uppercase !important;
}

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

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

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

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

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

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

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

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

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

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

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

/*** Team End ***/

/*** Footer Start ***/
.footer {
    background: var(--bs-secondary);
}

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

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

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

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

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

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

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

/*** Footer End ***/

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

/*** copyright end ***/




/* Additional Component-Level Dark Theme Overrides */
.service .service-item,
.blog .blog-item,
.team .team-item .team-content,
.testimonial .testimonial-item,
.testimonial .testimonial-item .testimonial-inner,
.bg-light,
.bg-white,
.contact .bg-light {
    background: var(--bg) !important;
    background-color: var(--bg) !important;
}

/* Fix text colors inside blog cards */
.blog .blog-item h4 {
    color: var(--text) !important;
}

.blog .blog-item:hover h4 {
    color: var(--bs-primary) !important;
}

/* Fix dropdown menus if any */
.dropdown-menu {
    background-color: var(--bg-secondary) !important;
}

.dropdown-item {
    color: var(--text) !important;
}

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

/* Override Bootstrap Primary Color with Monomer Accent */
.text-primary {
    color: var(--accent) !important;
}

.bg-primary {
    background-color: var(--accent) !important;
}

.btn-primary {
    background-color: var(--accent) !important;
    border-color: var(--accent) !important;
    color: var(--text) !important;
}

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

/* Ensure Team Items are Dark */
.team .team-item {
    background-color: var(--bg-secondary) !important;
    background: var(--bg-secondary) !important;
}

/* Custom Hero Background matching Monomer Theme */
.header-carousel .header-carousel-item {
    background: linear-gradient(238deg, rgba(0, 0, 0, 0.6) 36%, var(--bg) 108%), url(../img/hero-bg.jpg) !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    min-height: 80vh !important;
}

.header-carousel .header-carousel-item .carousel-caption {
    position: relative !important;
    height: 100% !important;
    min-height: 80vh !important;
    background: transparent !important;
    display: flex !important;
    /* align-items removed */
}

/* Navbar Tweaks */
.navbar-nav .nav-link {
    font-size: 13px !important;
    letter-spacing: 0.12em !important;
    color: #aab8b5 !important;
    text-transform: uppercase !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #ffffff !important;
}

/* Position Team & Model Carousel Arrows on Left/Right */
.team-carousel,
.model-carousel {
    position: relative;
}

.team-carousel .owl-nav,
.model-carousel .owl-nav {
    position: absolute;
    top: 50%;
    left: -15px;
    right: -15px;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    margin-top: 0 !important;
}

.team-carousel .owl-nav .owl-prev,
.team-carousel .owl-nav .owl-next,
.model-carousel .owl-nav .owl-prev,
.model-carousel .owl-nav .owl-next {
    pointer-events: auto;
    width: 45px;
    height: 45px;
    background: var(--bg-secondary) !important;
    color: var(--text) !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: 0.3s;
}

.team-carousel .owl-nav .owl-prev:hover,
.team-carousel .owl-nav .owl-next:hover,
.model-carousel .owl-nav .owl-prev:hover,
.model-carousel .owl-nav .owl-next:hover {
    background: var(--accent) !important;
}

/* Fix form autofill and focus styles for dark theme */
.form-control:focus,
.form-control:active {
    background-color: var(--bg) !important;
    color: var(--text) !important;
    box-shadow: none !important;
    border-color: var(--primary) !important;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px var(--bg) inset !important;
    -webkit-text-fill-color: var(--text) !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Fix mobile navbar wrapping */
@media (max-width: 575.98px) {
    .navbar-brand h1 {
        font-size: 1.25rem !important;
    }

    .navbar-brand img {
        height: 28px !important;
        margin-right: 8px !important;
    }

    .navbar {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .navbar-toggler {
        padding: 4px 8px !important;
        font-size: 1rem !important;
    }
}

/* Global Section Spacing Overrides (Applies to Desktop and Mobile) */

/* Reduce space between Hero Slide and About Section */
.about.py-5 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}

.about .py-5 {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

/* Reduce space between About section end (Call Us/Number) and What We Do section */
.service.pb-5 {
    padding-bottom: 0 !important;
}

.service .py-5 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}

/* Reduce space between sections on the Careers and Contact pages */
.feature.py-5,
.contact.py-5 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}

.feature .py-5,
.contact .py-5 {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

/* Reduce space inside Footer */
.footer.py-5 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}

.footer .py-5 {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

/* Page header spacing for internal pages without banners */
.about.page-header-space,
.contact.page-header-space {
    padding-top: 100px !important;
}

/* Reduce space inside Copyright bar */
.copyright.py-4 {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}