/********** Template CSS **********/
:root {
    --primary: #ED008C;
    --secondary: #545454;
    --light: #FDF5EB;
    --dark: #1E1916;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 60px;
    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 {
    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.fixed-top {
    display: none;
 /**   transition: .5s; **/
}

.navbar .navbar-nav .nav-link {
    padding: 20px 15px;
    color: var(--dark);
    font-size: 18px;
    font-weight: 600;
    outline: none;
}

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

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

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

.navbar .navbar-brand img {
    height: 50px;
    border-radius: 25px;
  }
@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        right: 15px;
        opacity: 0;
        visibility: hidden;
    /**    transition: .5s; **/
    }

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

}


/*** Header ***/
.btn-play {
    position: relative;
    display: block;
    box-sizing: content-box;
    width: 16px;
    height: 26px;
    border-radius: 100%;
    border: none;
    outline: none !important;
    padding: 18px 20px 20px 28px;
    background: var(--primary);
}

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

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

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

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

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

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

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

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

.hero-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--secondary);
}


/*** Facts ***/
.fact-item {
    transition: .3s;
}

.fact-item:hover {
    margin-top: -10px;
    background: #FFFFFF !important;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}


/*** About ***/
.img-twice::before {
    position: absolute;
    content: "";
    width: 60%;
    height: 80%;
    top: 10%;
    left: 20%;
    border: 1rem solid var(--light);
    z-index: -1;
}


/*** Service ***/
.service-item,
.service-item * {
    transition: .3s;
}

.service-item:hover {
    margin-top: -10px;
    background: var(--primary) !important;
}

.service-item:hover * {
    color: var(--light);
}

.service-item .service-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    overflow: hidden;
    opacity: 0;
    transition: .5s;
}

.service-item:hover .service-overlay {
    opacity: 1;
}


/*** Project ***/
.project-item {
    position: relative;
}

.project-item .project-title {
    position: absolute;
    top: auto;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    padding: 1rem;
    text-align: center;
    background: #FFFFFF;
    transition: .5s;
}

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


/*** Team ***/
.team-img::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    border: 30px solid;
    border-color: transparent transparent #FFFFFF transparent;      
}

@media (min-width: 576px) {
    .flex-sm-row .team-img::after,
    .flex-lg-row-reverse .team-img::after {
        top: 50%;
        right: 0;
        bottom: auto;
        left: auto;
        transform: translateY(-50%);
        border-color: transparent #FFFFFF transparent transparent;
    }
}

@media (min-width: 576px) and (max-width: 991.98px) {
    .flex-sm-row-reverse .team-img::after {
        top: 50%;
        right: auto;
        bottom: auto;
        left: 0;
        transform: translateY(-50%);
        border-color: transparent transparent transparent #FFFFFF;
    }
}

@media (min-width: 992px) {
    .flex-lg-row-reverse .team-img::after,
    .flex-sm-row-reverse .team-img::after {
        top: 50%;
        right: auto;
        bottom: auto;
        left: 0;
        transform: translateY(-50%);
        border-color: transparent transparent transparent #FFFFFF;
    }

    .flex-sm-row-reverse.flex-lg-row .team-img::after {
        top: 50%;
        right: 0;
        bottom: auto;
        left: auto;
        transform: translateY(-50%);
        border-color: transparent #FFFFFF transparent transparent;
    }
}


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item img {
    width: 60px;
    height: 60px;
}

.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item .testimonial-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item * {
    color: #FFFFFF !important;
}

.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 12px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    font-size: 22px;
    color: var(--light);
    background: var(--primary);
    transition: .5s;
}

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


/*** Footer ***/
@media (min-width: 992px) {
    .footer::after {
        position: absolute;
        content: "";
        width: 1px;
        height: 100%;
        top: 0;
        left: 50%;
        background: var(--secondary);
    }
}

.footer-shape::before {
    position: absolute;
    content: "";
    width: 80px;
    height: 100%;
    top: 0;
    left: -40px;
    background: var(--secondary);
    transform: skew(40deg);
}

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

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

.snippet-item-font{
font-family: Noto Sans Sinhala, Open Sans, sans-serif;
}

