html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 3px;
}

.preloader {
    position: fixed;
    height: 100vh;
    width: 100vw;
    top: 0;
    left: 0;
    z-index: 999999999999;
    background: #1e1d1d;
}

body {
    background: #11162A;
    overflow-x: hidden;
}

.page-header {
    display: none;
}

.header-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
}

.header-menu {
    transition: background 0.5s, padding 0.5s, backdrop-filter 0.5s;
}

.scrolled {
    background: rgba(10, 10, 10, 0.85) !important;
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.quick-links ul {
    display: flex !important;
    flex-direction: column;
    flex-wrap: nowrap !important;
    height: auto !important;
}

.quick-links ul a {
    padding: 0 !important;
    margin: 0 !important;
}

.elementskit-menu-hamburger.elementskit-menu-toggler {
    display: none !important;
}

.elementskit-navbar-nav-default.elementskit-menu-offcanvas-elements {
    position: unset !important;
}

.elementskit-nav-identity-panel {
    display: none !important;
}

div#ekit-megamenu-services {
    background: transparent !important;
}

.hero-text {
    position: relative;
}

.hero-heading {
    position: relative;
    z-index: 2;
    width: 100%;
    white-space: nowrap;
}

@media (max-width: 1800px) {
    .hero-heading {
        position: unset;
        z-index: 2;
        width: 100%;
        white-space: wrap;
    }
}

.img-icon img {
    background: #161e4e;
    border-radius: 50%;
}

.panel {
    position: -webkit-sticky;
    position: sticky;
    top: 120px;
}

@media (max-width: 1024px) {
    .panel {
        position: unset;
    }
}

/* Container for multiple cards */
.services-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 20px;
}

.service-card {
    background: #0a0f1e;
    border: 1px solid #182241;
    border-radius: 24px;
    padding: 40px 60px;
    display: flex;
    align-items: center;
    gap: 50px;
    color: #ffffff;
    overflow: hidden;
    scroll-margin-top: 80px;
}

.service-card__image {
    flex: 0 0 35%;
}

.service-card__image img {
    width: 100%;
    height: auto;
    display: block;
}

.service-card__content {
    flex: 1;
}

.service-card__title {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 15px 0;
}

.service-card__description {
    font-size: 16px;
    line-height: 1.6;
    color: #a0a3b1;
    margin-bottom: 25px;
}

.service-card__button {
    display: inline-flex;
    align-items: center;
    background: #4a54d1;
    color: #fff;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 15px !important;
    transition: 0.3s ease;
    margin-top: 20px;
}

.service-card__button:hover {
    background: #5c67e6;
    transform: translateY(-2px);
}

.service-card__button .arrow {
    margin-left: 10px;
}

@media (max-width: 768px) {
    .service-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .service-card__image {
        flex: 0 0 100%;
        max-width: 250px;
    }
}

/* // Portfolio List Page */
.portfolio-wrapper {
    width: 100%;
    margin: 0 auto;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.portfolio-card {
    position: relative;
    height: 380px;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: #111;
    text-decoration: none !important;
}

.portfolio-card__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
    z-index: 1;
}

.portfolio-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    transition: background 0.4s ease;
    z-index: 2;
}

.portfolio-card:hover .portfolio-card__overlay {
    background: rgba(0, 0, 0, 0.3);
}

.portfolio-card:hover .portfolio-card__bg {
    transform: scale(1.02);
}

.portfolio-card__content {
    position: relative;
    z-index: 3;
    padding: 25px;
    width: 100%;
    font-family: "Inter", Sans-serif;
}

.portfolio-card__title {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    font-family: sans-serif;
}

.portfolio-card__style {
    font-size: 1.5rem !important;
    text-transform: uppercase;
}

.load-more-container {
    text-align: center;
    margin-top: 50px;
}

#load-more-portfolio {
    background: #4a54d1;
    color: #fff;
    border: none;
    padding: 16px 45px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    position: relative;
    transition: 0.3s;
    min-width: 180px;
    height: 50px;
}

#load-more-portfolio:hover {
    background: #5c67e6;
}

#load-more-portfolio:disabled {
    opacity: 0.8;
    cursor: not-allowed;
}

.btn-loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -10px 0 0 -10px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.is-loading .btn-text {
    /* visibility: hidden; */
    /* opacity: 0; */
    display: none;
}

