/********** Template CSS **********/
:root {
    --primary: #06BBCC;
    --light: #F0FBFC;
    --dark: #181d38;
}

.fw-medium {
    font-weight: 600 !important;
}

.fw-semi-bold {
    font-weight: 700 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    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-family: 'Nunito', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    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;
    border-radius: 0px;
}


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

.navbar-light .navbar-nav .nav-link {
    margin-right: 6px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
}

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

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

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

/* Between the desktop-nav breakpoint and where more room opens up, the full
   link list plus the login/account slot needs a tighter fit than the base
   desktop spacing allows. */
@media (min-width: 992px) and (max-width: 1279.98px) {
    .navbar-light .navbar-nav .nav-link {
        margin-right: 0;
        font-size: 13px;
    }
}

/* From here up, there's real room to spare — let the links breathe instead
   of sitting at the same cramped minimum needed just to avoid overflow. */
@media (min-width: 1366px) {
    .navbar-light .navbar-nav .nav-link {
        margin-right: 16px;
    }
}

@media (min-width: 1600px) {
    .navbar-light .navbar-nav .nav-link {
        margin-right: 22px;
    }
}

@media (min-width: 1920px) {
    .navbar-light .navbar-nav .nav-link {
        margin-right: 30px;
    }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
    height: 75px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

/* Keep the resource link useful without letting it dominate the header. */
.navbar-light .nav-support-link {
    align-self: center;
    margin: 0 1.5rem 0 .25rem;
    padding: .7rem 1rem;
    border: 1px solid var(--primary);
    border-radius: 50rem;
    background: var(--primary);
    color: #FFFFFF;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .02em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    transition: .25s;
    white-space: nowrap;
}

.navbar-light .nav-support-link i {
    margin-left: .55rem;
    font-size: .7rem;
}

.navbar-light .nav-support-link:hover,
.navbar-light .nav-support-link:focus {
    background: #0497A5;
    border-color: #0497A5;
    color: #FFFFFF;
    text-decoration: none;
}

.navbar-light.sticky-top {
    top: -100px;
    transition: .5s;
}

/* Auth-aware nav slot (Login / Dashboard / account name) — always visible,
   sits outside the collapsible menu so it never disappears on mobile. */
.navbar-end {
    padding-right: 1.5rem;
}

.nav-auth-btn {
    display: inline-flex;
    align-items: center;
    padding: .7rem 1.15rem;
    border: 1px solid var(--primary);
    border-radius: 50rem;
    background: var(--primary);
    color: #FFFFFF;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .02em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    transition: .25s;
    white-space: nowrap;
}

.nav-auth-btn i {
    margin-right: .5rem;
    font-size: .82rem;
}

.nav-auth-btn:hover,
.nav-auth-btn:focus {
    background: #0497A5;
    border-color: #0497A5;
    color: #FFFFFF;
    text-decoration: none;
}

.nav-auth-name {
    display: inline-flex;
    align-items: center;
    max-width: 180px;
    padding: .6rem 1.1rem;
    overflow: hidden;
    border: 1px solid #E4EEF0;
    border-radius: 50rem;
    background: var(--light);
    color: var(--dark);
    font-size: .82rem;
    font-weight: 600;
    font-family: inherit;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
}

.nav-auth-name:hover,
.nav-auth-name:focus {
    border-color: var(--primary);
}

.nav-auth-dropdown {
    position: relative;
    display: inline-block;
}

.nav-auth-menu {
    position: absolute;
    top: calc(100% + .5rem);
    right: 0;
    z-index: 1000;
    display: none;
    min-width: 9rem;
    margin: 0;
    padding: .4rem 0;
    list-style: none;
    background: #FFFFFF;
    border: 1px solid #E4EEF0;
    border-radius: .5rem;
    box-shadow: 0 .5rem 1.5rem rgba(24, 29, 56, .12);
}

.nav-auth-menu.is-open {
    display: block;
}

.nav-auth-menu a {
    display: flex;
    align-items: center;
    padding: .5rem 1rem;
    color: var(--dark);
    font-size: .85rem;
    font-weight: 600;
    text-decoration: none;
}

.nav-auth-menu a:hover {
    background: var(--light);
    color: var(--primary);
}

.nav-auth-name i {
    margin-right: .5rem;
    color: var(--primary);
    font-size: .95rem;
}

@media (max-width: 991.98px) {
    .navbar-end {
        padding-right: 1rem;
    }

    .nav-auth-btn,
    .nav-auth-name {
        padding: .5rem .85rem;
        font-size: .72rem;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        margin-top: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .dropdown-menu.fade-down {
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header carousel ***/
@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }
    
    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    font-size: 22px;
    transition: .5s;
}

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

.page-header {
    background: linear-gradient(rgba(24, 29, 56, .7), rgba(24, 29, 56, .7)), url(../images/Carousel3.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.page-header-inner {
    background: rgba(15, 23, 43, .7);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}


/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.section-title::before {
    position: absolute;
    content: "";
    width: calc(100% + 80px);
    height: 2px;
    top: 4px;
    left: -40px;
    background: var(--primary);
    z-index: -1;
}

.section-title::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 2px;
    bottom: 5px;
    left: -60px;
    background: var(--primary);
    z-index: -1;
}

.section-title.text-start::before {
    width: calc(100% + 40px);
    left: 0;
}

.section-title.text-start::after {
    width: calc(100% + 60px);
    left: 0;
}


/*** Service ***/
.service-item {
    background: var(--light);
    transition: .5s;
}

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

.service-item * {
    transition: .5s;
}

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


/*** Categories & Courses ***/
.category img,
.course-item img {
    transition: .5s;
}

.category a:hover img,
.course-item:hover img {
    transform: scale(1.1);
}


/*** Team ***/
.team-item img {
    transition: .5s;
}

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

/* General Card Container */
.custom-card {
    height: 100%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.custom-card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Image Section */
.custom-card-image {
    height: 200px;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    border-bottom: 4px solid #007bff;
    transition: filter 0.3s;
}

.custom-card:hover .custom-card-image {
    filter: brightness(1.1);
}

/* Card Body */
.custom-card-body {
    padding: 20px;
    text-align: center;
}

.custom-breadcrumb {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
    font-weight: bold;
    text-transform: uppercase;
}

.custom-title {
    font-size: 20px;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 0;
}


/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

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

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

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

.testimonial-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border: 1px solid #CCCCCC;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-weight: normal;
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

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

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

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

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

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}


/* portfolio section */
#portfolio-header {
    background: url('../images/portfolio-header.jpg') no-repeat;
    background-size: cover;
    background-position: center;
    min-height: 500px;
    padding-top: 160px;
  }
  #portfolio {
    text-align: center;
    padding-top: 80px;
    padding-bottom: 60px;
    }
  #portfolio h2 {
    padding-bottom: 20px;
  }
  #portfolio .col-md-4,
  #portfolio .col-md-3 {
    padding: 0;
    margin: 0;
  }
  #portfolio img {
    width: 100%;
    transition: all 0.4s ease-in;
    opacity: 0.8;
  }
  #portfolio img:hover {
    opacity: 1;
  }
  #portfolio .btn {
    margin-top: 30px;
  }

  .gallery * {
    font-family: Nunito, sans-serif;
  }
  
  .gallery .text-blk {
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    line-height: 25px;
    padding-top: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
  }
  
  .gallery .responsive-container-block {
    min-height: 75px;
    height: fit-content;
    width: 100%;
    padding-top: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    display: flex;
    flex-wrap: wrap;
    margin-top: 0px;
    margin-right: auto;
    margin-bottom: 0px;
    margin-left: auto;
    justify-content: flex-start;
  }
  
  .gallery .responsive-container-block.bigContainer {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 50px;
    padding-right: 30px;
    padding-bottom: 50px;
    padding-left: 30px;
  }
  
  .gallery .responsive-container-block.headerContainer {
    max-width: 1320px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 0px;
    margin-right: auto;
    margin-bottom: 40px;
    margin-left: auto;
  }
  
  .gallery .responsive-container-block.Container {
    max-width: 1320px;
    margin-top: 0px;
    margin-right: auto;
    margin-bottom: 0px;
    margin-left: auto;
    position: relative;
    padding-top: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
    height: 1380px;
  }
  
  .gallery .row1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 30px;
    margin-left: 0px;
  }
  
  .gallery .text-blk.heading {
    font-size: 36px;
    line-height: 34px;
    font-weight: 700;
    color: #333333;
    text-align: center;
  }
  
  .gallery .text-blk.subHeading {
    font-size: 18px;
    line-height: 29px;
    text-align: center;
    color: #999999;
  }
  
  .gallery .overlay {
    position: fixed;
    background-image: initial;
    background-position-x: initial;
    background-position-y: initial;
    background-size: initial;
    background-repeat-x: initial;
    background-repeat-y: initial;
    background-attachment: initial;
    background-origin: initial;
    background-clip: initial;
    background-color: rgba(71, 69, 69, 0.7);
    height: 100%;
    width: 100%;
    max-height: 100%;
    top: 0px;
    left: 0px;
    z-index: 100;
    display: none;
    padding-top: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    padding-left: 20px;
  }
  
  .gallery .overlay-inner {
    top: 50%;
    right: 0px;
    bottom: 0px;
    left: 50%;
    transform: translate(-50%, -50%);
    background-image: initial;
    background-position-x: initial;
    background-position-y: initial;
    background-size: initial;
    background-repeat-x: initial;
    background-repeat-y: initial;
    background-attachment: initial;
    background-origin: initial;
    background-clip: initial;
    background-color: white;
    max-width: 700px;
    width: fit-content;
    padding-top: 35px;
    padding-right: 20px;
    padding-bottom: 20px;
    padding-left: 20px;
    position: relative;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    opacity: 1;
    max-width: 50%;
    max-height: 85%;
  }
  
  .gallery .close {
    position: absolute;
    top: 9px;
    right: 15px;
    background-image: none;
    background-position-x: initial;
    background-position-y: initial;
    background-size: initial;
    background-repeat-x: initial;
    background-repeat-y: initial;
    background-attachment: initial;
    background-origin: initial;
    background-clip: initial;
    background-color: initial;
    outline-color: initial;
    outline-style: initial;
    outline-width: 0px;
    color: #474545;
    border-top-width: 0px;
    border-right-width: 0px;
    border-bottom-width: 0px;
    border-left-width: 0px;
    border-top-style: initial;
    border-right-style: initial;
    border-bottom-style: initial;
    border-left-style: initial;
    border-top-color: initial;
    border-right-color: initial;
    border-bottom-color: initial;
    border-left-color: initial;
    border-image-source: initial;
    border-image-slice: initial;
    border-image-width: initial;
    border-image-outset: initial;
    border-image-repeat: initial;
    text-transform: uppercase;
    letter-spacing: 2px;
  }
  
  .gallery .overlay-inner hdImgs {
    width: fit-content;
    height: calc(85% - 55px) display: flex
  }
  
  .gallery .overlay-inner img {
    max-height: 100%;
    max-width: 100%;
    transform: none;
  }
  
  .gallery .close:hover {
    cursor: pointer;
  }
  
  .gallery .project {
    position: absolute;
    width: 59%;
    height: 440px;
    padding-top: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
  }
  
  .gallery .btn-box {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
  }
  
  .gallery .project:hover .btn-box {
    display: block;
  }
  
  .gallery .btn {
    cursor: pointer;
  }
  
  .gallery .smallImage {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .gallery .project.project2 {
    left: 59%;
    width: 41%;
    height: 440px;
  }
  
  .gallery .project.project3 {
    top: 440px;
    width: 41%;
    height: 940px;
  }
  
  .gallery .project.project4 {
    left: 41%;
    top: 440px;
    width: 59%;
    height: 440px;
  }
  
  .gallery .project.project5 {
    top: 880px;
    left: 41%;
    width: 29.5%;
    height: 500px;
  }
  
  .gallery .project.project6 {
    top: 880px;
    left: 70.5%;
    width: 29.5%;
    height: 500px;
  }
  
  @media (max-width: 768px) {
    .gallery .project.project2 {
      height: 245px;
    }
  
    .gallery .responsive-container-block.Container {
      max-width: 740px;
      height: 770px;
    }
  
    .gallery .project.project1 {
      height: 245px;
    }
  
    .gallery .project.project3 {
      height: 525px;
      top: 245px;
    }
  
    .gallery .project.project4 {
      top: 245px;
      height: 245px;
    }
  
    .gallery .project.project5 {
      top: 490px;
      height: 280px;
    }
  
    .gallery .project.project6 {
      top: 490px;
      height: 280px;
    }
  
    .gallery .overlay-inner {
      width: 90%;
    }
  
    .gallery .row1 {
      margin-top: 0px;
      margin-right: 0px;
      margin-bottom: 25px;
      margin-left: 0px;
    }
  
    .gallery .text-blk.heading {
      font-size: 30px;
    }
  }
  
  @media (max-width: 500px) {
    .gallery .project.project1 {
      position: relative;
      width: 100%;
      height: 250px;
      margin-top: 0px;
      margin-right: 0px;
      margin-bottom: 20px;
      margin-left: 0px;
    }
  
    .gallery .project.project2 {
      position: relative;
      left: 0px;
      width: 100%;
      height: 250px;
      top: 0px;
      margin-top: 0px;
      margin-right: 0px;
      margin-bottom: 20px;
      margin-left: 0px;
    }
  
    .gallery .project.project3 {
      position: relative;
      top: 0px;
      width: 100%;
      height: 250px;
      margin-top: 0px;
      margin-right: 0px;
      margin-bottom: 20px;
      margin-left: 0px;
    }
  
    .gallery .project.project4 {
      position: relative;
      top: 0px;
      left: 0px;
      width: 100%;
      height: 250px;
      margin-top: 0px;
      margin-right: 0px;
      margin-bottom: 20px;
      margin-left: 0px;
    }
  
    .gallery .project.project5 {
      position: relative;
      top: 0px;
      left: 0px;
      width: 100%;
      height: 250px;
      margin-top: 0px;
      margin-right: 0px;
      margin-bottom: 20px;
      margin-left: 0px;
    }
  
    .gallery .project.project6 {
      position: relative;
      top: 0px;
      left: 0px;
      width: 100%;
      height: 250px;
      margin-top: 0px;
      margin-right: 0px;
      margin-bottom: 20px;
      margin-left: 0px;
    }
  
    .gallery .responsive-container-block.Container {
      height: 100%;
      margin-top: 0px;
      margin-right: 0px;
      margin-bottom: 50px;
      margin-left: 0px;
    }
  
    .gallery .text-blk.subHeading {
      font-size: 16px;
      line-height: 24px;
    }
  
    .gallery .text-blk.heading {
      font-size: 26px;
      line-height: 27px;
    }
  
    .gallery .responsive-container-block.headerContainer {
      padding-top: 0px;
      padding-right: 0px;
      padding-bottom: 0px;
      padding-left: 0px;
    }
  
    .gallery .row1 {
      margin-top: 0px;
      margin-right: 0px;
      margin-bottom: 22px;
      margin-left: 0px;
    }
  
    .gallery .overlay-inner .hdImgs {
      width: 90%;
    }
  }
