/*******************************/
/********* General CSS *********/
/*******************************/
body {
    color: #757575;
    background: #ffffff;
    font-family: 'open sans', sans-serif;
}

h1,
h2, 
h3, 
h4,
h5, 
h6 {
    color: #454545;
    font-family: 'Nunito', sans-serif;
}

a {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    color: #08e099;
    transition: .3s;
}

a:hover,
a:active,
a:focus {
    color: #252c41;
    outline: none;
    text-decoration: none;
}

.btn.custom-btn {
    padding: 12px 25px;
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    background: #08e099;
    border: 2px solid #08e099;
    border-radius: 5px;
    transition: .5s;
}

.btn.custom-btn:hover {
    color: #08e099;
    background: transparent;
}

.btn.custom-btn:focus,
.form-control:focus,
.custom-select:focus {
    box-shadow: none;
}

.container-fluid {
    max-width: 1366px;
}

.back-to-top {
    position: fixed;
    display: none;
    background: #08e099;
    width: 44px;
    height: 44px;
    text-align: center;
    line-height: 1;
    font-size: 22px;
    right: 15px;
    bottom: 15px;
    border-radius: 5px;
    transition: background 0.5s;
    z-index: 9;
}

.back-to-top i {
    color: #ffffff;
    padding-top: 10px;
}

.back-to-top:hover {
    background: #252c41;
}

[class^="flaticon-"]:before,
[class*=" flaticon-"]:before,
[class^="flaticon-"]:after,
[class*=" flaticon-"]:after {
    font-size: inherit;
    margin-left: 0;
}


/**********************************/
/*********** Nav Bar CSS **********/
/**********************************/
.navbar {
    position: relative;
    transition: .5s;
    z-index: 999;
}

.navbar.nav-sticky {
    position: fixed;
    top: 0;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .3);
}

.navbar .navbar-brand {
    margin: 0;
    color: #08e099;
    font-size: 45px;
    line-height: 0px;
    font-weight: 700;
    font-family: 'Nunito', sans-serif;
    transition: .5s;
    
}

.navbar .navbar-brand span {
    color: #252c41;
}

.navbar .navbar-brand:hover {
    color: #08e099;
}

.navbar .navbar-brand:hover span {
    color: #08e099;
}

.navbar .navbar-brand img {
    max-width: 100%;
    max-height: 40px;
}

.navbar .dropdown-menu {
    margin-top: 0;
    border: 0;
    border-radius: 0;
    background: #f8f9fa;
}

@media (min-width: 992px) {
    .navbar {
        position: absolute;
        width: 100%;
        padding: 30px 60px;
        background: transparent !important;
        z-index: 9;
    }
    
    .navbar.nav-sticky {
        padding: 10px 60px;
        background: #ffffff !important;
    }
    
    .navbar .navbar-brand {
        color: #08e099;
    }
    
    .navbar.nav-sticky .navbar-brand {
        color: #08e099;
    }

    .navbar-light .navbar-nav .nav-link,
    .navbar-light .navbar-nav .nav-link:focus {
        padding: 10px 10px 8px 10px;
        font-family: 'Nunito', sans-serif;
        color: #ffffff;
        font-size: 18px;
        font-weight: 600;
    }
    
    .navbar-light.nav-sticky .navbar-nav .nav-link,
    .navbar-light.nav-sticky .navbar-nav .nav-link:focus {
        color: #666666;
    }

    .navbar-light .navbar-nav .nav-link:hover,
    .navbar-light .navbar-nav .nav-link.active {
        color: #08e099;
    }
    
    .navbar-light.nav-sticky .navbar-nav .nav-link:hover,
    .navbar-light.nav-sticky .navbar-nav .nav-link.active {
        color: #08e099;
    }
}

@media (max-width: 991.98px) {   
    .navbar {
        padding: 15px;
        background: #ffffff !important;
    }
    
    .navbar .navbar-brand {
        color: #08e099;
    }
    
    .navbar .navbar-nav {
        margin-top: 15px;
    }
    
    .navbar a.nav-link {
        padding: 5px;
    }
    
    .navbar .dropdown-menu {
        box-shadow: none;
    }
}


/*******************************/
/********** Hero CSS ***********/
/*******************************/
.carousel {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 400px;
    background: #ffffff;
}

.carousel .container-fluid {
    padding: 0;
}

