/* Global Styles */
:root {
    --primary-color: #0d6efd;
    --primary-dark: #0a58ca;
    --accent-color: #0dcaf0;
    --dark-color: #0b1120;
    --light-color: #f8f9fa;
    --text-muted: #6c757d;
    --font-main: 'Be Vietnam Pro', sans-serif;
}

body {
    font-family: var(--font-main);
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
}

section {
    position: relative;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-accent {
    color: var(--accent-color) !important;
}

/* Utilities */
.py-6 {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
}

.section-bg-light {
    background-color: #f3f6f9;
}

.section-bg-dark {
    background-color: var(--dark-color);
}

.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175) !important;
}

.shadow-xl {
    box-shadow: 0 1.5rem 4rem rgba(13, 110, 253, 0.25) !important;
}

.rounded-4 {
    border-radius: 1rem !important;
}

.rounded-5 {
    border-radius: 2rem !important;
}

/* Navigation */
.navbar {
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    padding: 0.8rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.navbar-dark .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.1);
}

.navbar.scrolled .navbar-toggler {
    border-color: rgba(0, 0, 0, 0.1);
}

.navbar.scrolled .navbar-toggler-icon {
    filter: invert(1);
}

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

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
}

.navbar.scrolled.navbar-dark .navbar-nav .nav-link {
    color: var(--dark-color) !important;
}

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

.navbar.scrolled .nav-cart-icon {
    color: var(--dark-color) !important;
}

.glass-card-dark textarea {
    height: 120px;
}

input.wpcf7-form-control.wpcf7-submit.has-spinner {
    display: none;
}

form.wpcf7-form.init p {
    margin-bottom: 0;
}

.glass-card-dark.p-4.p-md-5.shadow-lg.border-white-20 {
    padding-bottom: 10px !important;
}

nav.rank-math-breadcrumb a {
    color: #cdcdcd;
    text-decoration: none;
}

nav.rank-math-breadcrumb p {
    display: flex;
    justify-content: center;
    gap: 5px;
    font-size: 14px;
}

nav.rank-math-breadcrumb a:hover {
    color: #fff;
}

.nav-cart-icon {
    transition: color 0.3s ease;
    color: inherit !important;
}

.nav-link {
    position: relative;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 20px;
}

/* Custom Dropdown Icon */
.dropdown-toggle::after {
    display: none !important;
    /* Hide default caret */
}

.dropdown-toggle::before {
    content: '\f078';
    /* FontAwesome Chevron Down */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.7rem;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
    opacity: 0.7;
}

.nav-link.dropdown-toggle {
    padding-right: 1.2rem !important;
}

.nav-item.dropdown:hover .dropdown-toggle::before {
    transform: translateY(-50%) rotate(180deg);
    color: var(--primary-color);
    opacity: 1;
}

/* Megamenu Styles */
@media (min-width: 992px) {
    .navbar .container {
        position: static !important;
    }

    .has-megamenu {
        position: static !important;
    }

    .has-megamenu .megamenu {
        width: 100vw;
        left: 0 !important;
        right: 0 !important;
        top: 100% !important;
        margin-top: 0;
        border-radius: 0 0 20px 20px !important;
        padding: 3rem 0;
        visibility: hidden;
        opacity: 0;
        display: block !important;
        background: #fff;
        border: 1px solid rgba(0, 0, 0, 0.05) !important;
        z-index: 1000;
        pointer-events: none;
    }

    .has-megamenu:hover .megamenu {
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    /* Bridge to prevent losing hover */
    .has-megamenu .megamenu::before {
        content: '';
        position: absolute;
        top: -20px;
        left: 0;
        right: 0;
        height: 20px;
        background: transparent;
    }

    .navbar-collapse {
        overflow: visible !important;
    }

    .dropdown-menu:not(.megamenu) {
        display: block;
        visibility: hidden;
        opacity: 0;
        border: none;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        padding: 10px;
        min-width: 200px;
    }

    /* Standard Dropdown on Hover */
    .nav-item.dropdown:hover>.dropdown-menu:not(.megamenu) {
        display: block;
        visibility: visible;
        opacity: 1;
    }
}

.dropdown-item {
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #444;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: #f1f5f9;
    color: var(--primary-color);
    padding-left: 20px;
}

#mainNav {
    overflow: visible !important;
}

