
/*** Spinner Start ***/
/*** 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;
}
/*** Spinner End ***/

/*** Gallery Carousel Start ***/
.gallery-carousel {
    position: relative;
}

.gallery-carousel-item {
    padding: 0 10px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    height: 300px;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: fill;
    transition: transform 0.3s ease;
}

/* Non-cropping: hilangkan efek zoom agar gambar tidak terpotong */
/* .gallery-item:hover .gallery-image { transform: scale(1.05); } */

/* Owl Carousel Navigation */
.gallery-carousel .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: calc(100% + 80px);
    left: -40px;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 100;
    height: 60px;
}

.gallery-carousel .owl-prev,
.gallery-carousel .owl-next {
    pointer-events: all !important;
    position: relative !important;
    z-index: 101 !important;
}

.gallery-carousel .owl-nav button {
    background: #0d6efd !important;
    border: none !important;
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 24px !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    pointer-events: all !important;
    transition: all 0.4s ease !important;
    margin: 0 15px !important;
    cursor: pointer !important;
    position: relative;
    overflow: hidden;
    z-index: 10;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none !important;
}

.gallery-carousel .owl-nav button:hover {
    background: #0b5ed7 !important; /* Darker shade of primary color */
    color: white !important;
    transform: scale(1.05) !important;
}

.gallery-carousel .owl-nav button span {
    font-size: 28px !important;
    line-height: 1 !important;
    position: relative;
    z-index: 1;
}

.gallery-carousel .owl-nav button.owl-prev {
    margin-left: 0 !important;
}

.gallery-carousel .owl-nav button.owl-next {
    margin-right: 0 !important;
}

.gallery-carousel .owl-dots {
    text-align: center;
    margin-top: 25px;
}

.gallery-carousel .owl-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #ccc;
    margin: 0 8px;
    transition: all 0.3s ease;
}

.gallery-carousel .owl-dot.active {
    background: var(--bs-primary);
    transform: scale(1.2);
}
/*** Certification Carousel (carausel3grid) Nav Controls ***/
.carausel3grid {
    position: relative;
}

.carausel3grid .owl-nav {
    /* Tempatkan controller di luar gambar: bawah container */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    pointer-events: none;
    z-index: 100;
    height: 60px;
}

.carausel3grid .owl-prev,
.carausel3grid .owl-next {
    pointer-events: all !important;
    position: relative !important;
    z-index: 101 !important;
}

.carausel3grid .owl-nav button {
    background: var(--bs-primary) !important;
    border: none !important;
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 24px !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    pointer-events: all !important;
    transition: all 0.4s ease !important;
    margin: 0 15px !important;
    cursor: pointer !important;
    position: relative;
    overflow: hidden;
    z-index: 10;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none !important;
}

.carausel3grid .owl-nav button:hover {
    background: var(--bs-secondary) !important;
    color: white !important;
    transform: scale(1.05) !important;
}

.carausel3grid .owl-nav button span {
    font-size: 28px !important;
    line-height: 1 !important;
    position: relative;
    z-index: 1;
}

.carausel3grid .owl-nav button.owl-prev {
    margin-left: 0 !important;
}

.carausel3grid .owl-nav button.owl-next {
    margin-right: 0 !important;
}

/* Pastikan nav tetap tampil walau Owl menandai disabled */
.carausel3grid .owl-nav.disabled {
    display: flex !important;
}

/* Penyesuaian mobile agar tombol tidak keluar dari container */
@media (max-width: 576px) {
  .carausel3grid .owl-nav {
    width: 100%;
    left: 0;
    padding: 0 6px;
  }
  .carausel3grid .owl-nav button {
    width: 44px !important;
    height: 44px !important;
    font-size: 20px !important;
    margin: 0 8px !important;
  }

  /* Perbesar gambar sertifikasi di mobile agar lebih jelas */
  .carausel3grid .gallery-item {
    height: 420px !important;
  }
  .carausel3grid .gallery-image {
    object-fit: unset !important;
  }
}

/* Tablet: sedikit lebih besar dari default */
@media (min-width: 576px) and (max-width: 768px) {
  .carausel3grid .gallery-item {
    height: 360px !important;
  }
  .carausel3grid .gallery-image {
    object-fit: contain !important;
  }
}