.carousel .carousel-item {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.carousel .carousel-img {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: right;
    overflow: hidden;
}

.carousel .carousel-img::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.carousel .carousel-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel .carousel-text {
    position: absolute;
    max-width: 700px;
    height: calc(100vh - 35px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 2;
}

.carousel .carousel-text h1 {
    text-align: center;
    color: #ffffff;
    font-size: 60px;
    font-weight: 700;
    margin-bottom: 30px;
}

.carousel .carousel-text h1 span {
    color: #08e099;
}

.carousel .carousel-text p {
    color: #ffffff;
    text-align: center;
    font-size: 20px;
    margin-bottom: 35px;
}

.carousel .carousel-btn .btn:last-child {
    margin-left: 10px;
    background: #252c41;
    border-color: #252c41;
}

.carousel .carousel-btn .btn:last-child:hover {
    color: #252c41;
    background: transparent;
}

.carousel .animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
}

@media (max-width: 991.98px) {

    .carousel,
    .carousel .carousel-item,
    .carousel .carousel-text {
        height: calc(100vh - 105px);
    }
    
    .carousel .carousel-text h1 {
        font-size: 35px;
    }
    
    .carousel .carousel-text p {
        font-size: 16px;
    }
    
    .carousel .carousel-text .btn {
        padding: 12px 30px;
        font-size: 15px;
        letter-spacing: 0;
    }
}

@media (max-width: 767.98px) {

    .carousel,
    .carousel .carousel-item,
    .carousel .carousel-text {
        height: calc(100vh - 70px);
    }
    
    .carousel .carousel-text h1 {
        font-size: 30px;
    }
    
    .carousel .carousel-text .btn {
        padding: 10px 25px;
        font-size: 15px;
        letter-spacing: 0;
    }
}

@media (max-width: 575.98px) {
    .carousel .carousel-text h1 {
        font-size: 25px;
    }
    
    .carousel .carousel-text .btn {
        padding: 8px 20px;
        font-size: 14px;
        letter-spacing: 0;
    }
}

/* --- overrides for carousel full-bleed --- */
.carousel .container-fluid {
    max-width: 100%;
    padding: 0;
}

.carousel .carousel-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- end overrides --- */


/*******************************/
/******* Page Header CSS *******/
/*******************************/
.page-header {
    position: relative;
    margin-bottom: 45px;
    padding: 150px 0 90px 0;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/page-header.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.page-header h2 {
    position: relative;
    color: #08e099;
    font-size: 60px;
    font-weight: 700;
}

.page-header a {
    position: relative;
    padding: 0 12px;
    font-size: 20px;
    text-transform: uppercase;
    color: #ffffff;
}

.page-header a:hover {
    color: #ffffff;
}

.page-header a::after {
    position: absolute;
    content: "/";
    width: 8px;
    height: 8px;
    top: -1px;
    right: -7px;
    text-align: center;
    color: #08e099;
}

.page-header a:last-child::after {
    display: none;
}

@media (max-width: 767.98px) {
    .page-header h2 {
        font-size: 35px;
    }
    
    .page-header a {
        font-size: 18px;
    }
}


/*******************************/
/******* Section Header ********/
/*******************************/
.section-header {
    position: relative;
    margin-bottom: 45px;
}

.section-header p {
    color: #252c41;
    margin-bottom: 5px;
    position: relative;
    font-size: 20px;
}

.section-header h2 {
    margin: 0;
    position: relative;
    font-size: 45px;
    font-weight: 700;
}

@media (max-width: 991.98px) {
    .section-header h2 {
        font-size: 40px;
        font-weight: 600;
    }
}

@media (max-width: 767.98px) {
    .section-header h2 {
        font-size: 35px;
        font-weight: 600;
    }
}

@media (max-width: 575.98px) {
    .section-header h2 {
        font-size: 30px;
        font-weight: 600;
    }
}


/*******************************/
/********* Booking CSS *********/
/*******************************/
.booking {
    position: relative;
    width: 100%;
    margin-bottom: 45px;
    background: rgba(0, 0, 0, .04);
}

.booking .booking-content {
    padding: 45px 0 15px 0;
}

.booking .booking-content .section-header {
    margin-bottom: 30px;
}

.booking .booking-form {
    padding: 60px 30px;
    background: #08e099;
}

.booking .booking-form .control-group {
    margin-bottom: 15px;
}

.booking .booking-form .input-group-text {
    position: absolute;
    padding: 0;
    border: none;
    background: none;
    top: 15px;
    right: 15px;
    color: #ffffff;
    font-size: 14px;
}

.booking .booking-form .form-control {
    height: 45px;
    font-size: 14px;
    color: #ffffff;
    padding: 0 15px;
    border-radius: 5px !important;
    border: 1px solid #ffffff;
    background: transparent;
}

.booking .booking-form select.form-control {
    padding: 0 10px;
}

.booking .booking-form .form-control::placeholder {
    color: #ffffff;
    opacity: 1;
}

.booking .booking-form .form-control:-ms-input-placeholder,
.booking .booking-form .form-control::-ms-input-placeholder {
    color: #ffffff;
}

.booking .booking-form .input-group [data-toggle="datetimepicker"] {
    cursor: default;
}

.booking .booking-form .btn.custom-btn {
    width: 100%;
    color: #08e099;
    background: #ffffff;
    border: 1px solid #ffffff;
}

.booking .booking-form .btn.custom-btn:hover {
    color: #ffffff;
    background: transparent;
}


/*******************************/
/********** Menu CSS ***********/
/*******************************/
.food {
    position: relative;
    width: 100%;
    padding: 90px 0 60px 0;
    margin: 45px 0;
    background: rgba(0, 0, 0, .04);
}

.food .food-item {
    position: relative;
    width: 100%;
    margin-bottom: 30px;
    padding: 50px 30px 30px;
    text-align: center;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(0, 0, 0, .08);
    transition: .3s;
}

.food .food-item:hover {
    box-shadow: none;
}

.food .food-item i {
    position: relative;
    display: inline-block;
    color: #08e099;
    font-size: 60px;
    line-height: 60px;
    margin-bottom: 20px;
    transition: .3s;
}

.food .food-item:hover i {
    color: #252c41;
}

.food .food-item i::after {
    position: absolute;
    content: "";
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    top: -20px;
    left: -15px;
    border: 3px dotted #08e099;
    border-right: transparent;
    border-bottom: transparent;
    border-radius: 100px;
    transition: .3s;
}

.food .food-item:hover i::after {
    border: 3px dotted #252c41;
    border-right: transparent;
    border-bottom: transparent;
}

.food .food-item h2 {
    font-size: 30px;
    font-weight: 700;
}

.food .food-item a {
    position: relative;
    font-size: 16px;
}

.food .food-item a::after {
    position: absolute;
    content: "";
    width: 50px;
    height: 1px;
    bottom: 0;
    left: calc(50% - 25px);
    background: #08e099;
    transition: .3s;
}

.food .food-item a:hover::after {
    width: 100%;
    left: 0;
    background: #252c41;
}



/*******************************/
/********** About CSS **********/
/*******************************/
.about {
    position: relative;
    width: 100%;
    padding: 45px 0;
}

.about .section-header {
    margin-bottom: 30px;
    margin-left: 0;
}

.about .about-img {
    position: relative;
}

.about .about-img img {
    position: relative;
    width: 100%;
    border-radius: 15px;
}

.about .btn-play {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    box-sizing: content-box;
    display: block;
    width: 32px;
    height: 44px;
    border-radius: 50%;
    border: none;
    outline: none;
    padding: 18px 20px 18px 28px;
}

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

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

.about .btn-play img {
    position: relative;
    z-index: 3;
    max-width: 100%;
    width: auto;
    height: auto;
}

.about .btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 32px solid #ffffff;
    border-top: 22px solid transparent;
    border-bottom: 22px 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(1.5);
    opacity: 0;
  }
}

#videoModal {
    padding-left: 17px;
}

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

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

#videoModal .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;
}

.about .about-content {
    position: relative;
}

.about .about-text p {
    font-size: 16px;
}

.about .about-text a.btn {
    position: relative;
    margin-top: 15px;
}

@media (max-width: 991.98px) {
    .about .about-img {
        margin-bottom: 30px;
    }
}


/*******************************/
/********* Feature CSS *********/
/*******************************/
.feature {
    position: relative;
    width: 100%;
    padding: 45px 0 0 0;
}

.feature .section-header {
    margin-bottom: 30px;
}

.feature .feature-text {
    position: relative;
    width: 100%;
}

.feature .feature-img {
    border-radius: 15px;
    margin-bottom: 25px;
    overflow: hidden;
}

.feature .feature-img .col-6,
.feature .feature-img .col-12 {
    padding: 0;
    overflow: hidden;
}

.feature .feature-img img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    transition: .3s;
}

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

.feature .feature-text .btn {
    width: 100%;
    margin-top: 15px;
    margin-bottom: 45px;
}

.feature .feature-item {
    width: 100%;
    margin-bottom: 45px;
}

.feature .feature-item i {
    position: relative;
    display: block;
    color: #252c41;
    font-size: 60px;
    line-height: 60px;
    margin-bottom: 15px;
    background-image: linear-gradient(#252c41, #08e099);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature .feature-item i::after {
    position: absolute;
    content: "";
    width: 40px;
    height: 40px;
    top: -10px;
    left: 20px;
    background: #08e099;
    border-radius: 30px;
    z-index: -1;
}

.feature .feature-item h3 {
    font-size: 22px;
    font-weight: 700;
}


/*******************************/
/*********** Menu CSS **********/
/*******************************/
.menu {
    position: relative;
    padding: 45px 0 15px 0;
}

.menu .menu-tab {
    position: relative;
}

.menu .menu-tab img {
    max-width: 100%;
    border-radius: 15px;
}

.menu .menu-tab .nav.nav-pills .nav-link {
    color: #ffffff;
    background: #08e099;
    border-radius: 5px;
    margin: 0 5px;
}

.menu .menu-tab .nav.nav-pills .nav-link:hover,
.menu .menu-tab .nav.nav-pills .nav-link.active {
    color: #ffffff;
    background: #252c41;
}

.menu .menu-tab .tab-content {
    padding: 30px 0 0 0;
    background: transparent;
}

.menu .menu-tab .tab-content .container {
    padding: 0;
}

.menu .menu-item {
    position: relative;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
}

.menu .menu-img {
    width: 80px;
    margin-right: 20px;
}

.menu .menu-img img {
    width: 100%;
    border-radius: 100px;
}

.menu .menu-text {
    width: calc(100% - 100px);
}

.menu .menu-text h3 {
    position: relative;
    display: block;
    font-size: 22px;
    font-weight: 700;
}

.menu .menu-text h3::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 13px;
    left: 0;
    border-top: 2px dotted #cccccc;
    z-index: -1;
}

