/********** Template CSS **********/

/*** 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;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

/*** Button ***/
.btn {
    transition: .5s;
}

.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 ***/
.sticky-top {
    top: -150px;
    transition: .5s;
}

.navbar {
    padding: 15px 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: 18px;
}

.navbar .navbar-nav .nav-link {
    margin-left: 30px;
    padding: 0;
    outline: none;
    color: var(--bs-dark);
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary)
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item.active {
    color: var(--bs-white);
    background: var(--bs-primary);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-left: 0;
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Hero Header ***/
.hero-header {
    margin-top: -100px;
    padding-top: 150px;
    background: url(../img/bg-rokannet.png) top center no-repeat;
    background-size: cover;
}

.hero-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.header-carousel {
    position: relative;
    padding: 45px 90px 45px 0;
}

.header-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    width: calc(50% + 45px);
    height: 100%;
    background: var(--bs-primary);
    z-index: -1;
}

.header-carousel .owl-dots {
    position: absolute;
    top: 50%;
    right: 38px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 5px 0;
    width: 15px;
    height: 15px;
    border: 2px solid var(--bs-white);
    transition: .5s;
}

.header-carousel .owl-dot.active {
    height: 30px;
    background: var(--bs-white);
}


/*** About ***/
.about-img {
    position: relative;
    overflow: hidden;
}

.about-img::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url(../img/bg-rokannet.png) top left no-repeat;
    background-size: contain;
}


/*** Project ***/
.project-item img {
    transition: .5s;
}

.project-item:hover img {
    transform: scale(1.2);
}

.project-overlay {
    position: absolute;
    padding: 25px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    background: linear-gradient(rgba(255, 255, 255, .1) 50%, var(--bs-dark));
    z-index: 1;
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .img {
    border-radius: 8px;
    overflow: hidden;
}

.services .img img {
    transition: 0.6s;
}

.services .details {
    background: color-mix(in srgb, var(--bs-white), transparent 5%);
    padding: 50px 30px;
    margin: -70px 30px 0 30px;
    transition: all ease-in-out 0.3s;
    position: relative;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0px 0 25px rgba(0, 0, 0, 0.1);
}

.services .details .icon {
    margin: 0;
    width: 72px;
    height: 72px;
    background: var(--bs-primary);
    color: var(--bs-white);
    border: 6px solid var(--bs-white);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 28px;
    transition: ease-in-out 0.3s;
    position: absolute;
    top: -36px;
    left: calc(50% - 36px);
}

.services .details h3 {
    font-weight: 700;
    margin: 10px 0 15px 0;
    font-size: 22px;
    transition: ease-in-out 0.3s;
}

.services .details p {
    color: color-mix(in srgb, var(--bs-gray), transparent 10%);
    line-height: 24px;
    font-size: 14px;
    margin-bottom: 0;
}

.services .service-item:hover .details h3 {
    color: var(--bs-indigo);
}

.services .service-item:hover .details .icon {
    background: var(--bs-white);
    border: 2px solid var(--bs-indigo);
}

.services .service-item:hover .details .icon i {
    color: var(--bs-indigo);
}

.services .service-item:hover .img img {
    transform: scale(1.2);
}

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features {
    /* Custom properties for quick theming */
    --card-radius: 18px;
    --shadow-soft: 0 10px 30px color-mix(in srgb, var(--bs-gray-dark), transparent 88%);
    --shadow-hover: 0 16px 44px color-mix(in srgb, var(--bs-gray-dark), transparent 82%);
    --ring-color: color-mix(in srgb, var(--bs-primary), transparent 75%);
    --muted: color-mix(in srgb, var(--bs-gray-dark), transparent 35%);
    /* Icon badge palettes via color-mix on accent for harmony */
    /* Swiper global fix if a slider is later embedded */
}

.features .intro-panel {
    background: linear-gradient(180deg, var(--bs-white), color-mix(in srgb, var(--bs-primary), transparent 96%));
    border: 1px solid color-mix(in srgb, var(--bs-gray-dark), transparent 90%);
    border-radius: 22px;
    padding: 28px;
    box-shadow: var(--shadow-soft);
}

.features .intro-panel .preview-visual {
    position: relative;
}

.features .intro-panel .preview-visual img {
    display: block;
}

.features .intro-panel .preview-visual::after {
    content: "";
    position: absolute;
    inset: -10px -8px auto auto;
    width: 120px;
    height: 120px;
    background: radial-gradient(closest-side, color-mix(in srgb, var(--bs-primary), transparent 65%), transparent 70%);
    filter: blur(12px);
    border-radius: 50%;
    pointer-events: none;
}

.features .intro-panel .intro-content .intro-title {
    font-weight: 800;
    margin-bottom: 8px;
}

.features .intro-panel .intro-content .intro-text {
    color: var(--muted);
    margin: 0;
}

.features .intro-panel .intro-content .intro-highlights li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: color-mix(in srgb, var(--bs-gray-dark), transparent 20%);
    padding: 8px 0;
}

