/********** Template CSS **********/
:root {
    --primary: #00478F;
    --light: #F6F7F8;
    --dark: #1A2A36;
}
body{
    font-family:  system-ui;
    color: black !important;
}
table {
    color: black;
    border: 1px solid grey;
    width: 100%;
}
.themelogo .owl-carousel .owl-item{
    padding: 10px !important;
}
#logosmall{
    display: none;
}
.ck .ck-powered-by{
    display:  none !important
}
.ck.ck-balloon-panel.ck-powered-by-balloon .ck.ck-powered-by a{
    display:  none !important
}
.random-container {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
}
.ug-people p{
    text-align: center !important;
}
.kun-gallery {
    flex: 1;
}

.kun-gallery ul {
    list-style-type: none;
    padding: 0;
}

.kun-gallery li {
    display: inline-block;
    padding: 0;
}

.kun-gallery ul li a {
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
    display: block;
    cursor: pointer;
    transition: .2s ease-in-out;
}

.kun-gallery ul li a:hover {
    opacity: .9;
}
.kun-gallery ul li {
    position: relative;
    overflow: hidden;
    width: calc(25% - 3px);
    height: 25vw;
}

.kun-lightbox {
    z-index: 999999;
}

.gallery-container {
    width: 100%;
    height: 100%;
    display: block;
    content: "";
    position: fixed;
    z-index: 999998;
    top: 0;
    left: 0;
    display: none; /* changed to work on gallery */
}

.kun-modal {
    background: rgba(0, 0, 0, 0.8);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
}

.gallery-container .left-arrow,
.gallery-container .right-arrow,
.gallery-container .close-icon {
    position: absolute;
    color: white;
    top: 50%;
    line-height: 0;
    left: 20px;
    font-size: 4vw;
    font-weight: 300;
    font-family: sans-serif;
    cursor: pointer;
    height: 50px;
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-container .right-arrow {
    right: 20px;
    left: auto;
}

.gallery-container .close-icon {
    top: 20px;
    right: 20px;
    left: auto;
    font-size: 3vw;
}

.kun-lightbox img {
    max-width: 80%;
    max-height: 80%;
    height: auto;
    width: auto;
    margin: auto;
    position: fixed;
    display: none;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
}
@media only screen and (max-width: 992px) {
    #logosmall{
        display: block;
    }
    #top-panel{
        display: none;
    }
    .navbar{
        background-color: #fff !important;
        height: 70px !important
    }
    .navbar .navbar-nav{
        background-color: #1A2A36 !important;
        padding:   10px
    }
}

@media only screen and (min-width: 992px) {   
    .submenu{margin-top: -35px !important ;margin-left:0px !important}
    .dropdown-menu li{ position: relative;  }
    .nav-item .submenu
    { 
        display: none !important;
        position: absolute;
        left:100%; top:-15px;
    }
    .nav-item .submenu-left
    { 
        right:100%; left:auto;
    }
    .navbar .navbar-nav .nav-link:hover,
    .navbar .navbar-nav .nav-link.active
    {
        color: var(--primary);
    }
    .dropdown-menu > li:hover{ background-color:  #0d6efd; }
    .dropdown-menu > li:hover > .submenu{ display: block  !important; }

    /* ============ desktop view .end// ============ */

    /* ============ small devices ============ */

    .dropdown-menu .dropdown-menu
    {
        margin-left:0.7rem; margin-right:0.7rem; margin-bottom: .5rem;
    }
}

.ug-people .team-item{
    height:   370px !important;
    text-align:    center;   
}
.fw-medium {
    font-weight: 500 !important;
}

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

.fw-black {
    font-weight: 900 !important;
}

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

/*** 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 {
    font-weight: 500;
    transition: .5s;
}
.btn.btn-primary,
.btn.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;
}

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

.navbar .navbar-brand,
.navbar a.btn {
    height: 75px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 10px;
    padding: 10px 10px;
    color: white;
    font-size: 17px;
    font-weight: 500;
    text-transform: capitalize;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: #0d6efd;
}

.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;
    }

    .dropdown-menu .dropdown-item:hover {
        color: white;
        background-color:   #0d6efd;
    }
    .navbar .nav-item:hover .dropdown-menu {
        top: 85%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
        background-color:   #0d6efd;
        color:white;
    }
}

/*** Header ***/
.owl-carousel-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
    }
}