.menu .menu-text h3 span {
    display: inline-block;
    float: left;
    padding-right: 5px;
    background: #ffffff;
}

.menu .menu-text h3 strong {
    display: inline-block;
    float: right;
    padding-left: 5px;
    color: #08e099;
    background: #ffffff;
}

.menu .menu-text p {
    position: relative;
    margin: 5px 0 0 0;
    float: left;
    display: block;
}

@media(max-width: 575.98px) {

    .menu .menu-text p,
    .menu .menu-text h3,
    .menu .menu-text h3 span,
    .menu .menu-text h3 strong {
        display: block;
        float: none;
        padding: 0;
        margin: 0;
    }
    
    .menu .menu-text h3 {
        font-size: 18px;
        margin-bottom: 0;
    }
    
    .menu .menu-text h3 span {
        margin-bottom: 3px;
    }
    
    .menu .menu-text h3::after {
        display: none;
    }
}


/*******************************/
/*********** Team CSS **********/
/*******************************/
.team {
    position: relative;
    width: 100%;
    padding: 45px 0 15px 0;
}

.team .team-item {
    position: relative;
    margin-bottom: 30px;
    background: #ffffff;
}

.team .team-img {
    position: relative;
    border-radius: 15px 15px 0 0;
    overflow: hidden;
}

.team .team-img img {
    position: relative;
    width: 100%;
    margin-top: 15px;
    transform: scale(1.1);
    transition: .3s;
}

.team .team-item:hover img {
    margin-top: 0;
    margin-bottom: 15px;
}

.team .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
}

.team .team-social a {
    position: relative;
    margin: 0 3px;
    margin-top: 100px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 40px;
    font-size: 16px;
    color: #ffffff;
    background: #08e099;
    opacity: 0;
}

.team .team-social a:hover {
    color: #ffffff;
    background: #252c41;
}

.team .team-item:hover .team-social {
    background: rgba(256, 256, 256, .5);
}

.team .team-item:hover .team-social a:first-child {
    opacity: 1;
    margin-top: 0;
    transition: .3s 0s;
}

.team .team-item:hover .team-social a:nth-child(2) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .1s;
}

.team .team-item:hover .team-social a:nth-child(3) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .2s;
}

.team .team-item:hover .team-social a:nth-child(4) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .3s;
}

.team .team-text {
    position: relative;
    padding: 25px 15px;
    text-align: center;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, .07);
    border-top: none;
    border-radius: 0 0 15px 15px;
}

.team .team-text h2 {
    font-size: 22px;
    font-weight: 700;
}

.team .team-text p {
    margin: 0;
    font-size: 16px;
}


/*******************************/
/******* Testimonial CSS *******/
/*******************************/
.testimonial {
    position: relative;
    width: 100%;
    padding: 90px 0;
    margin: 45px 0;
    background: rgba(0, 0, 0, .04);
}

.testimonial .testimonials-carousel {
    position: relative;
    width: calc(100% + 30px);
    margin: 0 -15px;
}

.testimonial .testimonial-item {
    position: relative;
    margin: 15px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, .08);
    transition: .3s;
    overflow: hidden;
}

.testimonial .testimonial-item:hover {
    box-shadow: none;
}

.testimonial .testimonial-img {
    position: relative;
    width: 100px;
    border-radius: 100px;
    margin-bottom: 20px;
    overflow: hidden;
}

.testimonial .testimonial-img img {
    width: 100%;
    border-radius: 100px;
}

.testimonial .testimonial-item p {
    text-align: center;
    margin-bottom: 10px;
}

.testimonial .testimonial-item h2 {
    position: relative;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 2px;
}

.testimonial .testimonial-item h3 {
    color: #999999;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.testimonial .owl-dots {
    margin-top: 10px;
    text-align: center;
}

.testimonial .owl-dot {
    display: inline-block;
    margin: 0 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #08e099;
}

.testimonial .owl-dot.active {
    background: #252c41;
}


/*******************************/
/*********** Blog CSS **********/
/*******************************/
.blog {
    position: relative;
    width: 100%;
    padding: 45px 0 0 0;
}

.blog .blog-item {
    position: relative;
}

.blog .blog-img {
    position: relative;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    z-index: 1;
}

.blog .blog-img img {
    width: 100%;
}

.blog .blog-content {
    position: relative;
    width: calc(100% - 60px);
    top: -60px;
    left: 30px;
    padding: 25px 30px 30px 30px;
    background: #ffffff;
    box-shadow: 0 0 30px rgba(0, 0, 0, .08);
    border-radius: 15px;
    z-index: 2;
}

.blog .blog-content h2.blog-title {
    font-size: 22px;
    font-weight: 700;
}

.blog .blog-meta {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.blog .blog-meta p {
    margin: 0 10px 0 0;
    font-size: 14px;
    color: #999999;
}

.blog .blog-meta i {
    color: #08e099;
    margin-right: 5px;
}

.blog .blog-meta p:last-child {
    margin: 0;
}

.blog .blog-text {
    position: relative;
}

.blog .blog-text p {
    margin-bottom: 10px;
}

.blog .blog-item a.btn {
    margin-top: 10px;
    padding: 5px 15px;
}

.blog .pagination .page-link {
    color: #08e099;
    border-radius: 5px;
    border-color: #08e099;
    margin: 0 2px;
}

.blog .pagination .page-link:hover,
.blog .pagination .page-item.active .page-link {
    color: #ffffff;
    background: #08e099;
}

.blog .pagination .disabled .page-link {
    color: #999999;
}

@media(max-width: 575.98px) {
    .blog .blog-meta p {
        flex: 50%;
        font-size: 13px;
        margin: 0 0 5px 0;
    }
}


/*******************************/
/******* Single Post CSS *******/
/*******************************/
.single {
    position: relative;
    padding: 45px 0;
}

.single .single-content {
    position: relative;
    margin-bottom: 30px;
    overflow: hidden;
}

.single .single-content img {
    margin-bottom: 20px;
    width: 100%;
}

.single .single-tags {
    margin: -5px -5px 41px -5px;
    font-size: 0;
}

.single .single-tags a {
    margin: 5px;
    display: inline-block;
    padding: 7px 15px;
    font-size: 14px;
    font-weight: 400;
    color: #08e099;
    border: 1px solid #dddddd;
    border-radius: 5px;
}

.single .single-tags a:hover {
    color: #ffffff;
    background: #08e099;
    border-color: #08e099;
}

.single .single-bio {
    margin-bottom: 45px;
    padding: 30px;
    background: rgba(0, 0, 0, .04);
    display: flex;
}

.single .single-bio-img {
    width: 100%;
    max-width: 100px;
}

.single .single-bio-img img {
    width: 100%;
    border-radius: 100px;
}

.single .single-bio-text {
    padding-left: 30px;
}

.single .single-bio-text h3 {
    font-size: 20px;
    font-weight: 700;
}

.single .single-bio-text p {
    margin: 0;
}

.single .single-related {
    margin-bottom: 45px;
}

.single .single-related h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 25px;
}