.features .intro-panel .intro-content .intro-highlights li i {
    color: var(--bs-primary);
    font-size: 18px;
}

.features .intro-panel .intro-content .cta-btn {
    background: var(--bs-primary);
    color: var(--bs-white);
    border-radius: 999px;
    padding: 10px 18px;
    box-shadow: 0 6px 22px color-mix(in srgb, var(--bs-primary), transparent 70%);
    transition: 0.3s;
}

.features .intro-panel .intro-content .cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px color-mix(in srgb, var(--bs-primary), transparent 60%);
    color: var(--bs-white);
}

.features .intro-panel .intro-content .link-btn {
    color: var(--bs-primary);
    border-radius: 999px;
    padding: 10px 14px;
    background: color-mix(in srgb, var(--bs-primary), transparent 94%);
    transition: 0.3s;
}

.features .intro-panel .intro-content .link-btn:hover {
    background: color-mix(in srgb, var(--bs-primary), transparent 90%);
    color: var(--bs-primary);
    transform: translateY(-2px);
}

.features .feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

@media (max-width: 1200px) {
    .features .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .features .feature-grid {
        grid-template-columns: 1fr;
    }
}

.features .feature-item {
    position: relative;
    background: var(--bs-white);
    border: 1px solid color-mix(in srgb, var(--bs-gray-dark), transparent 92%);
    border-radius: var(--card-radius);
    padding: 22px 18px 20px 18px;
    box-shadow: var(--shadow-soft);
    transition: 0.3s;
    overflow: hidden;
}

.features .feature-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: color-mix(in srgb, var(--bs-primary), transparent 70%);
}

.features .feature-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, color-mix(in srgb, var(--bs-primary), transparent 96%), transparent 100%);
    opacity: 0.8;
    pointer-events: none;
}

.features .feature-item .f-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    margin-bottom: 14px;
    color: var(--contrast-color);
    box-shadow: 0 6px 18px color-mix(in srgb, var(--bs-gray-dark), transparent 85%);
}

.features .feature-item .f-icon i {
    font-size: 22px;
}

.features .feature-item .f-body .f-title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 6px;
}

.features .feature-item .f-body .f-text {
    color: var(--muted);
    margin-bottom: 10px;
    line-height: 1.6;
    font-size: 15px;
}

.features .feature-item .f-body .f-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    padding: 6px 10px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--bs-primary), transparent 94%);
    color: color-mix(in srgb, var(--bs-gray-dark), transparent 20%);
    border: 1px solid var(--ring-color);
}