.custom-image {
    position: relative;
    top: -20px; /* Adjust the top position as needed */
    left: -10px; /* Adjust the left position as needed */
  }

.w-50-50 {
    width: 70% !important;
    height: auto;
}


.carousel-item {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-item.active {
    opacity: 1;
}


.hot-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #ED008C;
    color: white;
    padding: 5px;
    border-radius: 5px;
    font-weight: bold;
}

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

.btn:clicked{
    background-color: var(--secondary);
}

.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
}

.marquee-text {
    display: inline-block;
    animation: marquee 30s linear infinite; /* Adjust duration as needed */
    color: #ED008C;
    text-wrap: bold;
}

@keyframes marquee {
    0% {
        transform: translateX(100%);
        width: 100%;
    }
    100% {
        transform: translateX(-100%);
        width: 100%;
    }
}

.bordered-div {
    border: 2px solid black;
    padding: 10px;
}

.highlight-span {
    background-color: yellow;
    font-weight: bold;
}

.brick-background {
    position: relative;
    padding: 20px;
}

.brick-row {
    display: flex;
}

.brick {
    width: 50px;
    height: 25px;
    background: #8b4513; /* Brick color */
    border: 1px solid #5b2b00; /* Brick border color */
    box-shadow: inset 2px 2px 2px #5b2b00; /* Brick shadow */
    margin-right: 5px;
    margin-bottom: 5px;
}

.brick::before,
.brick::after {
    content: '';
    display: block;
    width: 100%;
    height: 50%;
    background: inherit;
    position: absolute;
}

.brick::before {
    top: -50%;
}

.brick::after {
    bottom: -50%;
}


.navbar2 {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    overflow:visible !important;
} 

.navbar2-nav-scroll{max-height:0(--bs-scroll-height, 0vh); }


.hidden {
    display: none !important;
}

.nomargine {
    margin:  0px;
}

.box {
    /* width: 200px;
    height: 200px; */
    background-color: #FDF5EB ; /* Set the background color */
    border: 2px solid var(--primary); /* Set the border color and width */
    border-radius: 10px; /* Optional: Add rounded corners */
    margin: 20px; /* Add some margin for spacing */
    display: flex;
    align-items: center;
    /* justify-content: center; */
    color: #ffffff; /* Set the text color */
    font-size: 18px; /* Set the font size */
  }

  .user-profile-container {
    background-color:  #FDF5EB 5;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    transition: background-color 0.3s ease;
  }

  .user-profile-container:hover {
    background-color: var(--primary);
  }



  .avatar-container {
    float: left;
    margin-right: 20px;
  }

  .avatar-container img {
    width: 100px; /* Set your desired fixed width for the avatar */
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
  }

  .user-details {
    overflow: hidden; /* Clear the float */
    width: 100%;
  }

  .user-details p {
    margin: 0 10%;
    text-align: left;
    color: var(--dark)
  }


  .search-panel {
    
    /* top: 0;
    left: 0; */
    width: 210px;
    /* padding: 20px; */
    background-color: #FDF5EB !important;
    border-right: 2px solid var(--primary);
    height: 80vh;
    overflow-y: auto;
    transition: left 0.3s ease;
    z-index: 1;
  }

  .search-panel.active {
    left: 0;
  }

  .content {
    margin-top: 20px;
    padding: 20px;
    transition: margin-left 0.3s ease;
  }
  
  .mbc {
    margin-bottom: 2%;
    font-weight: bold;
    

  }

  .toggle-button {
    display: none;
    /* position: fixed; */
    top: 10px;
    left: 10px;
    /* padding: 5%; */
    cursor: pointer;
    z-index: 1000;
  }

  @media (max-width: 767px) {
    .search-panel {
      left: -200px; /* Initially hidden off-screen on mobile */
      position: fixed;
    }

    .search-panel.active {
      left: 0;
    }

    .content {
      margin-left: 0;
    }

    .toggle-button {
      display: block; /* Display the toggle button only on mobile */
    }
  }


  #loader-wrapper {
    position: fixed;
    z-index: 1000;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

#loader {
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #ED008C;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.form-label{


   font-weight: bold; !important
}