.single .related-slider {
    position: relative;
    margin: 0 -15px;
    width: calc(100% + 30px);
}

.single .related-slider .post-item {
    margin: 0 15px;
}

.single .post-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.single .post-item .post-img {
    width: 100%;
    max-width: 80px;
}

.single .post-item .post-img img {
    width: 100%;
    border-radius: 5px;
}

.single .post-item .post-text {
    padding-left: 15px;
}

.single .post-item .post-text a {
    color: #757575;
    font-size: 17px;
}

.single .post-item .post-text a:hover {
    color: #08e099;
}

.single .post-item .post-meta {
    display: flex;
    margin-top: 8px;
}

.single .post-item .post-meta p {
    display: inline-block;
    margin: 0;
    padding: 0 3px;
    font-size: 14px;
    font-weight: 300;
    font-style: italic;
}

.single .post-item .post-meta p a {
    margin-left: 5px;
    color: #999999;
    font-size: 14px;
    font-weight: 300;
    font-style: normal;
}

.single .related-slider .owl-nav {
    position: absolute;
    width: 90px;
    top: -55px;
    right: 15px;
    display: flex;
}

.single .related-slider .owl-nav .owl-prev,
.single .related-slider .owl-nav .owl-next {
    margin-left: 15px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: #08e099;
    font-size: 16px;
    transition: .3s;
}

.single .related-slider .owl-nav .owl-prev:hover,
.single .related-slider .owl-nav .owl-next:hover {
    color: #ffffff;
    background: #252c41;
}

.single .single-comment {
    position: relative;
    margin-bottom: 45px;
}

.single .single-comment h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 25px;
}

.single .comment-list {
    list-style: none;
    padding: 0;
}

.single .comment-child {
    list-style: none;
}

.single .comment-body {
    display: flex;
    margin-bottom: 30px;
}

.single .comment-img {
    width: 60px;
}

.single .comment-img img {
    width: 100%;
    border-radius: 100px;
}

.single .comment-text {
    padding-left: 15px;
    width: calc(100% - 60px);
}

.single .comment-text h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 3px;
}

.single .comment-text span {
    display: block;
    font-size: 14px;
    font-weight: 300;
    margin-bottom: 5px;
}

.single .comment-text .btn {
    padding: 3px 10px;
    font-size: 14px;
    color: #454545;
    background: #dddddd;
    border-radius: 5px;
}

.single .comment-text .btn:hover {
    background: #08e099;
}

.single .comment-form {
    position: relative;
}

.single .comment-form h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 25px;
}

.single .comment-form form {
    padding: 30px;
    background: #f3f6ff;
}

.single .comment-form form .form-group:last-child {
    margin: 0;
}

.single .comment-form input,
.single .comment-form textarea {
    border-radius: 5px;
}


/**********************************/
/*********** Sidebar CSS **********/
/**********************************/
.sidebar {
    position: relative;
    width: 100%;
}

@media(max-width: 991.98px) {
    .sidebar {
        margin-top: 45px;
    }
}

.sidebar .sidebar-widget {
    position: relative;
    margin-bottom: 45px;
}

.sidebar .sidebar-widget .widget-title {
    position: relative;
    margin-bottom: 30px;
    padding-bottom: 5px;
    font-size: 25px;
    font-weight: 700;
}

.sidebar .sidebar-widget .widget-title::after {
    position: absolute;
    content: "";
    width: 60px;
    height: 2px;
    bottom: 0;
    left: 0;
    background: #08e099;
}

.sidebar .sidebar-widget .search-widget {
    position: relative;
}

.sidebar .search-widget input {
    height: 50px;
    border: 1px solid #dddddd;
    border-radius: 5px;
}

.sidebar .search-widget input:focus {
    box-shadow: none;
}

.sidebar .search-widget .btn {
    position: absolute;
    top: 6px;
    right: 15px;
    height: 40px;
    padding: 0;
    font-size: 25px;
    color: #08e099;
    background: none;
    border-radius: 0;
    border: none;
    transition: .3s;
}

.sidebar .search-widget .btn:hover {
    color: #252c41;
}

.sidebar .sidebar-widget .recent-post {
    position: relative;
}

.sidebar .sidebar-widget .tab-post {
    position: relative;
}

.sidebar .tab-post .nav.nav-pills .nav-link {
    color: #ffffff;
    background: #08e099;
    border-radius: 0;
}

.sidebar .tab-post .nav.nav-pills .nav-link:hover,
.sidebar .tab-post .nav.nav-pills .nav-link.active {
    color: #ffffff;
    background: #252c41;
}

.sidebar .tab-post .tab-content {
    padding: 15px 0 0 0;
    background: transparent;
}

.sidebar .tab-post .tab-content .container {
    padding: 0;
}

.sidebar .sidebar-widget .category-widget {
    position: relative;
}

.sidebar .category-widget ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar .category-widget ul li {
    margin: 0 0 12px 22px; 
}

.sidebar .category-widget ul li:last-child {
    margin-bottom: 0; 
}

.sidebar .category-widget ul li a {
    display: inline-block;
    line-height: 23px;
}

.sidebar .category-widget ul li::before {
    position: absolute;
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #08e099;
    left: 1px;
}

.sidebar .category-widget ul li span {
    display: inline-block;
    float: right;
}

.sidebar .sidebar-widget .tag-widget {
    position: relative;
    margin: -5px -5px;
}

.single .tag-widget a {
    margin: 5px;
    display: inline-block;
    padding: 7px 15px;
    font-size: 14px;
    font-weight: 400;
    color: #08e099;
    border: 1px solid #dddddd;
    border-radius: 5px;
}

.single .tag-widget a:hover {
    color: #ffffff;
    background: #08e099;
    border-color: #08e099;
}

.sidebar .image-widget {
    display: block;
    width: 100%;
    overflow: hidden;
}

.sidebar .image-widget img {
    max-width: 100%;
    transition: .3s;
}

.sidebar .image-widget img:hover {
    transform: scale(1.1);
}


/*******************************/
/********* Contact CSS *********/
/*******************************/
.contact {
    position: relative;
    width: 100%;
    padding: 45px 0 15px 0;
}

.contact .contact-information {
    min-height: 150px;
    margin: 0 0 30px 0;
    padding: 30px 15px 0 15px;
    background: rgba(0, 0, 0, .04);
}