.features .badge-blue {
    background: color-mix(in srgb, var(--bs-primary), #5dade2 40%);
}

.features .badge-green {
    background: color-mix(in srgb, var(--bs-primary), #2ecc71 45%);
}

.features .badge-purple {
    background: color-mix(in srgb, var(--bs-primary), #9b59b6 40%);
}

.features .badge-orange {
    background: color-mix(in srgb, var(--bs-primary), #f39c12 40%);
}

.features .badge-cyan {
    background: color-mix(in srgb, var(--bs-primary), #48c9b0 40%);
}

.features .badge-pink {
    background: color-mix(in srgb, var(--bs-primary), #e91e63 35%);
}

.features .assurance-banner {
    margin-top: 22px;
    background: linear-gradient(90deg, color-mix(in srgb, var(--bs-primary), transparent 92%), var(--bs-white));
    border: 1px dashed color-mix(in srgb, var(--bs-gray-dark), transparent 80%);
    border-radius: 16px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.features .assurance-banner .assurance-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: color-mix(in srgb, var(--bs-primary), transparent 86%);
    color: var(--bs-primary);
}

.features .assurance-banner .assurance-icon i {
    font-size: 20px;
}

.features .assurance-banner .assurance-content {
    flex: 1;
}

.features .assurance-banner .assurance-content h5 {
    margin: 0 0 4px 0;
    font-weight: 800;
}

.features .assurance-banner .assurance-content p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.features .assurance-banner .banner-btn {
    background: var(--bs-primary);
    color: var(--contrast-color);
    border-radius: 999px;
    padding: 8px 14px;
    white-space: nowrap;
    transition: 0.3s;
}

.features .assurance-banner .banner-btn:hover {
    transform: translateX(2px);
    color: var(--contrast-color);
    box-shadow: 0 8px 24px color-mix(in srgb, var(--bs-primary), transparent 65%);
}

.features .swiper-wrapper {
    height: auto !important;
}

@media (max-width: 992px) {
    .features .intro-panel {
        padding: 24px;
    }

    .features .intro-panel .intro-content .intro-title {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .features .intro-panel .preview-visual::after {
        width: 90px;
        height: 90px;
    }

    .features .feature-item {
        padding: 18px 16px;
    }

    .features .feature-item .f-icon {
        width: 50px;
        height: 50px;
    }

    .features .feature-item .f-icon i {
        font-size: 20px;
    }

    .features .assurance-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .features .assurance-banner .banner-btn {
        width: 100%;
        text-align: center;
    }
}


/*** Our Team ***/
.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.2);
}

.team-overlay {
    position: absolute;
    padding: 30px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    background: linear-gradient(rgba(255, 255, 255, .1) 50%, var(--bs-dark));
    z-index: 1;
}

.team-overlay small {
    display: inline-block;
    padding: 3px 15px;
    color: var(--bs-white);
    background: var(--bs-primary);
}


/*** Testimonial ***/
.testimonial-img {
    position: relative;
    padding: 45px 0 45px 90px;
}

.testimonial-img::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: calc(50% + 45px);
    height: 100%;
    background: var(--bs-primary);
    z-index: -1;
}

.testimonial-text h5 {
    position: relative;
    padding-left: 45px;
}

.testimonial-text h5::before {
    position: absolute;
    content: "";
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 40px;
    height: 2px;
    background: var(--bs-primary);
}

.testimonial-carousel .owl-dots {
    position: absolute;
    height: 17px;
    bottom: 0;
    right: 0;
    left: auto;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin-left: 10px;
    width: 15px;
    height: 15px;
    background: var(--bs-white);
    border: 2px solid var(--bs-primary);
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--bs-primary);
}

@media (max-width: 768px) {
    .testimonial-carousel .owl-dots {
        left: 0;
        right: auto;
    }

    .testimonial-carousel .owl-dot {
        margin-right: 10px;
        margin-left: 0;
    }
}
body {
      font-family: 'Poppins', sans-serif;
    }

    .card:hover img {
      transform: scale(1.05);
    }

    .modal-content {
      border-radius: 20px;
      overflow: hidden;
    }

    .modal-header {
      background: linear-gradient(135deg, #FF4C01, #FF7A00);
      color: #fff;
    }

    .form-control:focus {
      box-shadow: 0 0 0 0.25rem rgba(255, 76, 1, 0.25);
      border-color: #FF4C01;
    }
    .password-toggle {
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        color: #888;
        cursor: pointer;
    }



/*** Newsletter ***/
.newsletter {
    background: url(../img/bg-rokannet.png) bottom right no-repeat;
    background-size: cover;
}

@media (min-width: 992px) {
    .newsletter .container {
        max-width: 100% !important;
    }

    .newsletter .newsletter-text {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .newsletter .newsletter-text {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .newsletter .newsletter-text {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    color: rgba(255, 255, 255, .5);
    font-weight: normal;
    transition: .3s;
}

.footer .btn.btn-link:hover {
    color: var(--bs-white);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 14px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: rgba(255, 255, 255, .5);
}

.footer .copyright a:hover {
    color: var(--bs-white);
}

.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;
}

.transition {
  transition: all 0.4s ease-in-out;
}

.hover-opacity-100:hover {
  opacity: 1 !important;
}

.overlay {
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.position-relative:hover .overlay {
  opacity: 1;
}
