/* Custom CSS Script added by @Sabin Maharjan */

.video-section {
    padding-bottom: 80px !important;
    background-color: #e0e0e0 !important;
    padding-top: 20px !important;
    padding-right: 20px !important;
    padding-left: 20px !important;
}

.example1 {
        height: 50px;
        margin-top: 165px;
        overflow: hidden;
        position: relative;
        background: crimson;
    }
    .example1 ul {
        display: inline-flex;
        margin: 0;
        padding: 0;
        list-style: none;
        position: absolute;
        width: 100%;
        height: 100%;
        animation: example1 15s linear infinite;
    }
    .example1 li {
        display: inline-block;
        padding: 5px 20px;
        line-height: 50px;
        white-space: nowrap;
    }
    .example1 a {
        font-size: 1em;
        font-weight: 800;
        color: #FFFFFD;
        text-decoration: none;
    }
    @keyframes example1 {
        0% {
            transform: translateX(100%);
        }
        100% {
            transform: translateX(-100%);
        }
    }
    .example1 ul:hover {
        animation-play-state: paused;
    }
    .label{
        background: royalblue;
        padding-top:20px;
        padding-bottom: 24px;
        z-index: 9;
        position: relative;
    }
    .label h4{
        display: inline-grid;
        color: #fff;
        margin: 15px 10px 24px 10px;
    }
    /*Slider CSS starts */
    .slider-container {
        position: relative;
        width: 100%;
        max-width: 100%; /* Adjust according to your needs */
        margin: auto;
    }

    .slider-item img {
        width: 100%;
        height: auto;
    }

    .slider-item::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.2); /* Adjust the color and opacity as needed */
        z-index: 1;
    }

    .slider-title {
        position: absolute;
        bottom: 20px;
        left: 20px;
        color: #fff;
        background-color: rgba(0, 0, 0, 0.5);
        padding: 10px;
        font-size: 24px;
    }

    .owl-nav {
        position: absolute;
        top: 62%;
        width: 100%;
        display: flex;
        justify-content: space-between;
        transform: translateY(-50%);
    }

    .owl-nav button {
        background-color: rgba(0, 0, 0, 0.5);
        color: white !important;
        border: none !important;
        padding: 10px 20px;
        cursor: pointer !important;
        font-size: 70px !important;
    }

    .owl-nav button.owl-prev {
        position: absolute;
        left: 10px;
    }

    .owl-nav button.owl-next {
        position: absolute;
        right: 10px;
    }

    .owl-dots {
        position: absolute;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
    }

    .owl-dots .owl-dot {
        width: 10px;
        height: 10px;
        margin: 0 5px;
        background-color: rgba(0, 0, 0, 0.5);
        border-radius: 50%;
        cursor: pointer;
    }
    @media (min-width: 1024px) {
        .slider-item img {
            margin-top: 80px;
            height: 88vh; /* Adjust the height as needed */
            object-fit: cover;
        }
    }
    @media (min-width: 768px) {
    .content-section-spacing {
        padding-top: 80px;
        padding-bottom: 80px;
    }
}
    .m-rl-20{
         margin: 0 auto !important;
    }
    .quick-links-1{
        padding: 10px 0;
        background-color: #f7661c;
        text-align: center;
    }
    .quick-links-1 h3, 
    .quick-links-2 h3{
        display: inline-block;
        margin-left: 10px;
    }
    .quick-links-1 i.fa, 
    .quick-links-2 i.fa{
        color: #fff;
    }
    .quick-links-1 i.fa.icon, 
    .quick-links-2 i.fa.icon{
        font-size: 16px
    }
    .quick-links-1 h3 a{
        color: #ffffff;
        font-size: 16px;
        text-decoration: none;
        align-content: center;
    }
    .quick-links-2{ 
        padding: 10px 0;
        background-color: #0080d4;
        text-align: center;
    }
    .quick-links-2 h3 a{
        color: #ffffff;
        font-size: 16px;
        text-decoration: none;
        align-content: center;
    }
    .content-column{
        padding-right: 30px;
    }
    .content-column p{
        text-align: justify !important;
    }

        .icon-slider-container {
            position: relative;
            width: 90%; /* Fixed width */
            margin: auto;
            padding: 20px 0;
            align-items: center;
        }
        .icon-slider-container .icon{
            height: 15vh;
        }

        .icon-item {
            text-align: center;
            padding: 10px;
            width: 50%; /* 20% width for each icon item */
            box-sizing: border-box;
            margin-top: 15px
        }

        .icon-item a{ 
            text-decoration: none;
        }


        .icon-item img {
            width: 100%; /* Ensure images fit within their container */
            height: auto; /* Maintain aspect ratio */
        }

        .icon-item h4 {
            margin-top: 10px;
            font-size: 16px; /* Adjust the size of the text */
            
        }

        .icon-carousel .owl-nav {
            position: absolute;
            top: 50%;
            width: 100%;
            display: flex;
            justify-content: space-between;
            transform: translateY(-50%);
        }

        .icon-carousel .owl-nav button {
            background-color: rgba(0, 0, 0, 0.5);
            color: white;
            border: none;
            padding: 10px;
            cursor: pointer;
        }

        .icon-carousel .owl-dots {
            text-align: center;
            margin-top: 20px;
        }

        .icon-carousel .owl-dots .owl-dot {
            width: 10px;
            height: 10px;
            margin: 0 5px;
            background-color: rgba(0, 0, 0, 0.5);
            border-radius: 50%;
            cursor: pointer;
        }

        .team-5 .gridContainer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.team-5 .icon-slider-container .row {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.team-5 .col-md-2, .team-5 .col-sm-4, .team-5 .col-xs-6 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.team-5 .icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.team-5 .icon img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.team-5 h4 {
    margin-top: 10px;
    text-align: center;
}

.header-top-bar, .footer-content {
    background-color: #0080d4 !important;
}
.footer-bg-accent{
    background-color: #f7661c !important; 
}
.footer-content-lists a{
    color: #fff !important; 
}
.footer-content-lists a:hover   {
    color: #fff !important;
}

/* === Modal (popup) base styles === */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.6); /* dark overlay */
  justify-content: center;
  align-items: center;
  overflow: auto;
}

/* Fade animation */
.modal.fade {
  opacity: 0;
  transition: opacity 0.3s ease;
}
.modal.show {
  display: flex;
  opacity: 1;
}

/* Modal dialog (centered box) */
.modal-dialog {
  background: #fff;
  border-radius: 8px;
  max-width: 900px;
  width: 90%;
  margin: 20px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  animation: popIn 0.3s ease-out;
}

@keyframes popIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Modal header */
.modal-header {
  background: #fff;
  color: #fff;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

/* Close button */
.modal-header .close {
  background: none;
  border: none;
  color: #000000;
  font-size: 22px;
  cursor: pointer;
  opacity: 0.8;
  z-index: 99999;
}
.modal-header .close:hover {
  opacity: 1;
}

/* Modal title */
.modal-title {
  font-size: 18px;
  margin: 0;
}

/* Modal body */
.modal-body {
  padding: 20px;
  text-align: center;
}

/* Image inside popup */
.modal-body img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Optional small fade animation for image */
.modal-body img:hover {
  transform: scale(1.02);
  transition: 0.3s ease;
}