.mega-item h6 {
    font-size: 1rem;
    margin-top: 10px;
}

.mega-links ul,
.list-child ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-links li,
.list-child li {
    list-style: none;
    margin-bottom: 0;
    /* Changed to use padding for border spacing */
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.mega-links li:last-child,
.list-child li:last-child {
    border-bottom: none;
}

.mega-links a,
.list-child a {
    color: #444;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    display: block;
    padding: 8px 0;
    /* More balanced padding */
}

.mega-links a:hover,
.list-child a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.mega-item-small {
    transition: all 0.3s ease;
    padding: 15px;
    border-radius: 12px;
}

.mega-item-small:hover {
    background: #f1f5f9;
}

.border-start {
    border-color: rgba(0, 0, 0, 0.05) !important;
}

/* Animation */
.animate {
    animation-duration: 0.3s;
    animation-fill-mode: both;
}

@keyframes slideIn {
    0% {
        transform: translateY(10px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.slideIn {
    animation-name: slideIn;
}

/* Banner Slider */
.banner-slider-section {
    position: relative;
    margin-top: 68px;
    /* Offset for fixed header */
}

.text-shadow {
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.banner-nav-btn {
    color: #fff !important;
    background: rgba(13, 110, 253, 0.5);
    width: 45px !important;
    height: 45px !important;
    border-radius: 50%;
}

.banner-nav-btn::after {
    font-size: 18px !important;
    font-weight: bold;
}

.banner-nav-btn:hover {
    background: rgba(13, 110, 253, 1);
}

.banner-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #fff;
    opacity: 0.5;
}

.banner-slider .swiper-pagination-bullet-active {
    opacity: 1;
    width: 30px;
    border-radius: 5px;
    background: var(--primary-color);
}

#hero {
    min-height: 800px;
    /* Reduced height, ensure content fits */
    padding-top: 100px;
    padding-bottom: 50px;
    background: #fff;
    /* Light Gradient Background */
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
    color: var(--dark-color);
}

/* Animated Gradient Background */
#hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.05) 0%, transparent 40%),
        radial-gradient(circle, rgba(13, 202, 240, 0.05) 0%, transparent 50%);
    z-index: 1;
    animation: rotateBg 20s linear infinite;
}

@keyframes rotateBg {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#hero .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
}

#hero .shape-1 {
    top: 10%;
    left: 10%;
    width: 400px;
    height: 400px;
    background: rgba(13, 110, 253, 0.1);
    animation: floatShape 8s ease-in-out infinite;
}

#hero .shape-2 {
    bottom: 10%;
    right: 5%;
    width: 300px;
    height: 300px;
    background: rgba(13, 202, 240, 0.15);
    animation: floatShape 10s ease-in-out infinite reverse;
}

@keyframes floatShape {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(20px, -40px);
    }
}

.hero-visual {
    position: relative;
    z-index: 2;
}

.hero-composition {
    perspective: 1000px;
}

.main-image-box {
    transform: rotateY(-5deg) rotateX(2deg);
    transition: all 0.5s ease;
    border: 5px solid rgba(255, 255, 255, 0.5);
}

.main-image-box:hover {
    transform: rotateY(0) rotateX(0);
}

.floating-card-ui {
    position: absolute;
    z-index: 3;
    background: rgba(255, 255, 255, 0.85);
    /* More opaque */
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.9);
}

.card-network {
    top: 10%;
    right: -20px;
    width: 200px;
}

.card-security {
    bottom: 15%;
    left: -30px;
    width: 220px;
}

.card-uptime {
    bottom: 30px;
    right: 20px;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }

    100% {
        opacity: 1;
    }
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    /* Softer shadow for light mode */
    color: var(--dark-color);
}

