
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
/********** Template CSS **********/
:root {
    --primary: #ff0000;
    --secondary: #f1550d;
    --light: #F6F7FC;
    --dark: #3c1815;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}
h1,h2,h3,h4,h5,h6{
    font-family: "Roboto", sans-serif !important;
    font-weight: bold;
}
p, a{
    font-family: "Open Sans", sans-serif !important;
    font-weight: normal;
}
/*** 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;
}

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

.btn.btn-danger:hover {
    background: #e20000;
    border-color:#ff0000;
}

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

.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;
    border-radius: 10px;
}


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

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

.navbar .navbar-nav .nav-link {
    margin-left: 45px;
    padding: 10px 0;
    color: #fff;
    /* 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-brand img {
        max-height: 45px;
    }

    .navbar .navbar-nav {
        margin-top: 20px;
        margin-bottom: 15px;
    }

    .navbar .nav-item .dropdown-menu {
        padding-left: 30px;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        right: 0;
        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;
    text-align: start;
    z-index: 1;
}

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

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: #15233C !important;
    border: 15px solid #15233C;
    border-radius: 50px;
}

@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: url(../img/bannerImg.png) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-weight: 500;
}

.page-header .breadcrumb-item a,
.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: #696E77;
}

.page-header .breadcrumb-item a:hover,
.page-header .breadcrumb-item.active {
    color: var(--primary);
}


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

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

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

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

    .container.facts .facts-counter  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

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

    .container.facts .facts-counter  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}

.container.facts .facts-text {
    background: linear-gradient(#66626295, #605757a9), url(../img/bannerImg.png) center right no-repeat;
    background-size: cover;
}

.container.facts .facts-counter {
    background: linear-gradient(rgba(255, 255, 255, .9), rgba(255, 255, 255, .9)), url(../img/carousel-2.png) center right no-repeat;
    background-size: cover;
}

.container.facts .facts-text .h-100,
.container.facts .facts-counter .h-100 {
    padding: 6rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


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

.service-item .service-icon {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-item .service-icon img {
    max-width: 60px;
    max-height: 60px;
}

.service-item a.btn {
    color: var(--primary);
}

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


/*** Appointment ***/
.appointment {
    background: linear-gradient(#554c4c99, #91919199), url(../img/bannerImg.png) center center no-repeat;
    background-size: cover;
}

.bg-black{
background-color: #000;
}

/*** Team ***/
.team-item {
    position: relative;
    overflow: visible;
    box-shadow: 0 0 45px rgba(0, 0, 0, .09);
}

.team-item img {
    transition: .5s;
    margin-left: 20px;
    padding: 25px;
    margin-top: -92px;
}

.team-item:hover img {
    transform: scale(1.1);
}

.team-text {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: -50px;
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-text {
    bottom: 0;
    opacity: 1;
}

.team-item a.btn {
    color: var(--primary);
}

.team-item a.btn:hover {
    color: #FFFFFF;
    background: var(--primary);
    border-color: var(--primary);
}
.team-item a.twitterbtn {
    color: #000;
}

.team-item a.twitterbtn:hover {
    color: #FFFFFF;
    background: #000;
    border-color: #000;
}
.team-item a.fbbtn {
    color: #1877F2;
}

.team-item a.fbbtn:hover {
    color: #FFFFFF;
    background: #1877F2;
    border-color: #1877F2;
}
.team-item a.ytbtn {
    color: #FF0000;
}

.team-item a.ytbtn:hover {
    color: #FFFFFF;
    background: #FF0000;
    border-color: #FF0000;
}
.team-item a.linkedinbtn {
    color: #0A66C2;
}

.team-item a.linkedinbtn:hover {
    color: #FFFFFF;
    background: #0A66C2;
    border-color: #0A66C2;
}


/*** Testimonial ***/
.animated.pulse {
    animation-duration: 1.5s;
}

.testimonial-left,
.testimonial-right {
    position: relative;
}

.testimonial-left img,
.testimonial-right img {
    position: absolute;
    padding: 5px;
    border: 1px dashed var(--primary);
    border-radius: 10px;
}

.testimonial-left img:nth-child(1),
.testimonial-right img:nth-child(3) {
    width: 70px;
    height: 70px;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-left img:nth-child(2),
.testimonial-right img:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
}

.testimonial-left img:nth-child(3),
.testimonial-right img:nth-child(1) {
    width: 50px;
    height: 50px;
    bottom: 10%;
    right: 10%;
}

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

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

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

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: #e20000;
}


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

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #A7A8B4;
    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;
    color: #A7A8B4;
    margin-right: 10px;
}

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

.footer .btn.btn-square {
    color: #A7A8B4;
    border: 1px solid#A7A8B4;
}

.footer .btn.btn-square:hover {
    color: var(--secondary);
    border-color: var(--light);
}

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

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

.footer .copyright a:hover {
    color: #FFFFFF;
}

/**************************************************************************************/

.about .text-white{
    font-size: 25px !important;
}

.facts .btn, .footer input+.btn{
    background-color: #fff;
    color: #ff0000;
    border: none;
    transition: all 0.8s ease;
}
.facts .btn:hover, .footer input+.btn:hover{
    background-color: #ff0000;
    color: #fff;
}

.wow p{
    font-size: 22px ;
    line-height: 1.6 !important;
    color:#000
}

.wow h5{
    font-size: 20px !important;
}

.dropdown-item.active, .dropdown-item:active{
    background-color: #ff0000 !important;
}
 
.carousel-caption>.container>.row>.col-12.col-lg-6{
    display: block;
    background-color: #91919199;
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}
.video {
  object-fit: cover;  /* Ensure the video covers the entire area */
  width: 100%;
  height: 100%;
  z-index: -1;  /* Place the video behind other content */
}

.llyods-broker {
    /* Your Structure & Layout */
    display: flex;
    padding: 30px;
    border-radius: 25px;
    text-align: left;
    align-items: center;
    flex-grow: 1;
    box-shadow: 0 0 45px #a7a8b4;
    position: relative; /* Crucial for positioning the pseudo-element */
    overflow: hidden; /* Crucial: Hides the ::before element until it expands */
    
    /* Initial Styles (Not Hovered) */
    background: white; 
    color: black;
    
    /* Smooth Transition for Simple Properties (like color) */
    transition: color 0.4s ease-in-out; 
    
    /* Other styles from your reference (e.g., visibility, animation-name, etc.) */
    visibility: visible;
    animation-delay: 0.5s;
    animation-name: fadeInUp; 
}
.llyods-broker h4{
color:#000;
}
.llyods-broker:hover h4{
color:#ffffff;
}
.llyods-broker::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: -80%;
    right: -85%;
    transition: all 0.4s  ease-in-out;
    /* top: 0;
    right: 0;
    bottom: 0;
    left: 0; */
    z-index: 1; /* Place behind the text */
    
    /* The Gradient Background */
    background: linear-gradient(to top right, rgb(13 107 177), #101623);

    /* Initial State: Starts as a tiny circle in the top-right corner */
    transform: scale(1);
    transform-origin: 100% 0%; /* Start expansion from the TOP-RIGHT (100% X, 0% Y) */
    
    /* Apply a large, smooth transition to the scale property */
    /* transition: transform 0.2s cubic-bezier(0.19, 1, 0.22, 1); Slower, smooth transition */
    
    border-radius: 25px; /* Match the container's border-radius */
}
.llyods-broker:hover {
    /* 1. Change Text Color to White */
    color: white; 
}

.llyods-broker:hover::before {
    /* 2. Scale the gradient pseudo-element to cover the entire div */
    transform: scale(3); /* A large scale value ensures it covers the whole area */
}
.llyods-broker > * {
    position: relative; /* Give content elements a stacking context */
    z-index: 2; /* Ensure they appear above the z-index: 1 gradient */
}

/* hidden state */
/* .content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.4s ease;

} */

/* visible state on hover */
/* .box:hover .content {
  max-height: 250px; 
  opacity: 1;
  transform: rotateX(150deg);
} */

  .card{
    position: relative;
    width: 350px;
    height: 200px;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 15px 60px rgba(0,0,0, .5);
    border-radius: 15px;
  }
  
  .card .face{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .card .face.face1{
    box-sizing: border-box;
    padding: 20px;
  }
  
  .card .face.face1 h2{
    margin: 0;
    padding: 0;
  }
  
  .card .face.face1 .content p{
    font-size:16px;
    margin:0;
    padding:0 0 1em 0;
    font-weight:500;
  }
  
  .card .face.face2{
    background: #111;
    transition: 0.5s;
  }
  
  .card:nth-child(1) .face.face2{
    background: linear-gradient(45deg, #8b0000, #ff1e56);
    border-radius: 15px;
  }
  
  .card:nth-child(2) .face.face2{
   background: linear-gradient(45deg, #8b0000, #ff1e56);
    border-radius: 15px;
  }
  
  .card:nth-child(3) .face.face2{
    background: linear-gradient(45deg, #8b0000, #ff1e56);
    border-radius: 15px;
  }
    .card:nth-child(4) .face.face2{
    background: linear-gradient(45deg, #8b0000, #ff1e56);
    border-radius: 15px;
  }
    .card:nth-child(5) .face.face2{
    background: linear-gradient(45deg, #8b0000, #ff1e56);
    border-radius: 15px;
  }
    .card:nth-child(6) .face.face2{
    background: linear-gradient(45deg, #8b0000, #ff1e56);
    border-radius: 15px;
  }
  .card:nth-child(7) .face.face2{
background: linear-gradient(45deg, #000033, #0000cc);
    border-radius: 15px;
  }
  .card:nth-child(8) .face.face2{
    background: linear-gradient(45deg, #000033, #0000cc);
    border-radius: 15px;
  }
  
  .card:hover .face.face2{
    height: 45px;
    border-radius: 0 0 15px 15px;
  }
  
  .card .face.face2:before{
    content:'';
    position: absolute;
    top:0;
    left:0;
    width: 50%;
    height: 100%;
    background: rgba(255,255,255, 0.1);
    border-radius: 15px 0 0 15px;
  }
  
  .card .face.face2 h2{
    margin: 0;
    padding: 0;
    font-size: 5em;
    color: #fff;
    transition: 0.5s;
    text-shadow: 0 2px 5px rgba(0,0,0, .2);
  }
  
  .card:hover .face.face2 h2{
    font-size: 2em;
  }

  .lightfont{
font-weight: 400;
  }

  .animate-tab.active{
    background-color: #15233C !important;
    padding: 15px;
    /* width: 12%; */
    color: white;
    text-align: center;
    border-radius: 0 0 0 33px;
    transition: background-color 0.1s;
    box-shadow: -7px 2px 0px 0px #a7a8b4;
  }
    .animate-tab{
    background: #ffffff !important;
    padding: 15px;
    /* width: 12%; */
    color: #15233C;
    text-align: center;
    /* border-radius: 33px; */
    /* box-shadow: 5px 7px 0px 0px #a7a8b4; */
  }
    .animate-tab:active{
    background-color: #15233C !important;
    padding: 15px;
    width: 12%;
    color: white;
    text-align: center;
    border-radius: 0 0 0 33px;
    transition: background-color 0.1s;
  }
  .tab-filter-item-container{
        background: #e9f0f3;
    padding: 35px;
  }
  .tab-filter{
        align-items: center;
    justify-content: left;
    /* align-content: center; */
    /* gap: 20px; */
  }

  .tab-service-item {
    position: relative;
    overflow: hidden;
    border-radius: 0px 45px 0px 45px;
    background-color: #ffffff;
    box-shadow: 0 0 45px #a7a8b4;
    border: 1px solid #15233c;

}

.tab-filter .animate-tab {
  /* padding: 10px 20px; */
  /* color: white; */
  cursor: pointer;
  /* border-radius: 5px; */
  margin-right: 10px;
  transition: all 0.3s ease;
  opacity: 0.6;
}

.tab-filter .animate-tab.active {
  opacity: 1;
  transform: translateY(-3px);
}

/* Hide all content by default */
.tab-service-item {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

/* Show active content */
.tab-service-item.active {
    display: block;
}

/* Fade animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/*llyods*/
.llyord-card p {
  font-size: 17px;
  font-weight: 400;
  line-height: 20px;
  color: #666;
}

.llyord-card p.small {
  font-size: 14px;
}

.go-corner {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  width: 32px;
  height: 32px;
  overflow: hidden;
  top: 0;
  right: 0;
  background-color: #00838d;
  border-radius: 0 4px 0 32px;
}

.go-arrow {
  margin-top: -4px;
  margin-right: -4px;
  color: white;
  font-family: courier, sans;
}

.llyord-card1 {
  display: block;
  position: relative;
  max-width: 262px;
  background-color: #f2f8f9;
  border-radius: 4px;
  padding: 32px 24px;
  margin: 12px;
  text-decoration: none;
  z-index: 0;
  overflow: hidden;
}

.llyord-card1:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -16px;
  right: -16px;
  background: #00838d;
  height: 32px;
  width: 32px;
  border-radius: 32px;
  transform: scale(1);
  transform-origin: 50% 50%;
  transition: transform 0.25s ease-out;
}

.llyord-card1:hover:before {
  transform: scale(21);
}

.llyord-card1:hover p {
  transition: all 0.3s ease-out;
  color: rgba(255, 255, 255, 0.8);
}

.llyord-card1:hover h3 {
  transition: all 0.3s ease-out;
  color: #fff;
}

.llyord-card2 {
  display: block;
  top: 0px;
  position: relative;
  max-width: 262px;
  background-color: #f2f8f9;
  border-radius: 4px;
  padding: 32px 24px;
  margin: 12px;
  text-decoration: none;
  z-index: 0;
  overflow: hidden;
  border: 1px solid #f2f8f9;
}

.llyord-card2:hover {
  transition: all 0.2s ease-out;
  box-shadow: 0px 4px 8px rgba(38, 38, 38, 0.2);
  top: -4px;
  border: 1px solid #ccc;
  background-color: white;
}

.llyord-card2:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -16px;
  right: -16px;
  background: #00838d;
  height: 32px;
  width: 32px;
  border-radius: 32px;
  transform: scale(2);
  transform-origin: 50% 50%;
  transition: transform 0.15s ease-out;
}

.llyord-card2:hover:before {
  transform: scale(2.15);
}

.llyord-card3 {
  display: block;
  top: 0px;
  position: relative;
  max-width: 262px;
  background-color: #f2f8f9;
  border-radius: 4px;
  padding: 32px 24px;
  margin: 12px;
  text-decoration: none;
  overflow: hidden;
  border: 1px solid #f2f8f9;
}

.llyord-card3 .go-corner {
  opacity: 0.7;
}

.llyord-card3:hover {
  border: 1px solid #00838d;
  box-shadow: 0px 0px 999px 999px rgba(255, 255, 255, 0.5);
  z-index: 500;
}

.llyord-card3:hover p {
  color: #00838d;
}

.llyord-card3:hover .go-corner {
  transition: opactiy 0.3s linear;
  opacity: 1;
}

.llyord-card4 {
  display: block;
  top: 0px;
  position: relative;
  max-width: 262px;
  background-color: #fff;
  border-radius: 4px;
  padding: 32px 24px;
  margin: 12px;
  text-decoration: none;
  overflow: hidden;
  border: 1px solid #ccc;
}

.llyord-card4 .go-corner {
  background-color: #00838d;
  height: 100%;
  width: 16px;
  padding-right: 9px;
  border-radius: 0;
  transform: skew(6deg);
  margin-right: -36px;
  align-items: start;
  background-image: linear-gradient(-45deg, #8f479a 1%, #dc2a74 100%);
}

.llyord-card4 .go-arrow {
  transform: skew(-6deg);
  margin-left: -2px;
  margin-top: 9px;
  opacity: 0;
}

.llyord-card4:hover {
  border: 1px solid #cd3d73;
}

.llyord-card4 h3 {
  margin-top: 8px;
}

.llyord-card4:hover .go-corner {
  margin-right: -12px;
}

.llyord-card4:hover .go-arrow {
  opacity: 1;
}
.hover-text {
width: 488px;
    height: 40px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    /* background: #f1f1f1; */
    padding: 8px;
    transition: 0.3s;
    font-size: 16px !important;
}

.hover-text:hover {
  height: auto;       /* expands on hover */
  white-space: normal;
}
.bannervideocontent{
  display: flex;
  width:100%;
  height:87vh;
  align-items: center;
  justify-content: center;

}
.bannervideo{
  position: absolute;
  width:100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  top:0;
  left: 0;
  filter: brightness(80%);
}
.bannercontent{
  width: fit-content;
  padding: 20px;
  background-color: #c5c2c298;
  backdrop-filter: blur(6px);
}
@media (max-width: 550px) {
.hover-text {
  width: unset;
  height: unset;
}
}