/*** Gallery Modal Start ***/
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.gallery-modal-content {
    position: relative;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 1200px;
    top: 50%;
    transform: translateY(-50%);
}

.gallery-modal-image {
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.gallery-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1;
}

.gallery-close:hover,
.gallery-close:focus {
    color: #f44336;
    transform: scale(1.2);
}

.gallery-modal-caption {
    text-align: center;
    color: white;
    font-size: 18px;
    padding: 15px 0;
    margin-top: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .gallery-item {
        height: 200px;
    }
    
    .gallery-modal-content {
        width: 95%;
    }
    
    .gallery-close {
        top: -40px;
        font-size: 30px;
    }
    
    .gallery-carousel .owl-nav button {
        width: 40px !important;
        height: 40px !important;
        font-size: 16px !important;
    }
}

@media (max-width: 576px) {
    .gallery-item {
        height: 150px;
    }
    
    .gallery-carousel-item {
        padding: 0 5px;
    }
}
/*** Gallery Modal End ***/
/*** Gallery Carousel End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    transition: 0.5s;
    z-index: 99;
}

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

/* Patuh Toggle Styles */
.patuh-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 10px 12px;
    color: #212529;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.02);
}
.patuh-toggle:hover {
    background: #f8f9fa;
}
.patuh-label {
    font-weight: 500;
}
.patuh-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 100%;
    border-left: 1px solid #dee2e6;
}
.patuh-arrow i {
    transition: transform 0.2s ease, color 0.2s ease;
    color: #6c757d;
}
.patuh-toggle[aria-expanded="true"] .patuh-arrow i {
    transform: rotate(0deg); /* aktif: panah ke bawah */
}
.patuh-toggle[aria-expanded="false"] .patuh-arrow i {
    transform: rotate(180deg); /* non-aktif: panah ke atas */
}