.backdrop-blur {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-glow {
    transition: all 0.3s ease;
}

.btn-glow:hover {
    box-shadow: 0 0 20px rgba(13, 110, 253, 0.4) !important;
    transform: translateY(-3px);
}

/* About Section */
.about-img-wrapper img {
    transition: transform 0.3s ease;
}

.about-img-wrapper:hover img {
    transform: scale(1.02);
}

.experience-badge {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.letter-spacing-2 {
    letter-spacing: 2px;
}

/* Services */
.bg-primary-soft {
    background: rgba(13, 110, 253, 0.1);
}

.bg-success-soft {
    background: rgba(25, 135, 84, 0.1);
}

.bg-info-soft {
    background: rgba(13, 202, 240, 0.1);
}

.bg-warning-soft {
    background: rgba(255, 193, 7, 0.1);
}

.bg-danger-soft {
    background: rgba(220, 53, 69, 0.1);
}

.bg-purple-soft {
    background: rgba(111, 66, 193, 0.1);
    color: #6f42c1;
}

.service-card {
    transition: all 0.3s ease;
    border-top: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1) !important;
    border-top: 4px solid var(--primary-color);
}

@media screen and (max-width: 768px) {
    .service-card:hover {
        transform: translateY(0px);
    }
}

.service-card h6 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.img-service {
    width: 100%;
}

.quatrang {
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.aligncenter {
    display: block;
    margin: 0 auto;
}

.category-meta a {
    color: #333;
    text-decoration: none;
}

.category-meta a:hover {
    color: var(--primary-color) !important;
}

.author-meta {
    text-transform: capitalize;
}

.quatrang .page-numbers {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 1px solid #ededed;
    line-height: 40px;
    text-decoration: none;
    border-radius: 50%;
    font-size: 14px;
    transition: all 0.3s;
}

.quatrang a.page-numbers:hover {
    background: #0d6efd;
    color: #fff;
    transition: all 0.3s;
}

/* Related Posts Horizontal Cards */
.related-item-card {
    transition: all 0.3s ease;
    border-color: rgba(0, 0, 0, 0.05) !important;
}

.related-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.08) !important;
    border-color: var(--primary-color) !important;
}

.related-thumb {
    width: 140px;
    height: 100px;
}

@media (min-width: 768px) {
    .related-thumb {
        width: 240px;
        height: 160px;
    }
}

.related-meta i {
    width: 16px;
    text-align: center;
}

.hover-primary-text:hover {
    color: var(--primary-color) !important;
}

.related-item-card:hover .transition-scale {
    transform: scale(1.1);
}

/* Image Zoom Effect */
.transition-scale {
    transition: transform 0.5s ease;
}

.service-card:hover .transition-scale {
    transform: scale(1.1);
}

.service-card .icon-wrapper {
    transition: transform 0.3s ease;
}

.service-card:hover .icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.learn-more {
    transition: all 0.3s ease;
    display: inline-block;
}

.title-a:hover {
    color: var(--primary-color) !important;
}

.badge a {
    color: #fff !important;
    text-decoration: none !important;
}

.service-card:hover .learn-more {
    opacity: 1;
    transform: translateX(0);
}

/* Why Choose Us */
.bg-white-10 {
    background: rgba(255, 255, 255, 0.1);
}

.stat-card {
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.glass-card-dark {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    color: white;
}

.border-white-20 {
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.shadow-glow {
    box-shadow: 0 0 20px rgba(13, 110, 253, 0.4) !important;
}

.form-floating>.form-control:focus~label {
    color: var(--primary-color) !important;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* Contact CTA */
.circle-decor {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    position: absolute;
    z-index: 1;
}

/* Footer */
footer {
    padding-top: 100px !important;
    padding-bottom: 50px !important;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: rotate(360deg);
}

/* WP Footer Menu Styles */
.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
    /* Equivalent to mb-2 */
    display: flex;
    align-items: center;
}

.footer-links li::before {
    content: "\f105";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 10px;
    color: var(--primary-color);
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.footer-links li:hover::before {
    transform: translateX(3px);
    color: white;
}

.footer-links a {
    text-decoration: none !important;
    /* Equivalent to text-decoration-none */
    color: rgba(255, 255, 255, 0.5) !important;
    /* Equivalent to text-white-50 */
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: white !important;
    /* Equivalent to hover-white */
    padding-left: 8px;
    transform: translateX(5px);
}

/* Tech Visual Effects */
/* 1. Tech Grid Background */
.tech-grid-bg {
    background-size: 50px 50px;
    background-image:
        linear-gradient(to right, rgba(13, 110, 253, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(13, 110, 253, 0.03) 1px, transparent 1px);
    position: relative;
    overflow: hidden;
}

.tech-grid-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent, white);
    opacity: 0.8;
    pointer-events: none;
}

/* Product Card Styles */
.product-card {
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .1) !important;
}

@media screen and (max-width: 768px) {
    .product-card:hover {
        transform: translateY(0px);
    }
}

.product-card h6 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hover-fill:hover {
    background-color: var(--primary-color);
    color: white;
}

.product-img-wrapper {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    position: relative;
}

.product-img-wrapper .badge {
    z-index: 2;
}

/* 2. Scanning Effect for Cards */
.tech-scan-effect {
    position: relative;
    overflow: hidden;
}

.tech-scan-effect::after {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 250%;
    height: 250%;
    background: linear-gradient(45deg,
            transparent 45%,
            rgba(13, 110, 253, 0.2) 50%,
            transparent 55%);
    transition: all 0.8s ease;
    transform: rotate(25deg);
    pointer-events: none;
}

.tech-scan-effect:hover::after {
    top: -50%;
    left: -50%;
    transition: 0s;
}

/* 3. Floating Particles (Simulated) */
@keyframes float-y {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(2deg);
    }
}