.header-carousel .owl-dots {
    position: absolute;
    width: 60px;
    height: 100%;
    top: 0;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dots .owl-dot {
    position: relative;
    width: 45px;
    height: 45px;
    margin: 5px 0;
    background: #FFFFFF;
    box-shadow: 0 0 30px rgba(255, 255, 255, .9);
    border-radius: 45px;
    transition: .5s;
}

.header-carousel .owl-dots .owl-dot.active {
    width: 60px;
    height: 60px;
}

.header-carousel .owl-dots .owl-dot img {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 2px;
    border-radius: 45px;
    transition: .5s;
    border: 1px solid grey;
    object-fit: contain!important;
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url(../img/slider4.jpg) center center no-repeat;
    background-size: cover;
}

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

/*** About ***/
@media (min-width: 992px) {
    .container.about {
        max-width: 100% !important;
    }

    .about-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .about-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .about-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}

/*** Service ***/
.service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.service-icon {
    position: relative;
    margin: -50px 0 25px 0;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 100px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .5s;
}

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

/*** Feature ***/
@media (min-width: 992px) {
    .container.feature {
        max-width: 100% !important;
    }

    .feature-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .feature-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .feature-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}

/*** Project Portfolio ***/
#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--primary);
    border-color: var(--primary);
}

.portfolio-img {
    position: relative;
}

.portfolio-img::before,
.portfolio-img::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    background: var(--dark);
    transition: .5s;
}

.portfolio-img::before {
    left: 50%;
}

.portfolio-img::after {
    right: 50%;
}

.portfolio-item:hover .portfolio-img::before {
    width: 51%;
    left: 0;
}

.portfolio-item:hover .portfolio-img::after {
    width: 51%;
    right: 0;
}

.portfolio-btn {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    z-index: 1;
    transition: .5s;
}

.portfolio-item:hover .portfolio-btn {
    opacity: 1;
    transition-delay: .3s;
}

/*** Quote ***/
@media (min-width: 992px) {
    .container.quote {
        max-width: 100% !important;
    }

    .quote-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .quote-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .quote-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}

/*** Team ***/
.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.team-item .team-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    background: #FFFFFF;
    transition: .5s;
}

/*** 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);
}

/*** Contact ***/
@media (min-width: 992px) {
    .container.contact {
        max-width: 100% !important;
    }

    .contact-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .contact-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .contact-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}

/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    color: #9B9B9B;
    border: 1px solid #9B9B9B;
    border-radius: 38px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
    border-color: var(--light);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #9B9B9B;
    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: #FFFFFF;
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

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

a {
    text-decoration: none;
    color:  #00478F!important;
}
.bg-primary {
    --bs-bg-opacity: 1;
    background-color: #00478F!important
}
.btn {
    color: white!important;
}
.dropdown-menu .dropdown-item:hover {
    color:white ;
}

/* Website-Policy.php */
.card p {
    line-height: 1.7;
    color: #333;
}
.card h4 {
    color: #003366;
    font-weight: 600;
}
@media (max-width: 768px) {
    .card {
        padding: 20px;
    }
}

/* ========================================= */
/* CSS Extracted & Refactored from index.php */
/* ========================================= */

/* General Elements & Animations */
html {
    scroll-behavior: smooth;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes popupFadeIn {
    from { transform: scale(0.95); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}
.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    border: 0;
}

/* Modal Popup Core Styles */
#popupModal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.65); display: flex; align-items: center; justify-content: center;
    z-index: 9999; backdrop-filter: blur(4px);
}
.popup-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.65); display: none; align-items: center; justify-content: center;
    z-index: 9999; backdrop-filter: blur(4px);
}
.popup-overlay.active {
    display: flex; animation: fadeIn 0.3s ease;
}
.popup-content {
    background: #fff; padding: 20px; border-radius: 14px;
    max-width: 900px; width: 92%; max-height: 92vh;
    display: flex; flex-direction: column; gap: 14px;
    overflow: hidden; box-shadow: 0 12px 28px rgba(0,0,0,0.4);
    position: relative; animation: scaleIn 0.35s ease;
}
.popup-footer {
    margin-top: 18px; text-align: right; flex-shrink: 0;
}
.popup-close-btn, .popup-close-btn2 {
    position: absolute; top: 14px; right: 16px;
    background: #c62828; color: #fff; border: none;
    border-radius: 50%; width: 34px; height: 34px;
    font-size: 18px; font-weight: bold; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25); transition: background 0.3s;
}
.popup-close-btn:hover, .popup-close-btn:focus,
.popup-close-btn2:hover, .popup-close-btn2:focus {
    background: #b71c1c; outline: none;
}
.popup-img {
    max-width: 90%; max-height: 35vh; object-fit: contain;
    border-radius: 10px; box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    margin: auto; display: block;
}
.popup-img-wrapper {
    text-align: center; flex: 1; margin-bottom: 10px !important;
}
.popup-img2 {
    max-width: 45vw; max-height: 70vh; height: auto;
    object-fit: contain; border-radius: 6px;
}