.contact .contact-info {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.contact .contact-icon {
    position: relative;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #08e099;
    border-radius: 50px;
}

.contact .contact-icon i {
    font-size: 18px;
    color: #ffffff;
}

.contact .contact-text {
    position: relative;
    width: calc(100% - 50px);
    display: flex;
    flex-direction: column;
    padding-left: 15px;
}

.contact .contact-text h3 {
    font-size: 18px;
    font-weight: 700;
    color: #252c41;
}

.contact .contact-text p {
    margin: 0;
    font-size: 16px;
    color: #454545;
}

.contact .contact-social a {
    margin-right: 10px;
    font-size: 18px;
    color: #08e099;
}

.contact .contact-social a:hover {
    color: #252c41;
}

.contact .contact-form iframe {
    width: 100%;
    height: 380px;
    border-radius: 15px;
    margin-bottom: 25px;
}

.contact .contact-form input {
    padding: 15px;
    background: none;
    border-radius: 5px;
    border: 1px solid rgba(0, 0, 0, .1);
}

.contact .contact-form textarea {
    height: 150px;
    padding: 8px 15px;
    background: none;
    border-radius: 5px;
    border: 1px solid rgba(0, 0, 0, .1);
}

.contact .help-block ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}


/*******************************/
/********* Footer CSS **********/
/*******************************/
.footer {
    position: relative;
    margin-top: 45px;
    padding-top: 90px;
    background: rgba(0, 0, 0, .04);
}

.footer .footer-contact,
.footer .footer-link,
.footer .footer-newsletter {
    position: relative;
    margin-bottom: 45px;
    color: #454545;
}

.footer .footer-contact h2,
.footer .footer-link h2,
.footer .footer-newsletter h2 {
    position: relative;
    margin-bottom: 30px;
    padding-bottom: 10px;
    font-size: 22px;
    font-weight: 700;
    color: #08e099;
}

.footer .footer-contact h2::after,
.footer .footer-link h2::after,
.footer .footer-newsletter h2::after {
    position: absolute;
    content: "";
    width: 45px;
    height: 2px;
    bottom: 0;
    left: 0;
    background: #252c41;
}

.footer .footer-link a {
    display: block;
    margin-bottom: 10px;
    color: #454545;
    transition: .3s;
}

.footer .footer-link a::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
    color: #08e099;
}

.footer .footer-link a:hover {
    color: #08e099;
    letter-spacing: 1px;
}

.footer .footer-contact p i {
    width: 25px;
    color: #08e099;
}

.footer .footer-social {
    position: relative;
    margin-top: 20px;
    display: flex;
}

.footer .footer-social a {
    display: inline-block;
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #08e099;
    border-radius: 35px;
    font-size: 16px;
    color: #ffffff;
}

.footer .footer-social a:hover {
    background: #252c41;
}

.footer .footer-social a:last-child {
    margin: 0;
}

.footer .footer-newsletter .form {
    position: relative;
    width: 100%;
}

.footer .footer-newsletter input {
    height: 60px;
    background: transparent;
    border: 1px solid #08e099;
    border-radius: 5px;
}

.footer .footer-newsletter .btn {
    position: absolute;
    top: 8px;
    right: 8px;
    height: 44px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 700;
}

.footer .copyright {
    position: relative;
    width: 100%;
    padding: 30px 0;
    text-align: center;
    background: #ffffff;
}

.footer .copyright p {
    margin: 0;
    display: inline-block;
    color: #454545;
}

.footer .copyright p a {
    color: #08e099;
}

.footer .copyright p a:hover {
    color: #252c41;
}

/* --- sticky navbar gradient override (desktop) --- */
@media (min-width: 992px) {
	.navbar.nav-sticky {
		background: linear-gradient(to right,
			rgba(0, 0, 0, 0.35) 0%,
			rgba(0, 0, 0, 0.20) 25%,
			rgba(255, 255, 255, 0.85) 45%,
			rgba(255, 255, 255, 1) 65%,
                rgba(255, 255, 255, 1) 100%) !important;
	}
}

/* --- end gradient override --- */

/* Hover Card Component Styles (ported) */
.hero-hover-card-container {
    text-align: center;
    margin: 2rem 0;
}

.hero-hover-card-title {
    color: white;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hover-card-container {
    position: relative;
    width: 100%;
    height: 508px;
    transition: 200ms;
    margin: 0 auto;
    max-width: 1200px;
}

.hover-card-container:active {
    width: 98%;
    height: 490px;
}

.hover-noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.hover-card {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    transition: 1000ms;
    background: linear-gradient(45deg, #1a1a1a, #262626);
    border: 2px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3), inset 0 0 20px rgba(0, 0, 0, 0.2);
}

.hover-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
    transition: opacity 300ms ease-in-out;
    z-index: -1;
    border-radius: 20px;
}

/* Use this helper class to inject background via inline style or additional CSS rule */
.hover-card-bg {
    background-image: url('../img/bg.jpg');
}

.hover-card:hover::after {
    opacity: 1;
}

.hover-card-content {
    position: relative;
    width: 100%;
    height: 100%;
}

.hover-prompt {
    bottom: 200px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    font-size: 32px;
    font-weight: 600;
    letter-spacing: 4px;
    transition: 150ms ease-in-out;
    position: absolute;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    opacity: 1;
}