/* Warna utama saat hover/aktif untuk label dan panah */
.patuh-label {
    color: #212529;
    transition: color 0.2s ease;
}
.patuh-toggle:hover .patuh-label,
.patuh-toggle:focus .patuh-label,
.patuh-toggle[aria-expanded="true"] .patuh-label {
    color: var(--bs-primary);
}
.patuh-toggle:hover .patuh-arrow i,
.patuh-toggle:focus .patuh-arrow i,
.patuh-toggle[aria-expanded="true"] .patuh-arrow i {
    color: var(--bs-primary);
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-xl-square {
    width: 66px;
    height: 66px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.btn-primary {
    color: var(--bs-white);
}

.btn.btn-primary:hover {
    background: var(--bs-secondary);
    border: 1px solid var(--bs-secondary);
}

.btn.btn-secondary {
    color: var(--bs-white);
   
}

.btn.btn-secondary:hover {
    background: var(--bs-primary);
    border: 1px solid var(--bs-primary);
}
/*** Topbar Start ***/

/*** Navbar ***/
.navbar-light .navbar-nav .nav-link {
    position: relative;
    margin-right: 25px;
    padding: 35px 0;
    color: var(--bs-white);
    font-size: 17px;
    font-weight: 400;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--bs-dark);
}

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

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

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

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

.dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light);
    transition: .5s;
    opacity: 1;
}

  @media (max-width: 991.98px) {
    /* Override all navbar styles for mobile to prevent duplication */
    .navbar-light,
    .sticky-top.navbar-light {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 9999 !important;
        background: var(--bs-white) !important;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        height: auto;
        padding: 0.5rem 0;
    }

    /* Remove any absolute positioning that might cause duplication */
    .navbar-light {
        position: fixed !important;
        transform: none !important;
    }

    /* Hilangkan gap putih di bawah navbar pada mobile */
    body {
        padding-top: 80px !important;
        margin-top: 0 !important;
    }

    /* Pastikan carousel tepat di bawah navbar fixed */
    .carousel-header {
        margin-top: 0px !important;
        position: relative;
        z-index: 1;
        margin-bottom: 0 !important;
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 10px 20px;
        border: 1px solid var(--bs-primary);
        color: var(--bs-primary);
    }

    .navbar-light .navbar-collapse {
        margin-top: 0 !important;
        border-top: none !important;
    }

    /* Saat collapse tertutup, jangan sisakan ruang tambahan */
    .navbar-collapse.collapse:not(.show) {
        margin-top: 0 !important;
        border-top: none !important;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--bs-dark);
    }

    /* Pastikan item menu aktif tetap berwarna utama di mobile */
    .navbar-light .navbar-nav .nav-link.active,
    .sticky-top.navbar-light .navbar-nav .nav-link.active,
    .navbar-light .nav-item.dropdown.active > .nav-link.dropdown-toggle {
        color: var(--bs-primary) !important;
    }

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

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 10px;
        transition: .5s;
        opacity: 0;
    }

    .navbar-light {
        position: relative; /* Pastikan tidak overlay dengan carousel */
        width: 100%;
        background: var(--bs-white); /* Navbar tidak transparan */
        border-bottom: 1px solid rgba(0,0,0,0.1);
        /* Pastikan navbar berada di atas konten gambar/carousel namun di bawah modal/lightbox */
        z-index: 1050;
    }

    /* Samakan ukuran navbar dengan gaya sticky (lebih kecil) */
    .navbar-light .navbar-nav .nav-link {
        padding: 20px 0;
        color: var(--bs-dark);
    }

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }
    
    .sticky-top.navbar-light {
        position: fixed;
        background: var(--bs-light);
        border: none;
        /* Sticky navbar harus juga memiliki z-index lebih tinggi agar tidak tertutup gambar */
        z-index: 1050;
    }

    .navbar-light .navbar-nav .nav-item::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        background: var(--bs-primary);
        transition: .5s;
    }

    .sticky-top.navbar-light .navbar-nav .nav-item::before {
        bottom: 0;
    }

    .navbar-light .navbar-nav .nav-item::after {
        content: "";
        position: absolute;
        bottom: 1px;
        left: 50%;
        transform: translateX(-50%);
        border: 10px solid;
        border-color: transparent transparent var(--bs-primary) transparent;
        opacity: 0;
        transition: 0.5s;
    }

    .navbar-light .navbar-nav .nav-item:hover::after,
    .navbar-light .navbar-nav .nav-item.active::after {
        bottom: 1px;
        opacity: 1;
    }

    .navbar-light .navbar-nav .nav-item:hover::before,
    .navbar-light .navbar-nav .nav-item.active::before {
        width: calc(100% - 2px);
        left: 1px;
    }

    .navbar-light .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }
}
/*** Carousel Hero Header Start ***/
.carousel-header {
    position: relative;
    overflow: hidden;
}

.carousel-indicators {
    display: none;
}

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

.carousel .carousel-control-prev .carousel-control-prev-icon,
.carousel .carousel-control-next .carousel-control-next-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 25px 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bs-primary);
    transition: 0.5s;
}

.carousel .carousel-control-prev .carousel-control-prev-icon {
    left: 0;
    border-left: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 50px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 50px;

}

.carousel .carousel-control-next .carousel-control-next-icon {
    right: 0;
    border-right: 0;
    border-top-left-radius: 50px;
    border-top-right-radius: 0;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 0;
}

.carousel .carousel-control-prev .carousel-control-prev-icon:hover,
.carousel .carousel-control-next .carousel-control-next-icon:hover {
    background: var(--bs-secondary);
}

.carousel .carousel-inner .carousel-item {
    position: relative;
}

.carousel .carousel-inner .carousel-item .carousel-caption-1  {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding-top: 100px;
    display: flex;
    align-items: center;
    justify-content: end;
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, 0.5));
    background-size: cover;
}

.carousel-caption-1-content {
    text-align: end;
    padding-right: 100px;
}

.carousel-caption-1-content .carousel-caption-1-content-btn {
    display: flex;
    justify-content: end;
}

.carousel .carousel-inner .carousel-item .carousel-caption-2  {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding-top: 100px;
    display: flex;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, 0.5));
    background-size: cover;
}

.carousel-caption-2-content {
    text-align: start;
    padding-left: 100px;
}

.carousel-caption-2-content .carousel-caption-2-content-btn {
    display: flex;
    justify-content: start;
}