/* Slogan Component */
#slogan-box {
    flex: 0; padding: 10px 15px; border-radius: 12px;
    background: linear-gradient(135deg, #fff9c4, #fff176);
    text-align: center; font-size: clamp(14px, 1.8vw, 18px);
    font-weight: 600; box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}
.slogan-heading {
    color: #FF0000; font-size: clamp(18px, 3vw, 22px); margin: 4px 0;
}

/* Utilities (Converted from inline styles) */
.icon-fs-25 { font-size: 25px !important; }
.icon-fs-20 { font-size: 20px !important; }
.service-title { font-weight: 500; font-size: 15px !important; }
.service-title-700 { font-weight: 700; font-size: 15px !important; }
.service-title-base { font-weight: 500; }
.text-white-custom { color: white !important; }
.text-black-custom { color: black !important; }
.text-green-custom { color: green !important; }
.mt-20 { margin-top: 20px; }
.mr-20 { margin-right: 20px; }
.text-justify { text-align: justify; }
.border-left-dotted { border-left: 1px dotted; }

/* Custom Sections & Blocks */
.news-scroll-box {
    height: 550px; overflow-y: auto; border: 1px solid #ccc; padding: 10px;
}
.official-img {
    width: 80px; height: 100px;
}
.partner-logo-img {
    height: 150px; object-fit: contain;
}