.hover-title {
    opacity: 0;
    transition: 150ms ease-in-out;
    position: absolute;
    font-size: 56px;
    font-weight: 800;
    letter-spacing: 8px;
    text-align: center;
    width: 100%;
    padding-top: 40px;
    background: linear-gradient(45deg, #ffffff, #00a2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 30px rgba(0, 255, 170, 0.3));
}

.hover-subtitle {
    position: absolute;
    bottom: 80px;
    width: 100%;
    text-align: center;
    font-size: 24px;
    letter-spacing: 4px;
    transform: translateY(60px);
    color: rgba(255, 255, 255, 0.6);
}

.hover-highlight {
    color: #00ffaa;
    margin-left: 5px;
    background: linear-gradient(90deg, #00ffaa, #3da000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
}

.below-hover-text {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
}

.browse-link {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 50px;
    background: linear-gradient(135deg, rgba(0, 255, 170, 0.15), rgba(61, 160, 0, 0.15));
    border: 2px solid rgba(0, 255, 170, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 255, 170, 0.2);
}

.browse-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.browse-link:hover::before {
    left: 100%;
}

.browse-link:hover {
    background: linear-gradient(135deg, rgba(0, 255, 170, 0.25), rgba(61, 160, 0, 0.25));
    border-color: rgba(0, 255, 170, 0.8);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 255, 170, 0.4), 0 0 20px rgba(0, 255, 170, 0.2);
}

.browse-text {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 3px;
    background: linear-gradient(90deg, #08e099, #00bcd4);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

.browse-arrow {
    font-size: 22px;
    color: #08e099;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 5px rgba(79, 195, 247, 0.5));
}

.browse-link:hover .browse-arrow {
    transform: translateX(8px) scale(1.2);
    color: #29b6f6;
    filter: drop-shadow(0 0 8px rgba(79, 195, 247, 0.8));
}

/* Maintain arrow hover animation when not using .browse-link wrapper */
.section-header a {
    text-decoration: none;
}
.section-header a:hover .browse-arrow {
    transform: translateX(8px) scale(1.2);
    color: #29b6f6;
    filter: drop-shadow(0 0 8px rgba(79, 195, 247, 0.8));
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    .below-hover-text {
        margin-top: 25px;
        margin-bottom: 20px;
    }

    .browse-link {
        padding: 14px 28px;
        gap: 10px;
        border-radius: 40px;
    }

    .browse-text {
        font-size: 18px;
        letter-spacing: 2.5px;
    }

    .browse-arrow {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .below-hover-text {
        margin-top: 20px;
        margin-bottom: 15px;
    }

    .browse-link {
        padding: 12px 24px;
        gap: 8px;
        border-radius: 35px;
    }

    .browse-text {
        font-size: 16px;
        letter-spacing: 2px;
    }

    .browse-arrow {
        font-size: 18px;
    }
}

/* Very small screens */
@media (max-width: 360px) {
    .below-hover-text {
        margin-top: 15px;
        margin-bottom: 10px;
    }

    .browse-link {
        padding: 10px 20px;
        gap: 6px;
        border-radius: 30px;
    }

    .browse-text {
        font-size: 14px;
        letter-spacing: 1.5px;
    }

    .browse-arrow {
        font-size: 16px;
    }
}

/* Subtle pulse */
.browse-link {
    animation: subtlePulse 3s ease-in-out infinite;
}

@keyframes subtlePulse {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(0, 255, 170, 0.2);
    }

    50% {
        box-shadow: 0 4px 20px rgba(0, 255, 170, 0.3);
    }
}

.browse-link:hover {
    animation: none;
}

.hover-glowing-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hover-glow-1,
.hover-glow-2,
.hover-glow-3 {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(0, 255, 170, 0.3) 0%, rgba(0, 255, 170, 0) 70%);
    filter: blur(30px);
    opacity: 0;
    transition: opacity 0.15s ease;
}

.hover-glow-1 {
    top: -40px;
    left: -40px;
}

.hover-glow-2 {
    top: 50%;
    right: -60px;
    transform: translateY(-50%);
}

.hover-glow-3 {
    bottom: -40px;
    left: 30%;
}

.hover-card-particles span {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #00ffaa;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.15s ease;
}

.hover-card-particles span:nth-child(1) {
    --x: 1;
    --y: -1;
    top: 40%;
    left: 20%;
}

.hover-card-particles span:nth-child(2) {
    --x: -1;
    --y: -1;
    top: 60%;
    right: 20%;
}

.hover-card-particles span:nth-child(3) {
    --x: 0.5;
    --y: 1;
    top: 20%;
    left: 40%;
}

.hover-card-particles span:nth-child(4) {
    --x: -0.5;
    --y: 1;
    top: 80%;
    right: 40%;
}

.hover-card-particles span:nth-child(5) {
    --x: 1;
    --y: 0.5;
    top: 30%;
    left: 60%;
}

.hover-card-particles span:nth-child(6) {
    --x: -1;
    --y: 0.5;
    top: 70%;
    right: 60%;
}

.hover-card::before {
    content: "";
    background: radial-gradient(circle at center, rgba(0, 255, 170, 0.1) 0%, rgba(0, 162, 255, 0.05) 50%, transparent 100%);
    filter: blur(20px);
    opacity: 0;
    width: 150%;
    height: 150%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.15s ease;
}

.hover-card-glare {
    position: absolute;
    inset: 0;
    background: linear-gradient(125deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.05) 45%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.05) 55%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 150ms;
}

.hover-cyber-lines span {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(92, 103, 255, 0.2), transparent);
}

.hover-cyber-lines span:nth-child(1) {
    top: 20%;
    left: 0;
    width: 100%;
    height: 1px;
    transform: scaleX(0);
    transform-origin: left;
    animation: hoverLineGrow 3s linear infinite;
}

.hover-cyber-lines span:nth-child(2) {
    top: 40%;
    right: 0;
    width: 100%;
    height: 1px;
    transform: scaleX(0);
    transform-origin: right;
    animation: hoverLineGrow 3s linear infinite 1s;
}

.hover-cyber-lines span:nth-child(3) {
    top: 60%;
    left: 0;
    width: 100%;
    height: 1px;
    transform: scaleX(0);
    transform-origin: left;
    animation: hoverLineGrow 3s linear infinite 2s;
}

.hover-cyber-lines span:nth-child(4) {
    top: 80%;
    right: 0;
    width: 100%;
    height: 1px;
    transform: scaleX(0);
    transform-origin: right;
    animation: hoverLineGrow 3s linear infinite 1.5s;
}

.hover-corner-elements span {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 4px solid rgba(92, 103, 255, 0.3);
}

.hover-corner-elements span:nth-child(1) {
    top: 20px;
    left: 20px;
    border-right: 0;
    border-bottom: 0;
}

.hover-corner-elements span:nth-child(2) {
    top: 20px;
    right: 20px;
    border-left: 0;
    border-bottom: 0;
}

.hover-corner-elements span:nth-child(3) {
    bottom: 20px;
    left: 20px;
    border-right: 0;
    border-top: 0;
}

.hover-corner-elements span:nth-child(4) {
    bottom: 20px;
    right: 20px;
    border-left: 0;
    border-top: 0;
}

.hover-scan-line {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, rgba(92, 103, 255, 0.1), transparent);
    transform: translateY(-100%);
    animation: hoverScanMove 2s linear infinite;
}

@keyframes hoverLineGrow {
    0% {
        transform: scaleX(0);
        opacity: 0;
    }

    50% {
        transform: scaleX(1);
        opacity: 1;
    }

    100% {
        transform: scaleX(0);
        opacity: 0;
    }
}

@keyframes hoverScanMove {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(100%);
    }
}

@keyframes hoverParticleFloat {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translate(calc(var(--x, 0) * 30px), calc(var(--y, 0) * 30px));
        opacity: 0;
    }
}

.hover-canvas {
    perspective: 800px;
    inset: 0;
    z-index: 200;
    position: absolute;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(5, 1fr);
    gap: 0;
    grid-template-areas: "tr-1 tr-2 tr-3 tr-4 tr-5" "tr-6 tr-7 tr-8 tr-9 tr-10" "tr-11 tr-12 tr-13 tr-14 tr-15" "tr-16 tr-17 tr-18 tr-19 tr-20" "tr-21 tr-22 tr-23 tr-24 tr-25";
}

.hover-tr-1 {
    grid-area: tr-1
}

.hover-tr-2 {
    grid-area: tr-2
}

.hover-tr-3 {
    grid-area: tr-3
}

.hover-tr-4 {
    grid-area: tr-4
}

.hover-tr-5 {
    grid-area: tr-5
}

.hover-tr-6 {
    grid-area: tr-6
}

.hover-tr-7 {
    grid-area: tr-7
}

.hover-tr-8 {
    grid-area: tr-8
}

.hover-tr-9 {
    grid-area: tr-9
}

.hover-tr-10 {
    grid-area: tr-10
}

.hover-tr-11 {
    grid-area: tr-11
}

.hover-tr-12 {
    grid-area: tr-12
}

.hover-tr-13 {
    grid-area: tr-13
}

.hover-tr-14 {
    grid-area: tr-14
}

.hover-tr-15 {
    grid-area: tr-15
}