.is-loading .btn-loader {
    display: block;
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

/* News and Insights List Page  */
.insights-hub {
    padding: 40px 0;
    font-family: 'Inter', sans-serif;
}

.hub-header {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    margin-bottom: 40px;
}

.search-wrapper {
    position: relative;
    flex: 1;
    min-width: 250px;
}

.search-wrapper input {
    width: 100%;
    background: #1e2235;
    border: 1px solid #2e344d;
    padding: 12px 20px;
    border-radius: 10px;
    color: white;
    outline: none;
}

.category-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cat-btn {
    padding: 8px 18px;
    border-radius: 30px;
    border: 1px solid #2e344d;
    background: transparent;
    cursor: pointer;
    transition: 0.3s;
}

.cat-btn.active,
.cat-btn:hover {
    background: #4a54d1;
    color: white;
    border-color: #4a54d1;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-flow: dense;
    gap: 25px;
}

.insight-card {
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #252a3d;
    display: flex;
    flex-direction: column;
    text-decoration: none !important;
}

.insight-card.featured {
    grid-column: span 2;
    grid-row: span 1;
}

.insight-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.insight-content {
    padding: 25px;
}

.insight-card h2 {
    font-size: 1.4rem;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.insight-meta {
    color: #c7cbe3;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.insight-excerpt {
    color: #c7cbe3;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.read-more {
    color: #4a54d1 !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.9rem !important;
    margin-top: 20px !important;
}

.skeleton {
    background: #1e2235;
    position: relative;
    overflow: hidden;
    height: 300px;
    border-radius: 15px;
}

.skeleton::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    animation: wave 1.5s infinite;
}

@keyframes wave {
    0% {
        transform: translateX(-100%);
    }

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

/* Load More */
.load-more-box {
    text-align: center;
    margin-top: 50px;
}

.btn-load-more {
    background: transparent;
    border: 1px solid #2e344d;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    width: 230px;
    height: 50px;
}

.spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
}

.is-loading .spinner {
    display: inline-block;
}

.is-loading .btn-text {
    opacity: 0.5;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 992px) {
    .insights-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .insight-card.featured {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .insights-grid {
        grid-template-columns: 1fr;
    }

    .insight-card.featured {
        grid-column: span 1;
    }
}

/* Resources Page */
.product-hub {
    padding: 40px 0;
    font-family: 'Inter', sans-serif;
}

/* Filters */
.hub-header {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    margin-bottom: 40px;
}

.search-wrapper {
    position: relative;
    flex: 1;
    min-width: 250px;
}

.search-wrapper input {
    width: 100%;
    background: #1e2235;
    border: 1px solid #2e344d;
    padding: 12px 20px;
    border-radius: 10px;
    color: white;
    outline: none;
}

.category-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cat-btn {
    padding: 8px 20px;
    border-radius: 30px;
    border: 1px solid #2e344d;
    background: transparent;
    cursor: pointer;
    transition: 0.3s;
}

.cat-btn.active,
.cat-btn:hover {
    color: white;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.product-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #252a3d;
    display: flex;
    flex-direction: column;
    text-decoration: none !important;
    color: inherit !important;
    transition: transform 0.3s ease;
}

.product-badge {
    position: absolute;
    top: 15px;
    right: -5px; 
    padding: 5px 15px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
    border-radius: 4px 0 0 4px;
    box-shadow: -2px 2px 10px rgba(0,0,0,0.3);
}
.badge-paid {
    background: linear-gradient(135deg, #ffd700, #b8860b); 
    color: #000;
}

.badge-free {
    background: linear-gradient(135deg, #00c6ff, #0072ff); 
    color: #fff;
}
.product-badge::after {
    content: "";
    position: absolute;
    top: 100%;
    right: 0;
    border-top: 5px solid rgba(0,0,0,0.5); 
    border-right: 5px solid transparent;
}

.card-img {
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: #161e4e;
}

.card-img img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.product-content {
    padding: 25px;
}

.product-card h2 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    line-height: 1.3;
}

.product-excerpt {
    color: var(--dim);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.btn-product {
    background: linear-gradient(90deg, #4a54d1, #6a74f1);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

/* Skeletons */
.skeleton {
    background: #1e2235;
    height: 380px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.skeleton::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    animation: wave 1.5s infinite;
}

@keyframes wave {
    0% {
        transform: translateX(-100%);
    }

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

/* Load More & Spinner */
.load-more-box {
    text-align: center;
    margin-top: 50px;
}

.btn-load-more {
    background: transparent;
    border: 1px solid #2e344d;
    color: white;
    padding: 12px 35px;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
}

.is-loading .spinner {
    display: inline-block;
}

.is-loading .btn-text {
    opacity: 0.5;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact form 7  */

.custom-dark-form {
    border-radius: 15px;
    color: #ffffff;
    font-family: sans-serif;
}
.custom-dark-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
    color: #e0e0e0;
}
.custom-dark-form input[type="text"],
.custom-dark-form input[type="email"],
.custom-dark-form select,
.custom-dark-form textarea {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid #2a3561;
    border-radius: 8px;
    padding: 12px;
    color: #fff;
    margin-bottom: 20px;
    box-sizing: border-box;
    outline: none;
}
.custom-dark-form input:focus,
.custom-dark-form select:focus,
.custom-dark-form textarea:focus {
    border-color: #4d61ff;
}
.custom-dark-form select option {
    background-color: #ffffff;
    color: #333;
}
.custom-dark-form .submit-wrap {
    text-align: center;
}

.custom-dark-form input[type="submit"] {
    width: 100%;
    background: linear-gradient(90deg, #4d61ff 0%, #3544cc 100%);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.custom-dark-form input[type="submit"]:hover {
    transform: scale(1.02);
    background: linear-gradient(90deg, #5e71ff 0%, #4656e6 100%);
}

.wpcf7-response-output {
    border-radius: 8px !important;
    margin: 15px 0 0 0 !important;
}
.custom-dark-form .field-group small {
    display: block;
    font-size: 13px;
    color: #a0a0a0; 
    margin-bottom: 8px;
    line-height: 1.4;
}
.custom-dark-form input[type="date"] {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid #2a3561;
    border-radius: 8px;
    padding: 12px;
    color: #fff;
    margin-bottom: 20px;
    box-sizing: border-box;
    font-family: inherit;
}

.custom-dark-form input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1); 
    cursor: pointer;
}
/* //Woocommerce CSS  */
.wc-block-grid__product-add-to-cart{
    display: none !important;
}

/* //Product Details Page */
.thinove-product{
    max-width: 1480px;
    width: 100%;
    margin: 150px auto 150px auto;
    color: #fff;
}
@media (max-width: 1600px) {
    .thinove-product {
        padding: 0 5%;
    }
}

/* GRID */
.singles-product-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.product-left {
    min-width: 0; /* 🔥 CRITICAL FIX */
}

.product-right {}

.sticky-box {
    position: sticky;
    top: 200px;
    background: #0a0f1e;
    padding: 30px;
    border-radius: 16px;
}

/* META */
.meta-list {
    list-style: none;
    padding: 0;
    display: flex;
	align-items: center;
	gap: 10px;
}


/* ========================= */
/* ✅ SWIPER SAFE FIX START */
/* ========================= */

.product-slider-wrapper {
    width: 100%;
    overflow: hidden;
    margin: 30px 0;
	position: relative;
}

.product-swiper {
    width: 100%;
}

/* Prevent flex overflow bugs */
.product-swiper .swiper-wrapper {
    display: flex;
    align-items: center;
}

/* Fix slide */
.product-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Fix images */
.product-swiper img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Fix arrow position */
.product-swiper .swiper-button-prev,
.product-swiper .swiper-button-next {
    top: auto;
    bottom: 10px;
    transform: none;
}

/* Center arrows */
.product-swiper .swiper-button-prev {
    left: 42%;
}

.product-swiper .swiper-button-next {
    right: 42%;
}

/* Prevent global conflicts */
.product-swiper * {
    box-sizing: border-box;
}
.listss{
	display: block !important;
	margin: 20px 0 !important;
}
.product-share {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.share-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1f35;
    border-radius: 50%;
    transition: 0.3s;
}

.share-btn svg {
    width: 18px;
    height: 18px;
    fill: #fff;
}

/* Hover colors */
.share-btn.fb:hover {
    background: #1877f2;
}

.share-btn.linkedin:hover {
    background: #0a66c2;
}

.share-btn.instagram:hover {
    background:#1877f2;
}
/* ========================= */
/* ✅ SWIPER SAFE FIX END */
/* ========================= */

/* MOBILE */
@media (max-width: 992px) {
    .singles-product-grid {
        grid-template-columns: 1fr;
    }

    .sticky-box {
        position: static;
    }
}