@media (max-width: 992px) {
    /* Make carousel images responsive on small screens: remove fixed heights
       so images scale naturally and keep aspect ratio. */
    .carousel .carousel-inner .carousel-item {
        height: auto;
        margin-top: 0;
    }

    .carousel .carousel-inner .carousel-item img {
        width: 100%;
        height: auto; /* allow natural aspect ratio */
        object-fit: cover; /* keeps image filling the area when both dims set */
        display: block;
        max-width: 100%;
    }


    .carousel .carousel-inner .carousel-item .carousel-caption-1 {
        max-width: 100% !important;
        justify-content: center;
    }

    .carousel-caption-1-content {
        padding: 0 20px !important;
        text-align: center !important;
    }

    .carousel-caption-1-content .carousel-caption-1-content-btn {
        justify-content: center;
    }


    .carousel .carousel-inner .carousel-item .carousel-caption-2 {
        max-width: 100% !important;
        justify-content: center;
    }

    .carousel-caption-2-content {
        padding: 0 20px !important;
        text-align: center !important;
    }

    .carousel-caption-2-content .carousel-caption-2-content-btn {
        justify-content: center;
    }



    /* Show larger prev/next controls on small screens (override desktop-hidden style)
       Keep visual style similar to desktop: give controls width and show the icon containers. */
    .carousel .carousel-control-prev,
    .carousel .carousel-control-next {
        /* match bootstrap default so controls occupy space and are tappable */
        width: 15%;
    }

  .carousel .carousel-control-prev .carousel-control-prev-icon,
  .carousel .carousel-control-next .carousel-control-next-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    /* slightly reduced padding for smaller screens */
    padding: 18px;
    transition: 0.25s;
  }
}

/* Mobile-specific carousel improvements */
@media (max-width: 576px) {
  .carousel .carousel-inner .carousel-item {
    min-height: 50vh;
  }

  .carousel .carousel-inner .carousel-item img {
    min-height: 50vh;
    object-fit: cover;
    object-position: center;
  }

  .carousel .carousel-inner .carousel-item .carousel-caption-1,
  .carousel .carousel-inner .carousel-item .carousel-caption-2 {
    padding-top: 60px !important;
  }

  .carousel-caption-1-content,
  .carousel-caption-2-content {
    padding: 0 15px !important;
  }

  .carousel-caption-1-content h1,
  .carousel-caption-2-content h1 {
    font-size: 1.5rem !important;
    line-height: 1.2;
    margin-bottom: 0.5rem !important;
  }

  .carousel-caption-1-content h4,
  .carousel-caption-2-content h4 {
    font-size: 0.875rem !important;
    margin-bottom: 0.5rem !important;
  }

  .carousel-caption-1-content p,
  .carousel-caption-2-content p {
    font-size: 0.875rem !important;
    margin-bottom: 1rem !important;
    line-height: 1.4;
  }

  .carousel-caption-1-content .btn,
  .carousel-caption-2-content .btn {
    padding: 0.5rem 1rem !important;
    font-size: 0.75rem !important;
    margin: 0.25rem !important;
  }

  .carousel-caption-1-content .carousel-caption-1-content-btn,
  .carousel-caption-2-content .carousel-caption-2-content-btn {
    flex-direction: column !important;
    align-items: center !important;
  }

  /* Make navigation buttons smaller and more accessible on mobile */
  .carousel .carousel-control-prev,
  .carousel .carousel-control-next {
    width: 10%;
  }

  .carousel .carousel-control-prev .carousel-control-prev-icon,
  .carousel .carousel-control-next .carousel-control-next-icon {
    padding: 12px !important;
    border-radius: 50% !important;
  }

  .carousel .carousel-control-prev .carousel-control-prev-icon i,
  .carousel .carousel-control-next .carousel-control-next-icon i {
    font-size: 1.5rem !important;
  }
}

.modal .modal-header {
  height: 100px;
}

#searchModal .modal-content {
    background: rgba(255, 255, 255, .6);
}
/*** Carousel Hero Header End ***/

/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(0, 20, 66, 0.7), rgba(0, 20, 66, 0.7)), url(../img/breadcrumb.jpg);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 40px 0 10px 0;
    transition: 0.5s;
}