.hover-tr-16 {
    grid-area: tr-16
}

.hover-tr-17 {
    grid-area: tr-17
}

.hover-tr-18 {
    grid-area: tr-18
}

.hover-tr-19 {
    grid-area: tr-19
}

.hover-tr-20 {
    grid-area: tr-20
}

.hover-tr-21 {
    grid-area: tr-21
}

.hover-tr-22 {
    grid-area: tr-22
}

.hover-tr-23 {
    grid-area: tr-23
}

.hover-tr-24 {
    grid-area: tr-24
}

.hover-tr-25 {
    grid-area: tr-25
}

.hover-tracker {
    position: absolute;
    z-index: 200;
    width: 100%;
    height: 100%;
}

.hover-tracker:hover {
    cursor: pointer;
}

.hover-tracker:hover~.hover-card .hover-prompt {
    opacity: 1;
}

.hover-tracker:hover~.hover-card .hover-title {
    opacity: 1;
    transform: translateY(-10px);
}

.hover-tracker:hover~.hover-card::after {
    opacity: 0.8;
}

.hover-tracker:hover~.hover-card .hover-glowing-elements div {
    opacity: 1;
}

.hover-tracker:hover~.hover-card .hover-card-particles span {
    animation: hoverParticleFloat 2s infinite;
}

.hover-tracker:hover~.hover-card::before {
    opacity: 1;
}

.hover-tracker:hover~.hover-card {
    transition: 150ms;
    filter: brightness(1.1);
}

.hover-card-container:hover .hover-card::before {
    transition: 100ms;
    content: "";
    opacity: 80%;
}

.hover-card:hover .hover-card-glare {
    opacity: 1;
}

.hover-corner-elements span {
    transition: all 0.15s ease;
}

.hover-card:hover .hover-corner-elements span {
    border-color: rgba(92, 103, 255, 0.8);
    box-shadow: 0 0 10px rgba(92, 103, 255, 0.5);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-hover-card-title {
        font-size: 2rem;
    }

    .hover-card-container {
        width: 95%;
        height: 400px;
    }

    .hover-title {
        font-size: 40px;
    }

    .hover-prompt {
        font-size: 24px;
    }

    .hover-subtitle {
        font-size: 18px;
    }

    .hover-card::after {
        background-size: cover;
        background-position: center;
    }
}

@media (max-width: 480px) {
    .hero-hover-card-title {
        font-size: 1.8rem;
    }

    .hover-card-container {
        width: 100vw;
        left: 0;
        right: 0;
        height: 350px;
        max-width: 100vw;
        margin: 0;
    }

    .hover-title {
        font-size: 32px;
    }

    .hover-prompt {
        font-size: 20px;
    }

    .hover-subtitle {
        font-size: 16px;
    }

    .hover-card::after {
        background-size: cover;
        background-position: center;
    }
}