.tech-float {
    animation: float-y 6s ease-in-out infinite;
}

.tech-float-delay {
    animation: float-y 7s ease-in-out infinite 1s;
}

/* Partners Slider */
.partners-slider {
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.partners-track {
    animation: scroll 30s linear infinite;
    width: max-content;
}

.partner-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    filter: grayscale(0) opacity(1);
    transform: scale(1.1);
}

.grayscale {
    filter: grayscale(100%);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

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

/* Testimonials */
#testimonials .card {
    transition: all 0.3s ease;
}

#testimonials .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1) !important;
}

/* Blog/News Styling */
.blog-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.12) !important;
}

@media screen and (max-width: 768px) {
    .blog-card:hover {
        transform: translateY(0px);
    }
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.transition-hover {
    transition: all 0.3s ease;
}

.bg-light-soft {
    background-color: rgba(var(--primary-rgb), 0.05) !important;
}

.bg-purple-soft {
    background-color: #f3e5f5;
    color: #9c27b0;
}

.hover-primary-text:hover {
    color: var(--primary-color) !important;
}

/* Service & Process Icons Fix */
.step-number {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.service-icon-float {
    position: absolute;
    bottom: -20px;
    right: 20px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon-float {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.3) !important;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content blockquote p {
    font-size: 1.1rem;
    color: var(--dark-color);
}

/* Responsive */
@media (max-width: 991px) {
    #hero {
        padding-top: 120px;
        text-align: center;
        min-height: auto;
    }

    #hero .hero-visual {
        display: none;
    }

    .navbar {
        background: white;
        /* Always white on mobile */
        padding: 0.5rem 0;
    }

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

    .navbar-light .navbar-toggler {
        border-color: rgba(0, 0, 0, 0.1);
    }
}

table.wc-block-cart-items.wp-block-woocommerce-cart-line-items-block {
    border: 1px solid #ededed;
}

th.wc-block-cart-items__header-image {
    padding-left: 10px !important;
}

.wp-block-woocommerce-cart-order-summary-block {
    border: 1px solid #ededed;
    padding: 10px;
}

a.wc-block-components-button.wp-element-button.wc-block-cart__submit-button.contained {
    background: #0d6efc;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
}

.wc-block-components-sidebar-layout .wc-block-components-main {
    padding-right: 0 !important;
}

button.wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button.contained {
    min-height: 0 !important;
    padding: 15px 30px;
    border: 0;
    border-radius: 6px;
    background: #0d6efd;
    color: #ffff;
    font-size: 14px;
}

button.wc-block-components-button.wp-element-button.wc-block-components-totals-coupon__button.contained {
    border-radius: 6px;
    background: #0f6cfa;
    color: #fff;
    border: none;
}

.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.category-tag-item {
    display: inline-block;
    padding: 10px 25px;
    background: #fff;
    color: #444;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.category-tag-item:hover,
.category-tag-item.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.2);
}

.category-tag-item .count {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-left: 5px;
}

