html {
    scroll-behavior: smooth;
 }

body {
    background-color: white;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    color: #282b2d;
}


/* Background and padding for the header */
.header-bg {
    background-color: #0948b3; /* Dark blue background */
}

.navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
    color: #0062ff !important;
}
.nav-link:focus, .nav-link:hover {
    color: #0062ff !important;
}
.text-shadow{
    text-shadow: 0px 0px 6px black;
}




.fade-left-anim {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s ease;
}
  
.fade-left-anim.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-right-anim {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s ease;
}

.fade-right-anim.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-left {
    opacity: 0;
    transform: translateX(-30px);
    animation: fadeLeft 2s forwards;
}

.fade-right {
    opacity: 0;
    transform: translateX(30px);
    animation: fadeRight 2s forwards;
}

@keyframes fadeLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* List styling */
.list-style4 {
    list-style: none;
    padding: 0;
    margin: 0;
}

.list-style4 li {
    display: inline-block;
    font-size: 14px;
}

/* Social link styling */
.social-link {
    color: #ffffff;
    font-size: 16px;
    margin-left: 12px;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #ffcc00; /* Highlight color on hover */
}

/* Icon alignment */
i {
    vertical-align: middle;
}


/* Fancy Navbar Toggler */
.custom-toggler {
    border: none;
    background: transparent;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.toggler-icon {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 30px;
    cursor: pointer;
}
.toggler-icon span {
    display: block;
    width: 30px;
    height: 3px;
    background: #000;
    transition: all 0.4s ease-in-out;
    border-radius: 3px;
}

/* Animation for Open State */
.custom-toggler.active .toggler-icon span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.custom-toggler.active .toggler-icon span:nth-child(2) {
    opacity: 0;
}
.custom-toggler.active .toggler-icon span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.brand-icon {
    width: 200px;
}


.video-container {
    position: relative;
    height: 100vh;
    /* Full viewport height */
    overflow: hidden;
    /* Prevent scroll bars */
}

.video-container-fluid {
    padding: 0;
}

#background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: 100vw;
    height: 100%;
    z-index: -1;
    object-fit: cover;
    transform: translate(-50%, -50%);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay with 50% opacity */
    z-index: 1;
}


.overlay-content {
    position: absolute;
    top: -100px;
    /* Start from off-screen */
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    z-index: 10;
    opacity: 0;
    animation: slideIn 1.5s ease-out forwards;

}

.navbar-bg {
    background-color: white;
    height: 60px;
    font-size:small;
}

section {
    padding: 50px 0;
    overflow: hidden;
    background: #fff;
}

section .bar {
    height: 3px;
    width: 100px;
    position: relative;
    background: rgba(9, 72, 179, 0.2);
    border-radius: 4px;
    overflow: hidden;
    margin: 15px auto;
}

.bar-fill {
    height: 100%;
    width: 50%;
    /* Keep width smaller than parent to prevent overflow */
    background: rgb(9, 72, 179);
    position: absolute;
    left: -50%;
    /* Start position */
    animation: moveBar 2s linear infinite;
}
.carousel-inner{
    height:400px !important;
}
.carousel-indicators {
    bottom: -20%;
}

.carousel-indicators button {
    background-color: #f00;
}

.carousel-item {
    text-align: center;
}

#carouselExampleIndicators .carousel-item .card-body {
    height: 350px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    /* box-shadow: 5px 4px 8px rgba(51, 19, 180, 0.5); */
    /* Default shadow */
    border-radius: 12px;
    /* Optional for rounded corners */
}

.carousel-item .fas {
    width: 100%;
    margin: 15px 0;
    font-size: 50px;
    color: #0056b3;
}

.carousel-item .fw-light {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    /* Number of lines before truncating */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5;
    /* Adjust line height for better readability */
}

.carousel-item .readmore {
    font-weight: 100;
    font-size: 15px;
    margin-left: 8px;
    vertical-align: middle;
    text-decoration: none;
    color: #007bff;
    transition: color 0.3s ease;
}

.carousel-item .readmore:hover {
    color: #0056b3;
}