/* Carousel Additions */
.dot-img {
    object-fit: contain; border-radius: 5px; display: block;
}
.header.shrink {
    padding: 5px; background: #0056b3;
}
.owl-carousel-item img {
    width: 100%; height: 80vh;
}
.owl-nav .owl-prev { left: 10px; }
.owl-nav .owl-next { right: 10px; }
.owl-dots .owl-dot span {
    width: 12px; height: 12px; border-radius: 50%; opacity: 0.5;
}
.owl-carousel .item {
    display: flex; justify-content: center; align-items: center;
    margin-right: 10px !important; position: relative; z-index: 1;
}
.owl-stage {
    display: flex !important; gap: 15px !important;
}
.carousel-container {
    max-width: 940px; margin: auto; position: relative;
}
.carousel-controls {
    display: flex; justify-content: center; gap: 10px; margin-top: 5px !important;
}
.carousel-btn {
    padding: 0.5rem 1rem; border: none; background: #00478F; color: white;
    border-radius: 25px; font-size: 16px; cursor: pointer;
    outline: none; transition: background 0.3s ease;
}
.carousel-btn:hover, .carousel-btn:focus { background: #007BFF; }
.carousel-btn:focus { outline: 3px solid #FFD700; }
.custom-nav-btn {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
}
#prevBtn { left: -30px; }
#nextBtn { right: -30px; }

#main-carousel .owl-nav button {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(0,0,0,0.4); color: #fff; border: none;
    font-size: 20px; padding: 10px; border-radius: 50%;
    cursor: pointer; transition: background 0.3s;
}
#main-carousel .owl-nav button.owl-prev { left: 10px; }
#main-carousel .owl-nav button.owl-next { right: 10px; }
#main-carousel .owl-nav button:hover { background: rgba(0,0,0,0.7); }

@media (max-width: 768px) {
    .carousel-container { max-width: 100%; }
    .custom-nav-btn { font-size: 14px; padding: 5px 10px; }
    #prevBtn { left: 5px; }
    #nextBtn { right: 5px; }
}

/* Service Boxes & List */
.card:hover {
    transform: translateY(-5px); transition: 0.3s ease-in-out;
}
.service-box {
    display: flex; align-items: center; background: #f9f9f9;
    padding: 10px; border-radius: 8px; margin-bottom: 15px;
    transition: 0.3s ease-in-out;
}
.service-box:hover { background: #e3e3e3; }
.icon {
    width: 40px; height: 40px; background: #007bff; color: white;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; margin-right: 10px;
}
.icon i { font-size: 18px; }
.service-box a {
    font-size: 15px; font-weight: 500; text-decoration: none;
    color: #333; transition: color 0.3s;
}
.service-box a:hover { color: #007bff; }
.custom-list { list-style: none; padding: 0; margin: 0; }
.custom-list li { position: relative; padding-bottom: 10px; margin-bottom: 10px; }
.custom-list li::after {
    content: ""; display: block; width: 100%; height: 1px;
    background-color: #ccc; margin-top: 10px;
}

/* Old commented Modal additions */
.custom-modal-body { background-color: whitesmoke; padding-top: 40px; }
.w-100-border-none { width: 100%; border: none; }
.p-15 { padding: 15px; }
.modal-btn-custom { font-size: 25px; width: 50%; }

/* ========================================= */
/* CSS Extracted from header.php             */
/* ========================================= */

/* General & Utility Classes */
#navbarCollapse {
    display: block !important;
}
.hidden {
    display: none;
}
.bg-white-custom { background-color: #fff; }
.pt-10 { padding-top: 10px; }
.mt-15 { margin-top: 15px; }
.fs-20-custom { font-size: 20px; }
.float-right-custom { float: right; }
.text-white-important { color: #fff !important; }

/* Google Translate Overrides */
.goog-logo-link { display: none !important; }
.goog-te-gadget { color: transparent !important; }
#google_translate_element span { display: none !important; }
#goog-gt-tt #goog-gt-vt { display: none !important; }
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf { display: none !important; }

.google-translate-custom {
    margin-bottom: -30px;
    margin-top: 0px;
    float: right;
    padding-bottom: 5px;
    margin-right: 30px;
}

/* Header & Logos */
.theme-toggle-link { margin-top: -9px; }
.theme-toggle-white { color: white; }
.theme-toggle-black { color: black; }
.mgvcl-logo { height: 100px; width: 100px; }
.mgvcl-logo-small { height: 60px; width: 100px; }
.vgrc-logo { height: 80px; width: auto; margin-left: 10px; }
.company-title { color: #00478F; font-size: 35px; font-weight: 600; }
.company-cin { color: black; font-size: 15px; font-weight: 500; margin-left: 80px; }

/* Custom Navbar */
.custom-navbar {
    box-shadow: 0 10px 10px -10px #000000;
    background-color: #00478F;
    width: 100%;
    color: white !important;
    height: 50px;
}

/* Dropdown & Menus */
.row-boder tr td p {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}
.dropdown-item {
    white-space: normal !important;
    word-wrap: break-word;
    max-width: 350px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 250px;
}
.dropdown-item:hover {
    color: black !important;
    background-color: white;
}
.dropdown-icon-right {
    font-size: 18px;
    float: right;
}
.submenu {
    min-width: 250px;
    max-height: 200px;
    overflow-y: auto;
    border-radius: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}
.nav-item .submenu {
    display: none !important;
}

/* Breadcrumbs */
.breadcrumb-wrapper {
    width: 100% !important;
    background-color: #1f1f1f !important;
    padding: 10px 0 !important;
    display: flex !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}
.breadcrumb-container {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    padding: 12px 20px !important;
    background-color: #f8f9fa !important;
    border-radius: 12px !important;
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #495057 !important;
    box-shadow: 0 3px 8px rgba(0,0,0,0.08) !important;
    max-width: 1200px !important;
    width: 90% !important;
    box-sizing: border-box !important;
}
.breadcrumb-container .breadcrumb-label {
    margin-right: 12px !important;
    font-weight: 700 !important;
    color: #2c3e50 !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 2px 8px !important;
    background-color: #e9ecef !important;
    border-radius: 4px !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1) !important;
}
.breadcrumb {
    display: flex !important;
    flex-wrap: wrap !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.breadcrumb-item + .breadcrumb-item::before {
    content: "›" !important;
    padding: 0 10px !important;
    color: #6c757d !important;
    font-weight: 600 !important;
}
.breadcrumb a {
    color: #00478f !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
    font-weight: 500 !important;
}
.breadcrumb a:hover {
    color: #00478f !important;
}
.breadcrumb .active {
    color: #495057 !important;
    font-weight: 600 !important;
    cursor: default !important;
}
@media (max-width: 576px) {
    .breadcrumb-container {
        padding: 8px 12px !important;
        font-size: 14px !important;
    }
    .breadcrumb-item + .breadcrumb-item::before {
        padding: 0 6px !important;
    }
}

/* Animations */
.blink {
    font-size: 23px;
    font-weight: bold;
    animation: blink-animation 1.5s infinite;
}
@keyframes blink-animation {
    50% { opacity: 0; }
}

/* Desktop Dropdown Hover */
@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .3s ease;
        background-color: #0d6efd;
        color: #fff;
    }
    .navbar .nav-item:hover>.dropdown-menu,
    .navbar .nav-item:focus-within>.dropdown-menu {
        top: 85%;
        opacity: 1;
        visibility: visible;
    }
    .dropdown-menu li:focus-within>.submenu,
    .dropdown-menu li:hover>.submenu {
        display: block !important;
        opacity: 1;
        visibility: visible;
    }
    .dropdown-menu .submenu {
        display: none;
        position: absolute;
        left: 100%;
        top: 0;
        margin-top: -5px;
        background-color: #0d6efd;
    }
}

/* ========================================= */
/* Dark Mode Overrides                       */
/* ========================================= */
body.dark-mode {
    background-color: black;
    color: white;
}
body.dark-mode nav.navbar,
body.dark-mode .navbar,
body.dark-mode .navbar-nav,
body.dark-mode .navbar-nav .nav-link {
    background-color: #000 !important;
    color: white !important;
    border-color: #333 !important;
}
body.dark-mode .dropdown-menu,
body.dark-mode .submenu,
body.dark-mode nav ul,
body.dark-mode nav ul li,
body.dark-mode nav ul li a {
    background-color: #000 !important;
    color: white !important;
    border-color: #333 !important;
}
body.dark-mode .dropdown-menu a:hover,
body.dark-mode .submenu a:hover,
body.dark-mode nav ul li a:hover {
    background-color: #222 !important;
    color: #00ffcc !important;
}
body.dark-mode table,
body.dark-mode table thead,
body.dark-mode table tbody,
body.dark-mode table tfoot,
body.dark-mode table tr,
body.dark-mode table th,
body.dark-mode table td {
    background-color: #000 !important;
    color: white !important;
    border: 1px solid #444 !important;
}
body.dark-mode table tbody tr:nth-child(even) {
    background-color: #111 !important;
}
body.dark-mode table tbody tr:nth-child(odd) {
    background-color: #181818 !important;
}
body.dark-mode table thead th {
    background-color: #222 !important;
    color: #fff !important;
}
body.dark-mode p,
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6,
body.dark-mode span,
body.dark-mode li,
body.dark-mode ul,
body.dark-mode td,
body.dark-mode a {
    color: white !important;
}
body.dark-mode div:not(.owl-carousel-inner):not(.owl-carousel-inner *){
    background-color: #000 !important;
    color: white !important;
    border-color: #333 !important;
}
body.dark-mode .card,
body.dark-mode .container,
body.dark-mode .container-fluid,
body.dark-mode .content,
body.dark-mode section,
body.dark-mode article,
body.dark-mode table,
body.dark-mode tbody,
body.dark-mode small {
    background-color: #000 !important;
    color: white !important;
    border-color: #333 !important;
}
body.dark-mode .card {
    border: 1px solid white !important;
}
body.dark-mode .nav-link {
    background-color: #0f0f0fff !important;
}
body.dark-mode .btn {
    background-color: #222 !important;
    color: white !important;
    border: 1px solid #555 !important;
}
body.dark-mode input,
body.dark-mode textarea,
body.dark-mode select {
    background-color: #111 !important;
    color: white !important;
    border: 1px solid #444 !important;
}
body.dark-mode .owl-carousel,
body.dark-mode .owl-carousel-inner,
body.dark-mode .owl-carousel-inner .container,
body.dark-mode .owl-carousel-inner .row,
body.dark-mode .owl-carousel .owl-stage,
body.dark-mode .owl-carousel .owl-stage-outer,
body.dark-mode .owl-carousel .owl-item,
body.dark-mode .owl-carousel .carousel-item {
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
    color: #000 !important;
}
body.dark-mode .owl-carousel-inner * {
    color: #000 !important;
    font-weight: bold !important;
}
body.dark-mode .owl-carousel .owl-item img,
body.dark-mode .owl-carousel .owl-item picture,
body.dark-mode .owl-carousel .carousel-item img {
    filter: none !important;
    opacity: 1 !important;
    mix-blend-mode: normal !important;
    background: transparent !important;
}
body.dark-mode .owl-carousel-inner::before,
body.dark-mode .owl-carousel-inner::after,
body.dark-mode .owl-carousel-inner .row::before,
body.dark-mode .owl-carousel-inner .row::after {
    content: none !important;
    background: transparent !important;
}

/* ========================================= */
/* CSS Extracted from footer.php             */
/* ========================================= */

/* Chatbot Global Styling */
.chatbox {
    width: 320px;
    height: 420px;
    background: linear-gradient(to right, orange, white, green);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    position: fixed;
    bottom: 20px;
    left: 20px;
    margin: 0;
    padding: 0;
    transform: none;
}
.chatbox-header {
    padding: 10px;
    background: #001f54;
    color: #fff;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.chatbox-messages {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
}
.message.bot {
    background: #fff;
    padding: 8px 12px;
    border-radius: 10px;
    max-width: 80%;
}
.chatbox-input {
    display: flex;
    border-top: 1px solid #ddd;
    padding: 8px;
    background: #fff;
}
.chatbox-input input {
    flex: 1;
    border: none;
    outline: none;
    padding: 5px;
    border-radius: 8px;
}
.chatbox-input button {
    border: none;
    background: transparent;
    cursor: pointer;
    margin-left: 8px;
}
.chatbox-input img {
    width: 25px;
}

/* Chatbot Specific Elements */
#chat-content .chat {
    margin-bottom: 6px;
    padding: 8px 10px;
}
#conversation {
    flex: 2;
    overflow-y: auto;
    padding: 2px;
    background: #f9f9f9;
}
#input-form {
    display: flex;
    border-top: 1px solid #ccc;
    padding: 8px;
    background: #fff;
    flex-shrink: 0;
}
#input-field {
    flex: 1;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.chat-icon-wrapper {
    position: fixed; 
    bottom: 25px; 
    left: 25px; 
    cursor: pointer; 
    z-index: 9999;
}
.chatbot-window {
    position: fixed; 
    bottom: 90px; 
    left: 25px; 
    background: transparent; 
    z-index: 9998;
}
.talk-bubble-custom {
    height: 500px !important; 
    width: 350px !important;
}
.conversation-box {
    height: 305px !important; 
    width: 334px !important;
}
.submit-btn-custom {
    background: none; 
    border: none; 
    margin-left: 8px;
}