del span.woocommerce-Price-amount.amount bdi {
    font-size: 18px;
    color: #696969;
    text-decoration: line-through;
}

.product-price.mb-4.h3.fw-bold.text-primary del {
    text-decoration: none;
}

ins {
    text-decoration: none;
}

.wc-block-product-filter-price-slider .text input[type=text] {
    max-width: 120px;
}

button.wp-block-button__link.has-text-align-center.wp-element-button {
    font-size: 14px;
}

li.wc-block-product-filter-removable-chips__item {
    font-size: 12px !important;
    border-radius: 6px !important;
}

@media (max-width: 576px) {
    .category-tag-item {
        padding: 8px 18px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .display-5 {
        font-size: 2rem;
    }
}

select.orderby {
    padding: 10px;
    border: 1px solid #ededed;
    border-radius: 5px;
    font-size: 14px;
}

.woocommerce .navbar-brand img,
.woocommerce-page .navbar-brand img {
    height: revert-layer;
}

/* Single Product Styles */
.product-gallery .main-img {
    transition: all 0.3s ease;
}

.product-gallery .thumb {
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-gallery .thumb:hover {
    border-color: var(--primary-color) !important;
    transform: translateY(-2px);
}

.product-gallery .thumb.active {
    border-color: var(--primary-color) !important;
    opacity: 1 !important;
}

.product-tabs-wrapper .nav-tabs .nav-link {
    border: none;
    color: #666;
    padding: 1rem 1.5rem;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.product-tabs-wrapper .nav-tabs .nav-link:hover {
    color: var(--primary-color);
}

.product-tabs-wrapper .nav-tabs .nav-link.active {
    color: var(--primary-color);
    background: transparent;
    border-bottom-color: var(--primary-color);
}

/* Price styling */
.product-price .price {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
}

.product-price .price del {
    font-size: 1.25rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-right: 15px;
    text-decoration: line-through;
}

.product-price .price ins {
    text-decoration: none;
    color: var(--primary-color);
}

.add-to-cart-wrapper .cart {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 1rem;
}

.add-to-cart-wrapper .quantity {
    margin: 0 !important;
}

.add-to-cart-wrapper .quantity .qty {
    width: 60px;
    height: 48px;
    border-radius: 10px;
    border: 1px solid #eee;
    text-align: center;
    padding: 0;
}

.category-sidebar {
    font-size: 14px;
}

button.single_add_to_cart_button.button.alt {
    border-radius: 10px;
}

/* Override WooCommerce button */
.woocommerce div.product form.cart .button,
.add-to-cart-wrapper .single_add_to_cart_button {
    height: 48px;
    padding: 0 40px;
    border-radius: 50px;
    background: var(--primary-color) !important;
    border: none;
    color: white !important;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.woocommerce div.product form.cart .button:hover,
.add-to-cart-wrapper .single_add_to_cart_button:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

/* Rank Math Breadcrumbs Styling */
.rank-math-breadcrumb {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8) !important;
}

.rank-math-breadcrumb a {
    color: #fff !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.rank-math-breadcrumb a:hover {
    opacity: 0.8;
}

.rank-math-breadcrumb .separator {
    margin: 0 8px;
    opacity: 0.5;
}

/* Swiper Custom Pagination */
.testimonials-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    opacity: 0.3;
    transition: all 0.3s ease;
}

p.woocommerce-result-count,
.woocommerce .woocommerce-ordering {
    margin-bottom: 0 !important;
}

.testimonials-slider .swiper-pagination-bullet-active {
    opacity: 1;
    width: 30px;
    border-radius: 6px;
}

.testimonials-slider .swiper-slide {
    height: auto;
}

.testimonials-slider .card {
    transition: all 0.3s ease;
}

.testimonials-slider .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.bg-danger-soft {
    background-color: rgba(220, 53, 69, 0.1) !important;
}

@media (max-width: 1399px) {
    .wc-block-product-filter-price-slider__content {
        gap: 5px;
    }

    .wc-block-product-filter-price-slider .text input[type=text] {
        width: 100px;
        font-size: 12px;
    }
}

@media (max-width: 1199px) {
    .wc-block-product-filter-price-slider__content {
        gap: 5px !important;
    }

    .wc-block-product-filter-price-slider .text input[type=text] {
        width: 80px;
        font-size: 12px;
    }

    .navbar-expand-lg .navbar-nav .nav-link {
        padding: 0 12px !important;
        font-size: 14px;
    }

    h1.display-3.fw-bold.mb-4.lh-tight.text-dark {
        font-size: 45px;
    }

    h2.display-5.fw-bold.mb-4 {
        font-size: 35px;
    }
}

@media (max-width: 991.98px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        color: #333 !important;
        padding: 10px !important;
    }

    section.hero-child-page {
        padding: 100px 0 20px 0 !important;
    }

    section.py-6.tech-grid-bg {
        padding: 30px 0 !important;
    }

    section.hero-child-page h1 {
        font-size: 35px !important;
    }

    p.lead.mb-5.fw-light.text-secondary {
        margin-bottom: 20px !important;
        font-size: 16px;
    }

    h1.display-3.fw-bold.mb-4.lh-tight.text-dark {
        margin-bottom: 10px !important;
    }

    section#hero .d-flex.gap-3 {
        display: flex;
        justify-content: center;
    }

    section#hero .d-flex.gap-3 a {
        font-size: 15px;
        padding: 10px 30px !important;
    }

    section#services,
    section#why-choose-us,
    section#testimonials,
    section#blog,
    section#contact,
    section#products {
        padding: 30px 0 !important;
    }

    section#testimonials h2,
    section#blog h2,
    section#contact h2,
    section#products h2,
    section#services h2,
    section#why-choose-us h2 {
        font-size: 30px;
    }

    section#services h6,
    section#testimonials h6,
    section#blog h6,
    section#contact h6,
    section#products h6,
    section#why-choose-us h6 {
        font-size: 14px;
    }

    section#services p.text-muted.fs-5,
    section#testimonials p.text-muted.fs-5,
    section#blog p.text-muted.fs-5,
    section#contact p.text-muted.fs-5,
    section#products p.text-muted.fs-5,
    section#why-choose-us p.lead.opacity-75.mb-4,
    section#why-choose-us p.text-muted.fs-5 {
        font-size: 14px !important;
    }

    .category-tags {
        gap: 5px;
    }

    .category-tag-item {
        font-size: 14px;
        padding: 5px 15px;
    }

    .text-center.mb-5.mw-800.mx-auto.aos-init.aos-animate {
        margin-bottom: 15px !important;
    }

    .list-category.mb-5 {
        margin-bottom: 20px !important;
    }

    .navbar {
        background: #fff !important;
        padding: 4px 0 !important;
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    }

    .navbar-light .navbar-brand,
    .navbar-dark .navbar-brand {
        color: var(--dark-color) !important;
    }

    .navbar-toggler {
        transition: all 0.3s ease;
    }

    .navbar-toggler:focus {
        box-shadow: none !important;
        outline: none !important;
    }

    /* Hamburger (Default) */
    .navbar-toggler-icon {
        width: 24px;
        height: 24px;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2813, 110, 253, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    }

    /* X Mark (When Active) */
    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2813, 110, 253, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M6 6L24 24M6 24L24 6'/%3e%3c/svg%3e") !important;
    }

    .navbar-collapse {
        background: #fff;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 1.5rem;
        height: calc(100vh - 68px);
        overflow-y: auto;
        border-top: 1px solid #eee;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .navbar-nav .nav-link {
        padding: 0.8rem 0 !important;
        color: var(--dark-color) !important;
        border-bottom: 1px solid #f8f9fa;
    }

    .navbar-nav .nav-link::after {
        display: none;
    }

    .dropdown .container.py-4 {
        max-width: 100% !important;
    }

    /* Submenus on mobile */
    .dropdown-menu {
        position: static !important;
        float: none !important;
        width: 100% !important;
        display: none;
        border: none !important;
        box-shadow: none !important;
        background: #f8f9fa !important;
        padding-left: 1rem !important;
        margin-top: 0 !important;
        transform: none !important;
        transition: none !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .nav-item.dropdown.show>.dropdown-menu,
    .dropdown-menu.show {
        display: block !important;
    }

    .megamenu {
        padding: 1rem !important;
    }

    .megamenu .row>div {
        border: none !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-bottom: 1.5rem;
    }

    .has-megamenu:hover .megamenu {
        display: none !important;
        /* Disable hover on mobile */
    }

    .has-megamenu.show .megamenu {
        display: block !important;
    }

    .navbar-nav .nav-link {
        transition: all 0.3s ease;
    }

    .navbar-nav .nav-link:hover {
        color: var(--primary-color) !important;
        padding-left: 10px !important;
        background: #f8f9fa;
    }

    .dropdown-toggle::before {
        right: 15px !important;
    }

    .nav-item.dropdown:hover .dropdown-toggle::before {
        transform: translateY(-50%) !important;
        /* Reset hover rotation on mobile */
    }

    .nav-item.dropdown.show .dropdown-toggle::before {
        transform: translateY(-50%) rotate(180deg) !important;
    }

    .nav-cart-icon {
        color: var(--dark-color) !important;
    }

    /* Mobile Shop Sidebar - Clean Off-canvas */
    .shop-sidebar-content {
        position: fixed;
        top: 0;
        left: -330px;
        width: 320px;
        height: 100dvh;
        background: #fff;
        z-index: 1050;
        padding: 0;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.1);
        visibility: hidden;
    }

    .shop-sidebar-content.active {
        left: 0;
        visibility: visible;
    }

    .mobile-sidebar-header {
        padding: 15px 20px;
        background: #f8f9fa;
        position: sticky;
        top: 0;
        z-index: 20;
    }

    .shop-sidebar-content .card {
        box-shadow: none !important;
        border: none !important;
        border-bottom: 1px solid #eee !important;
        border-radius: 0 !important;
        padding: 20px !important;
        margin-bottom: 0 !important;
    }

    /* Disable AOS inside fixed sidebar on mobile */
    .shop-sidebar-content [data-aos] {
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        transition: none !important;
    }

    .mobile-sidebar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(2px);
        z-index: 1040;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .mobile-sidebar-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