.carousel-item .readmore .fas {
    font-size: 15px;
    margin-left: 8px;
    vertical-align: middle;
    display: inline;
}

#carouselExampleIndicators .card-body {
    height: 100%;
}

#carouselExampleIndicators .card {
    border: none;
    padding: 15px;
}

#carouselExampleIndicators .card-body:hover {
    background-color: #0948b3;
    color: white;
    transition: background-color 0.5s ease, box-shadow 0.5s ease;
    transform: scale(1.04);
    /* Expands the card on hover */

}

#carouselExampleIndicators .card:hover .readmore {
    color: white;
}

#carouselExampleIndicators .card:hover .fas {
    color: white;
}

#carouselExampleIndicators .card:hover .readmore .fas {
    color: white;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    z-index: 10;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

#carouselExampleIndicators .card {
    transition: all 0.5s ease;

}

#carouselExampleIndicators .card:hover {
    transform: scale(1.05);
}

.carousel-control-next,
.carousel-control-prev {
    filter: invert(100%);
}

/* Tab css */
ul.nav.nav-tabs li.nav-item button.nav-link {
    width: 100% !important;
    text-align: center;
    border-radius: 0;
    height: 60px;
    background: #fff;
    color: #282b2d;
}
.nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover{
    border-color: transparent !important;
    background: #dcdcdc;
}
ul.nav.nav-tabs li.nav-item button.nav-link.active {
    position: relative;
    background: #007bff;
    color: #fff !important;
}

/* Arrow below active tab */
ul.nav.nav-tabs li.nav-item button.nav-link.active::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -8px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #007bff;  
}

ul.nav.nav-tabs li.nav-item:first-child .nav-link {
    border-radius: 5px 0px 0px 5px;
}

ul.nav.nav-tabs li.nav-item:last-child .nav-link {
    border-radius: 0px 5px 5px 0px;
}

.box {
    width: 100%;
    height: auto;
    background: #fff; /*#0056b3;*/
    color: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    margin: 20px 0 5px 0;
    padding: 20px;
}
.box .boxi {
    color: #0056b3;
    font-size: 25px;
    margin-bottom: 10px;
    background: #d4e1ff;
    padding: 10px;
    border-radius: 4px;
}
.box.carousel-item .fas {
    width:unset;
}