/* Footer & Utilities */
.cursor-pointer { cursor: pointer; }
.mt-50 { margin-top: 50px; }
.footer-bg { background-color: #00478F; }
.text-decoration-none { text-decoration: none; }
.font-system-ui { font-family: system-ui; }

.footer-customer-care {
    line-height: 0.1 !important;
    margin-bottom: 0 !important;
}
.text-gray-custom { color: #9B9B9B !important; }

.footer-social-table {
    border: none !important;
    position: relative;
}
.footer-social-td {
    position: relative; 
    text-align: center;
}

/* Social QR Code System */
.social-icon {
    width: 70px;
    padding: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px;
}
.social-icon:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 15px rgba(0,0,0,0.3);
}
.qr-code {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    z-index: 10;
    border-radius: 12px;
    background: #fff;
    padding: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.qr-image {
    width: 120px;
    height: 120px;
    border-radius: 12px;
}
td:hover .qr-code {
    display: block;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Copyright Section */
.copyright-left {
    color: white; 
    white-space: nowrap;
}
.visitor-count {
    display: inline-block; 
    min-width: 110px; 
    text-align: left;
}
.copyright-right {
    color: white;
    padding: 5px;
    width: 150px;
    margin: 20px;
}
/* Header Scroll Animation Fix */
#top-bar, #top-panel {
    transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.3s ease;
    max-height: 300px; /* Tall enough to fit the content naturally */
    overflow: hidden;
    opacity: 1;
}

/* When the body gets this class, shrink the header to 0 */
body.header-scrolled #top-bar, 
body.header-scrolled #top-panel {
    max-height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    opacity: 0 !important;
}