.bg-breadcrumb .breadcrumb {
    position: relative;
}

.bg-breadcrumb .breadcrumb .breadcrumb-item a {
    color: var(--bs-white);
}

@media (max-width: 992px) {
    .bg-breadcrumb {
        padding: 60px 0 10px 0;
    }
}

/* Mobile-specific improvements to prevent breadcrumb image from cropping */
@media (max-width: 576px) {
    .bg-breadcrumb {
        /* Keep gradient covering while the image scales to fit */
        background-position: center top, center top;
        background-size: cover ;
        /* cover, contain Increase vertical space so important image area is visible */
        padding: 20px 0 0 0;
        min-height: 1px;
    }
}
/*** Single Page Hero Header End ***/


/*** Features Start ***/
.feature .feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--bs-white);
    border-radius: 10px;
    transition: 0.5s;
}

.feature .feature-item:hover {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.feature .feature-item .feature-icon {
    width: 100px;
    height: 100px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bs-primary);
}

.feature .feature-item .feature-icon i {
    transition: 0.5s;
}

.feature .feature-item:hover .feature-icon i {
    transform: rotate(360deg);
}

.feature .feature-item a.btn {
    transition: 0.5s;
}

.feature .feature-item:hover a.btn:hover {
    color: var(--bs-primary) !important;
}
/*** Features End ***/

/*** About Start ***/
.about .about-img {
    position: relative;
    padding-bottom: 30px;
    margin-top: 30px; 
    margin-left: 30px;
}

.about .about-img::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 10px;
    top: -30px;
    right: 0;
    border-radius: 10px;
    background: var(--bs-secondary);

}

.about .about-img::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 100%;
    left: -30px;
    bottom: 30px;
    border-radius: 10px;
    background: var(--bs-secondary);
}

.about .about-img .about-exp {
    position: absolute;
    top: 0;
    left: 0;
    padding: 15px;
    font-size: 30px;
    font-weight: bold;
    background: var(--bs-secondary);
    color: var(--bs-white);
    border: 1px solid var(--bs-secondary);
    margin-top: -30px;
    margin-left: -30px;
    border-radius: 10px;
}
/*** About End ***/

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

.service-item::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    left: 0;
    bottom: 0;
    border-radius: 10px;
    background: var(--bs-primary);
    transition: 0.5s;
    z-index: 1;
}

.service-item:hover::after {
    width: 100%;
    height: 100%;
}

.service-item:hover .service-content,
.service-item:hover .service-btn {
    position: relative;
    z-index: 2;
}

.service-item .service-content a,
.service-item .service-content p {
    transition: 0.5s;
}

.service-item:hover .service-content a:hover {
    color: var(--bs-secondary);
}

.service-item:hover .service-content p {
    color: var(--bs-white);
} 

.service-item .service-btn {
    width: 80px;
    height: 80px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bs-primary);
    transition: 0.5s;
}

.service-item .service-btn i {
    transition: 0.5s;
}

.service-item:hover .service-btn {
    background: var(--bs-white);
}

.service-item:hover .service-btn i {
    transform: rotate(360deg);
    color: var(--bs-primary) !important;
}
/*** Service End ***/


/*** Counter Start ***/
.counter {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(25, 64, 154, 0.9), rgba(25, 64, 154, 1)), url(../img/fact-bg.jpg);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
}

.counter .counter-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.counter .counter-item .counter-item-icon {
    width: 100px;
    height: 100px;
    border-radius: 50px;
    background: var(--bs-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
/*** Counter End ***/


/*** Products Start ***/
.product .product-item {
    border: 1px solid rgba(196, 211, 211, 0.9);
    border-radius: 10px;
}

/*** Products End ***/

/*** Blog Start ***/
.blog .blog-item {
    border-radius: 10px;
    background: var(--bs-light);
    transition: 0.5s;
}

.blog .blog-item:hover {
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.2);
}

.blog .blog-item .blog-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.blog .blog-item .blog-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    transition: 0.5s;
    z-index: 1;
}