/* Info Section */
.info_section{
    background: #002f7e; /*#0948b3;*/
    color: #fff;
    background-image: url(../../assets/images/footer-bg.png);
    position: relative !important;
    background-size: cover !important;
    overflow: hidden !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    font-size: small;
}
.brandname{
    color: #ffffff;
    font-weight: bold;
    font-size: 24px;
    margin-left: -20px;
}
a, a:hover, a:focus {
    text-decoration: none;
}
.info_section .social_box a {
    width: 45px;
    height: 45px;
    border-radius: 5px;
    color: #000;
    font-size: 24px;
}
.brand-icon-footer{
    width: 100%;
    height: 80px;
    border-radius: 5px;
    filter: drop-shadow(0px 0px 6px #fff);
    /* box-shadow: 0px 0px 12px #fff; */
}
.font12{
    font-size:12px;
}
.font23{
    font-size: 23px !important;
}
.font19{
    font-size: 19px !important;
}
.padding18{
    padding: 18px !important;
}
.padding26{
    padding: 26px !important;
}

.list-unstyled {
    line-height:2.5
}

.useful_links a{
    transition: color 0.5s ease, font-weight 0.5s ease;
    font-weight: 500 !important;
}
.useful_links a:hover{
    color: rgba(225,225,225,0.8) !important;
}
.socialIcon i{
    transition: color 0.5s ease;
    color: #fff;
}
.socialIcon i:hover{
    color:#ffcc00 !important; /*#0062ff*/
}
.footer_bg{
    background: linear-gradient(to bottom, #0d2a93e6, #063281);
    font-size: small;
    font-weight: 500;
}

/* @media(max-width:574px){
    .brandname {
        margin-left: -25rem;
    }
}
@media(max-width:340px){
    .brandname {
        margin-left: -10rem;
    }
} */


/* contact us */
.contact_bg{
    background-image: url(../../assets/images/contactUs.jpg);
    background-size: cover;
    background-position: 10% 36%;
    background-repeat: no-repeat;
    height:60vh;
    text-align: center;
}
.online-support-sec{
    text-align: center;
}
.online-support-sec .card{
    box-shadow: rgba(0, 0, 0, 0.25) 0px 0.0625em 0.0625em, rgba(0, 0, 0, 0.25) 0px 0.125em 0.5em, rgba(255, 255, 255, 0.1) 0px 0px 0px 1px inset;
    border: none;
    height:200px;
    transition: transform 0.5s ease, background-color 0.5s ease, box-shadow 0.5s ease;
}

.online-support-sec .card:hover{
    background-color: #0948b3;
    color:white;
    transform: translateY(-10px); /* Lift the card */
    box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 20px -20px;
}
.online-support-sec .card:hover .fas{
    color:white;
}

.online-support-sec .fas{
    width: 100%;
    margin: 15px 0;
    font-size: 25px;
    color: #0056b3;
}

.mob_contact_text{
    margin-top: -90px;
}
.fs-14{
    font-size: 14px !important;
}

.map-container iframe {
    border-radius: 12px;
    transition: transform 0.3s ease-in-out;
}

.map-container iframe:hover {
    transform: scale(1.03);
}

.btn-contact{
    background-color: #2F39BF !important;
    transition: background-color 0.5s ease, transform 0.5s ease;
}
.btn-contact:hover{
    background-color: #2F39BF !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px 0px rgba(51, 51, 51, 0.5);
    -moz-box-shadow: 0 10px 30px 0px rgba(51, 51, 51, 0.5);
    -webkit-box-shadow: 0 10px 30px 0px rgba(51, 51, 51, 0.5);
}


.contact-form input:focus, .contact-form textarea:focus {
    border-color: #007bff;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.25);
}
.contact-form input::placeholder, .contact-form textarea::placeholder {
    color: #6c757d;
    font-weight: 300;
}

.dropdown-item:focus, .dropdown-item {
    transition: all 0.5s ease;
}
.dropdown-item:focus, .dropdown-item:hover {
    background: #003fa9d9 !important; /* #0948b3 */
    color: white;
}
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 0;
    animation: fadeIn 0.5s forwards;
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.nav-item.dropdown .dropdown-menu {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    font-size:smaller;
}
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    animation: fadeIn 0.5s forwards;
    color: #000 !important;
    padding: 5px;
}


@media (max-width:573px){
    .header_mrg {
        margin-left: 50px !important;
    }
}
@media (max-width:768px){
    .navbar-bg {
        height: unset !important;
    }
    .contact_bg{
        padding:80px 0 70px;
    }
    .mob_contact_text{
        margin-top: -110px;
        font-size: 20px;
    }
    .contact_bg p {
        font-size: 11px;
    }
    
}
@media (max-width:991px){
    .navbar-bg {
        height: unset !important;
    }
}


@keyframes moveBar {
    from {
        left: -50%;
    }

    to {
        left: 100%;
    }
}


@keyframes slideIn {
    from {
        top: -100px;
        opacity: 0;
    }

    to {
        top: 50%;
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}



/* Home Media Queries */
@media (max-width:768px){
    section {
        padding: 35px 0;
    }
    .fs-25{
        font-size: 25px !important;
    }
    .fs-10{
        font-size: 10px !important;
    }
    .carousel-inner{
        height:380px !important;
    }
    ul#myTab li{
        width: 100%;
    } 
    .mobTab{
        display: flex;
        flex-direction: column;
        justify-content: center !important;
        align-items: center;
    }
    ul.nav.nav-tabs li.nav-item button.nav-link{
        border-top-right-radius:5px !important;
        border-bottom-right-radius:5px !important;
        border-top-left-radius:5px !important;
        border-bottom-left-radius:5px !important;
        border-bottom-left-radius:0;
        border-bottom: 0 !important;
        border-top: 0 !important;
    }
    ul.nav.nav-tabs li.nav-item:first-child .nav-link {
        border: none !important;
        border-top-right-radius:5px !important;
        border-bottom-right-radius:5px !important;
        border-top-left-radius:5px !important;
        border-bottom-left-radius:5px !important;
        border-bottom: 0 !important;
        border-top: 0 !important;
    }
    ul.nav.nav-tabs li.nav-item:last-child .nav-link {
        border:none !important;
        border-top-right-radius:5px !important;
        border-bottom-right-radius:5px !important;
        border-top-left-radius:5px !important;
        border-bottom-left-radius:5px !important;
        border-bottom: 0 !important;
        border-top: 0 !important;
    }
}



/* About Us */

.aboutbg{
    background-image: url(../../assets/images/aboutUs.jpg);
    background-size: cover;
    background-position: 10% 37%;
    background-repeat: no-repeat;
    height:60vh;
    text-align: center;
}
.team_shadow{
    box-shadow:rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px !important;
    overflow: hidden !important;
    border-bottom: 3px solid #dcdcdc;
    border-bottom-left-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
}
.mob_about_text{
    margin-top: -90px;
}
.aboutIcon{
    color:#2d364c;
}
.aboutMissionIcon{
    width: 1.5rem;
    margin-right: 1rem !important;
    margin-bottom: 1rem !important;
}
.teamImg{
    overflow: hidden;
    transition: all .5s ease;
    border-radius: 10px;
    max-height: 25rem;
    object-fit: cover;
    object-position: top;
    width: 100%;
}
.teamImg:hover{
    transform: scale(1.1);
}


@media (min-width:1024px) {
    .teamImg{
        max-height: 25rem;
    }
   
}
/* About Media Query */
@media (max-width:768px) {
    .mob_about_text{
        margin-top: -90px;
    }
    .brand-icon {
        width: 170px;
    }
    .aboutbg{
        padding: 75px 0 50px;
    }
    footer p{
        font-size: 12px;
    }

}


/* Blogs */

.blogbg{
    background-image: url(../../assets/images/blogs/blog.jpg);
    background-size: cover;
    background-position: 10% 36%;
    background-repeat: no-repeat;
    height:60vh;
    text-align: center;
}

.blog_img{
    max-height: 20rem !important;
}

.blogMainImg{
    max-height: 380px;
}

.blogMainImg {
    transition: transform 0.5s ease, filter 0.5s ease;
}

.blogMainImg:hover {
    transform: scale(1.05); /* Slight zoom */
    filter: brightness(1.1); /* Slightly brighter */
}
.ovrflowHddn{
    overflow: hidden;
    position: relative; 
}

@media (max-width:768px){
    .blog_img{
        max-height: 20rem !important;
    }
}


/* Services */
.servicebg{
    background-image: url(../../assets/images/service.jpg);
    background-size: cover;
    background-position: 10% 36%;
    background-repeat: no-repeat;
    height:60vh;
    text-align: center;
}
.feature-card {
    background: linear-gradient(145deg, #f0f4f9, #ffffff);
    border: 1px solid #dee2e6;
    border-radius: 0.75rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(3px);
  }
  .feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1) !important;;
  }
  .accordion-button{
    background: linear-gradient(539deg, #f0f4f9, #ffffff) !important;
  }
  
  
.toast {
    position: fixed;
    top:15%;
    left: 40%;
}

/* Career */
.career_bg{
    background-image: url(../../assets/images/career.jpg);
    background-size: cover;
    background-position: 10% 36%;
    background-repeat: no-repeat;
    height:60vh;
    text-align: center;
}

/* Partner logo */
.partner-logo {
    width: 110px; 
    height: 60px; 
    display: flex;
    justify-content: center;
    align-items: center;
}

.partner-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@media (max-width:475px) {

    .contact_bg{
        background-size: contain;
    }
    .aboutbg{
        background-size: contain;
    }
    .servicebg{
        background-size: contain;
    }
    .blogbg{
        background-size: contain;
    }
    .career_bg{
        background-size: contain;
    }
}