@media screen and (max-width: 768px) {
    h1.display-3.fw-bold.mb-4.lh-tight.text-dark {
        font-size: 30px;
    }

    p.lead.mb-5.fw-light.text-secondary {
        font-size: 14px;
    }

    section#testimonials h2,
    section#blog h2,
    section#contact h2,
    section#products h2,
    section#services h2,
    section#why-choose-us h2 {
        font-size: 25px;
    }

    .category-tag-item {
        font-size: 12px;
        padding: 5px;
    }

    .service-card:hover {
        transform: translateY(0px);
    }

    .row {
        margin-right: -5px;
        margin-left: -5px;
        margin-top: 0px;
    }

    .row>* {
        padding: 0 5px;
        margin-top: 10px;
    }

    .category-tags {
        margin-bottom: 20px;
    }

    nav.rank-math-breadcrumb p {
        display: inline;
    }

    section.hero-child-page h1 {
        font-size: 25px !important;
    }

    .rank-math-breadcrumb .separator {
        margin: 0 0px;
    }

    .product-info h2.fw-bold.display-6.mb-3 {
        font-size: 23px;
    }

    div#productTabContent {
        padding: 15px !important;
        border-radius: 6px !important;
    }

    section.py-6.border-top.related-product {
        padding: 30px 0 !important;
    }

    section.py-6.border-top.related-product h3 {
        margin-bottom: 15px !important;
    }

    .post-content.lh-lg {
        font-size: 14px;
    }

    section.py-6.bg-hero-about {
        padding: 30px 0 !important;
    }

    section.py-6.bg-hero-about .row.align-items-center.mb-5 {
        margin-bottom: 0 !important;
    }

    p.woocommerce-result-count {
        display: none;
    }

    button#mobileFilterToggle {
        height: 42px;
    }

    section.py-6.single-post-page {
        padding: 10px 0 !important;
    }

    .d-flex.align-items-center.category-meta {
        display: none !important;
    }

    .rounded-4.overflow-hidden.mb-5.shadow-sm.image-post {
        margin-bottom: 20px !important;
    }

    .d-flex.align-items-center.mb-4.text-muted.border-bottom.pb-4 {
        margin-bottom: 10px !important;
        padding-bottom: 10px !important;
        font-size: 14px;
    }
}