.blog .blog-item .blog-img img {
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img img {
    transform: scale(1.2);
}

.blog .blog-item:hover .blog-img::after {
    background: rgba(0, 209, 249, 0.2);
}

.blog .blog-item .blog-date {
    position: absolute;
    top: 25px;
    left: 25px;
    border-radius: 10px;
    background: var(--bs-primary);
    color: var(--bs-white);
    z-index: 2;
}

.blog .blog-item .blog-content a {
    transition: 0.5s;
}

.blog .blog-item:hover .blog-content a:hover {
    color: var(--bs-primary) !important;
}
/*** Blog End ***/

/*** Team Start ***/
.team .team-item {
    position: relative;
    overflow: hidden;
    background: var(--bs-white);
    border: 1px solid var(--bs-secondary);
    border-radius: 10px;
}

.team .team-item .team-inner {
    transition: 0.5s;
}
.team .team-item:hover .team-inner {
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.2);
}

.team .team-item .team-inner .team-img {
    position: relative;
    z-index: 2;
}

.team .team-item .team-inner .team-img::after {
    content: "";
    width: 100%;
    height: 0;
    position: absolute;
    top: 0;
    left: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: rgba(0, 209, 249, 0.2);
    transition: 0.5s;
    z-index: 3;
}

.team .team-item:hover .team-inner .team-img::after {
    height: 100%;
}

.team .team-item .team-inner .team-img .team-share {
    position: absolute;
    left: 10px;
    bottom: 10px;
    transition: 0.5s;
    z-index: 2;
}

.team .team-item:hover .team-inner .team-img .team-share {
    opacity: 0;
}

.team .team-item .team-inner .team-img .team-icon {
    position: absolute;
    bottom: 0;
    left: -100%;
    border-bottom-left-radius: 0 !important; 
    border-top-left-radius: 0 !important;
    display: inline-flex;
    background: var(--bs-primary);
    transition: 0.5s;
    z-index: 4;
}

.team .team-item:hover .team-inner .team-img .team-icon { 
    left: -25px; 
}
/*** Team End ***/


/*** testimonial Start ***/
.testimonial .owl-nav .owl-prev {
    position: absolute;
    top: -58px;
    right: 0;
    background: var(--bs-primary);
    color: var(--bs-white);
    padding: 5px 30px;
    border-radius: 30px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-prev:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.testimonial .owl-nav .owl-next {
    position: absolute;
    top: -58px;
    right: 88px;
    background: var(--bs-primary);
    color: var(--bs-white);
    padding: 5px 30px;
    border-radius: 30px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-next:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.testimonial-carousel .owl-dots {
    display: flex;
    justify-content: center;
    margin-left: 20px;
    margin-top: 20px;
}

.testimonial-carousel .owl-dots .owl-dot {
    width: 20px;
    height: 20px;
    border-radius: 20px;
    margin-right: 15px;
    border: 1px solid var(--bs-secondary);
    background: var(--bs-primary);
    transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 20px;
    height: 20px;
    border-radius: 20px;
    border: 1px solid var(--bs-primary);
    background: var(--bs-secondary) !important;
    transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot span {
    position: relative;
    margin-top: 50%;
    margin-left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.testimonial-carousel .owl-dots .owl-dot span::after {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 8px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bs-white);
}

@media (max-width: 992px) {
    .owl-carousel.testimonial-carousel {
        padding-top: 30px;
    }

    .testimonial .owl-nav .owl-prev,
    .testimonial .owl-nav .owl-next {
        top: -30px;
    }
}
/*** testimonial End ***/

/*** Footer Start ***/
.footer {
    background: var(--bs-dark);
}

.footer .footer-item a {
    line-height: 35px;
    color: var(--bs-body);
    transition: 0.5s;
}

.footer .footer-item p {
    line-height: 35px;
}

.footer .footer-item a:hover {
    letter-spacing: 1px;
    color: var(--bs-primary);
}

.footer .footer-item .footer-btn a,
.footer .footer-item .footer-btn a i {
    transition: 0.5s;
}

.footer .footer-item .footer-btn a:hover {
    background: var(--bs-white);
}

.footer .footer-item .footer-btn a:hover i {
    color: var(--bs-primary) !important;
}
/*** Footer End ***/

/*** copyright Start ***/
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--bs-dark);
}
/*** copyright end ***/