.txt {
    position: relative;
    font-family: sans-serif;
    font-size: 1em;
    letter-spacing: 4px;
    overflow: hidden;
    background: linear-gradient(90deg, #fff 10%, #4d4d4d 20%);
    background-repeat: no-repeat;
    background-size: 80%;
    animation: animate 3s linear infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: rgba(255, 255, 255, 0);
}

@keyframes animate {
    0% {
        background-position: -500%;
    }

    100% {
        background-position: 500%;
    }
}

/* Feature section: wave-only hover background for feature cards */
.feature .feature-item {
    position: relative;
    overflow: hidden; /* clip animated layers */
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    will-change: transform;
}

/* Keep content above animated layers */
.feature .feature-item > * {
    position: relative;
    z-index: 1;
}

/* Bottom wave */
.feature .feature-item::before {
    content: "";
    position: absolute;
    left: -15%;
    right: -15%;
    bottom: -35%;
    height: 70%;
    pointer-events: none;
    z-index: 0;

    /* Curved wave fading out (uses rgba for wide browser support) */
    background: radial-gradient(120% 85% at 50% 100%,
        rgba(8, 224, 153, 0.35) 0%,
        rgba(8, 224, 153, 0.22) 40%,
        rgba(8, 224, 153, 0.14) 58%,
        rgba(8, 224, 153, 0.00) 62%
    );
    opacity: 0;
    transform: translateY(6%) scale(1.02);
    transition: opacity 0.35s ease;
    will-change: transform, opacity;
}

/* Top wave (fainter) */
.feature .feature-item::after {
    content: "";
    position: absolute;
    left: -20%;
    right: -20%;
    top: -40%;
    height: 60%;
    pointer-events: none;
    z-index: 0;

    background: radial-gradient(110% 80% at 50% 0%,
        rgba(8, 224, 153, 0.18) 0%,
        rgba(8, 224, 153, 0.10) 36%,
        rgba(8, 224, 153, 0.00) 60%
    );
    filter: blur(0.5px);
    opacity: 0;
    transition: opacity 0.35s ease;
    will-change: transform, opacity;
}

/* Hover interactions */
.feature .feature-item:hover {
    transform: translateY(-2px);
}

.feature .feature-item:hover::before {
    opacity: 1;
    animation: feat-wave-drift 6s ease-in-out infinite alternate;
}

.feature .feature-item:hover::after {
    opacity: 1;
    animation: feat-wave-drift-top 7.5s ease-in-out infinite alternate;
}

/* Keyframes */
@keyframes feat-wave-drift {
    0% { transform: translateX(-8%) translateY(6%) scale(1.02); }
    100% { transform: translateX(8%) translateY(6%) scale(1.02); }
}

@keyframes feat-wave-drift-top {
    0% { transform: translateX(6%) translateY(0%) scale(1.01); }
    100% { transform: translateX(-6%) translateY(0%) scale(1.01); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .feature .feature-item,
    .feature .feature-item::before,
    .feature .feature-item::after {
        transition: none !important;
        animation: none !important;
    }
}

/* Stronger overrides for Feature item hover waves (appended last) */
.feature .feature-item {
    border-radius: 12px;
    background: rgba(8, 224, 153, 0.04);
}

.feature .feature-item:hover {
    box-shadow: 0 10px 30px rgba(8, 224, 153, 0.25);
}

.feature .feature-item::before {
    bottom: -10%;
    height: 100%;
    background: radial-gradient(120% 90% at 50% 100%,
        rgba(8, 224, 153, 0.48) 0%,
        rgba(8, 224, 153, 0.32) 40%,
        rgba(8, 224, 153, 0.18) 62%,
        rgba(8, 224, 153, 0.00) 70%
    );
}

.feature .feature-item::after {
    top: -30%;
    height: 70%;
    background: radial-gradient(110% 80% at 50% 0%,
        rgba(8, 224, 153, 0.28) 0%,
        rgba(8, 224, 153, 0.16) 36%,
        rgba(8, 224, 153, 0.00) 62%
    );
}

/* Icon clipping fix for Feature items */
.feature .feature-item {
    padding: 26px 20px 20px;
}

/* Ensure the decorative circle behind the icon is above the wave layers */
.feature .feature-item i::after {
    z-index: 0; /* was -1; bring it above parent ::before/::after (z-index:0) */
}

/* Keep feature content above waves */
.feature .feature-item > * {
    z-index: 1;
}

/* Feature icons stacking and spacing fix */
.feature .feature-item {
    padding-top: 34px; /* extra headroom to avoid top clipping */
}

.feature .feature-item i {
    position: relative;
    z-index: 2; /* ensure icon renders above wave layers */
}

.feature .feature-item i::after {
    position: absolute; /* maintain circle positioning */
    z-index: 1; /* circle sits above waves but below icon glyph */
}

/* Feature CTA QR card (scoped) */
.feature .feature-cta-card {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-top: 18px;
}

.feature .card-id567 {
    width: 170px;
    height: 170px;
    background: #ffffff;
    border-radius: 16px;
    padding: 12px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 300ms ease, box-shadow 300ms ease;
    animation: 8s thumb-thumb infinite;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.feature .card-id567:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(8, 224, 153, 0.18);
}

.feature .card-id567 svg path {
    transition: 300ms ease;
    stroke: #141414;
    opacity: 0;
}

.feature .card-id567 .prompt-id567 svg path {
    stroke: none;
    opacity: 1;
}

.feature .bold-567 { font-weight: 700; }

.feature .blurry-splash {
    position: absolute;
    inset: 0;
    width: 60px;
    height: 60px;
    margin: auto;
    border-radius: 12px;
    z-index: 0;
    opacity: 0.7;
    filter: blur(15px);
    background: linear-gradient(120deg, #08e099, #00a8a0, #08e099);
}

.feature .prompt-id567 {
    position: absolute;
    color: #1d1d1d;
    text-align: center;
    z-index: 1;
}

.feature .really-small-text {
    text-align: center;
    width: 100%;
    position: absolute;
    font-size: 10px;
    margin-top: 26px;
    opacity: 0.6;
}

.feature .card-id567:hover .prompt-id567 { opacity: 0.9; }

/* Hide any top-level SVG inside the feature CTA card (e.g., QR graphic) */
.feature .card-id567 > svg { display: none !important; }

.feature .token-container { animation: 2s spinny-token-yayyy infinite; margin-bottom: 8px; }

@keyframes spinny-token-yayyy { 0% { transform: perspective(200px) rotateY(0deg); } 100% { transform: perspective(200px) rotateY(360deg); } }
@keyframes thumb-thumb { 0%,10%,100% { transform: scale(1); } 5% { transform: scale(1.03); } 7% { transform: scale(0.97); } }

/* Responsive layout: place card below text on small screens */
@media (max-width: 991.98px) {
    .feature .feature-cta-card {
        margin-top: 14px;
    }
}

@media (max-width: 768px) {
    .feature .feature-cta-card {
        flex-direction: row;
        justify-content: flex-start;
        gap: 12px;
    }
    .feature .card-id567 { width: 150px; height: 150px; }
}

@media (max-width: 576px) {
    .feature .feature-cta-card {
        flex-wrap: wrap;
        gap: 10px;
    }
    .feature .card-id567 { width: 140px; height: 140px; }
}

/* Full-width golden CTA sizing to match feature image grid height */
@media (min-width: 992px) {
    .feature .feature-img {
        margin-bottom: 16px;
    }
    .feature .feature-cta-card {
        width: 100%;
    }
    .feature .feature-cta-card .card-id567 {
        width: 100%;
        height: 200px; /* approximate height to balance the left column area */
        display: grid;
        place-items: center;
        padding: 16px;
    }
    /* Larger title text within the card */
    .feature .feature-cta-card .prompt-id567 p {
        font-size: 1.05rem;
        margin: 0;
        color: #0b0b0b;
    }
}

@media (min-width: 1200px) {
    .feature .feature-cta-card .card-id567 {
        height: 240px; /* taller on large desktop */
    }
    .feature .feature-cta-card .prompt-id567 p {
        font-size: 1.15rem;
    }
}

/* Mobile/tablet: keep compact */
@media (max-width: 991.98px) {
    .feature .feature-cta-card .card-id567 {
        width: 100%;
        height: 160px;
    }
}

/* Golden membership card theme */
.feature .card-id567.golden-card {
    color: #2b2100;
    background: linear-gradient(0deg, rgba(184,134,11,0.25), rgba(255,215,0,0.18)), var(--golden-bg, none);
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(184, 134, 11, 0.45);
    box-shadow: 0 10px 28px rgba(8, 224, 153, 0.25);
}

.feature .card-id567.golden-card .prompt-id567 { color: #2b2100; text-shadow: 0 1px 0 rgba(255,255,255,0.25); }
.feature .card-id567.golden-card .bold-567 { color: #2b2100; }

.feature .card-id567.golden-card .blurry-splash {
    background: radial-gradient(circle at 40% 50%, rgba(255, 215, 0, 0.7), rgba(184, 134, 11, 0.6), rgba(255, 215, 0, 0.5));
    filter: blur(20px);
}

.feature .card-id567.golden-card:hover {
    box-shadow: 0 16px 34px rgba(8, 224, 153, 0.35);
    transform: translateY(-3px);
}

/* Desktop: center the right sidebar vertically and keep it fixed/visible */
@media (min-width: 769px) {
    .side-menu {
        top: 50% !important;
        transform: translateY(-50%) !important;
        height: auto !important;
        max-height: 80vh !important;
    }
    .side-menu-toggle { display: none !important; }
    .side-menu.hidden { transform: translateX(0) !important; opacity: 1 !important; pointer-events: auto !important; }
}

/* Desktop-only: slimmer right sidebar and smaller settings icon */
@media (min-width: 992px) {
	/* Reduce sidebar thickness while keeping original desktop positioning */
	.side-menu {
		width: 50px !important; /* was 56px */
		top: 60px !important; /* restore desktop top offset */
		transform: none !important; /* restore non-centered desktop */
		height: calc(100vh - 60px) !important; /* full height under navbar */
	}

	/* Ensure brand PNG fits nicely in slimmer rail */
	.brand-icon {
		width: 32px;
		height: 32px;
	}

	/* Slightly reduce just the Theme Settings button at bottom */
	.side-menu .menu-item[onclick="openThemeModal()"] {
		width: 32px;
		height: 32px;
	}
	.side-menu .menu-item[onclick="openThemeModal()"] .menu-icon {
		width: 16px;
		height: 16px;
	}
}

/* Desktop-only: ensure right sidebar icons fit comfortably */
@media (min-width: 992px) {
	/* Slightly wider rail and extra bottom padding so nothing gets clipped */
	.side-menu {
		width: 54px !important;
		padding: 18px 0 24px 0 !important;
	}

	/* Standardize all buttons for consistent fit in slimmer rail */
	.side-menu .menu-item {
		width: 34px;
		height: 34px;
		margin: 6px 0;
	}
	.side-menu .menu-item .menu-icon {
		width: 18px;
		height: 18px;
	}

	/* Ensure the settings button (Theme Settings) uses the same size */
	.side-menu .menu-item[onclick="openThemeModal()"] {
		width: 34px;
		height: 34px;
	}
	.side-menu .menu-item[onclick="openThemeModal()"] .menu-icon {
		width: 18px;
		height: 18px;
	}

	/* Brand fits the slimmer rail */
	.brand-icon { width: 30px; height: 30px; }
}