/*
Theme Name: ArvumX
Theme URI: https://www.arvumx.com
Author: ArvumX Team
Author URI: https://www.arvumx.com
Description: A professional WordPress theme for ArvumX sensor technology company.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: arvumx
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* @import url('assets/css/tailwind.min.css'); */
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css");
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&family=Poppins:wght@400;500;600;700&display=swap");

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
}


.hero-gradient {
    background: linear-gradient(135deg, #001940 0%, #0066cc 100%);
}

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

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #00c3ff;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.active-nav::after {
    width: 100%;
}

.policy-section {
    margin-bottom: 2rem;
}

.policy-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 1rem;
}

.policy-section p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.policy-section ul,
.policy-section ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.policy-section ul li,
.policy-section ol li {
    margin-bottom: 0.5rem;
}

.policy-section ul li {
    list-style-type: disc;
}

.policy-section ol li {
    list-style-type: decimal;
}

.terms-section {
    margin-bottom: 2rem;
}

.terms-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 1rem;
}

.terms-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3748;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.terms-section p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.terms-section ul,
.terms-section ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.terms-section ul li,
.terms-section ol li {
    margin-bottom: 0.5rem;
}

.terms-section ul li {
    list-style-type: disc;
}

.terms-section ol li {
    list-style-type: decimal;
}

.highlight {
    background-color: #e6f0ff;
    border-left: 4px solid #0056b3;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 0 0.375rem 0.375rem 0;
}

.cookie-section {
    margin-bottom: 2rem;
}

.cookie-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 1rem;
}

.cookie-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3748;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.cookie-section p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.cookie-section ul,
.cookie-section ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.cookie-section ul li,
.cookie-section ol li {
    margin-bottom: 0.5rem;
}

.cookie-section ul li {
    list-style-type: disc;
}

.cookie-section ol li {
    list-style-type: decimal;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

input:checked+.slider {
    background-color: #0056b3;
}

input:focus+.slider {
    box-shadow: 0 0 1px #0056b3;
}

input:checked+.slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.cookie-category {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}


.article-card {
    transition: all 0.3s ease;
    overflow: hidden;
}

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

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

.article-card:hover img {
    transform: scale(1.05);
}

.product-card {
    transition: all 0.3s ease;
    overflow: hidden;
}

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

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-image {
    transition: transform 0.5s ease;
}

.btn-primary {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.btn-primary:hover::after {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.4);
}

.section-fade {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}


.section-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 3D Product Viewer */
#product3DContainer {
    width: 100%;
    height: 300px;
    background-color: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
}

/* Mobile Menu */
.mobile-menu {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.mobile-menu.open {
    transform: translateX(0);
}


/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 25, 64, 0.9);
    color: white;
    padding: 1rem;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-consent.show {
    transform: translateY(0);
}

/* Footer Menu Styling */
footer ul li a {
    display: block;
    padding: 4px 0;
    transition: color 0.3s ease;
}

footer ul li a:hover {
    color: #ffffff;
}

footer ul li a:focus {
    outline: 2px solid #00c3ff;
    outline-offset: 2px;
}

/* Footer Responsive */
@media (max-width: 768px) {
    footer .grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    footer ul li a {
        padding: 6px 0;
        font-size: 1rem;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    footer .grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

/* Testimonial Slider Styles */
#testimonialSlider {
    position: relative;
    padding: 0 3rem;
    touch-action: pan-y;
}

.testimonial-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    transition: all 0.3s ease;
    will-change: transform;
}

.testimonial-card {
    min-height: 260px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
    will-change: opacity, transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

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

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0066cc, #00c3ff);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    will-change: transform;
}

.testimonial-card:hover::before {
    transform: scaleX(1);
}

.testimonial-card img {
    transition: transform 0.3s ease, border-color 0.3s ease;
    will-change: transform;
}

.testimonial-card:hover img {
    transform: scale(1.1);
    border-color: #0066cc;
}

.testimonial-card .fa-quote-right {
    transition: transform 0.3s ease, color 0.3s ease;
    will-change: transform, color;
}

.testimonial-card:hover .fa-quote-right {
    transform: rotate(10deg) scale(1.15);
    color: #00c3ff;
}

.testimonial-card .bg-primary-100 {
    transition: all 0.3s ease;
}

.testimonial-card:hover .bg-primary-100 {
    background-color: #0066cc;
    color: white;
}

.testimonial-card .fa-star {
    transition: color 0.3s ease, transform 0.2s ease;
    will-change: transform;
}

.testimonial-card:hover .fa-star {
    transform: scale(1.15);
}

/* Navigation Buttons */
#testimonialPrev,
#testimonialNext {
    transition: all 0.3s ease;
    z-index: 20;
    will-change: transform;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
}

#testimonialPrev:hover:not(:disabled),
#testimonialNext:hover:not(:disabled) {
    transform: scale(1.1);
}

#testimonialPrev:disabled,
#testimonialNext:disabled {
    cursor: not-allowed;
    opacity: 0.3;
}

/* Dots Indicator */
.testimonial-dot {
    transition: all 0.3s ease;
    cursor: pointer;
    will-change: transform;
    -webkit-tap-highlight-color: transparent;
}

.testimonial-dot:hover {
    transform: scale(1.2);
}

.testimonial-dot.bg-primary-500 {
    transform: scale(1.2);
}

/* Responsive Testimonial Slider */
@media (max-width: 767px) {
    #testimonialSlider {
        padding: 0 1.5rem;
    }

    .testimonial-track {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .testimonial-card {
        min-height: 300px;
    }

    #testimonialPrev,
    #testimonialNext {
        width: 40px;
        height: 40px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    #testimonialSlider {
        padding: 0 2rem;
    }

    .testimonial-track {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .testimonial-card {
        min-height: 280px;
    }
}

@media (min-width: 1024px) {
    .testimonial-track {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .testimonial-card {
        min-height: 260px;
    }
}

/* Responsive Testimonial Grid */
@media (max-width: 767px) {
    .testimonial-card {
        min-height: auto;
    }

    .testimonial-grid {
        gap: 1.5rem;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .testimonial-card {
        min-height: 320px;
    }

    .testimonial-grid {
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .testimonial-card {
        min-height: 360px;
    }

    .testimonial-grid {
        gap: 2rem;
    }
}

/* Loading State */
.testimonial-grid {
    visibility: visible;
}

.testimonial-card {
    visibility: visible;
}


/* Contact Form 7 Custom Classes */
.arvumx-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background-color: white;
}

.arvumx-input:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.2);
}

.arvumx-input::placeholder {
    color: #9ca3af;
}

.arvumx-submit {
    width: 100%;
    background-color: #0066cc;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-family: inherit;
}

.arvumx-submit:hover {
    background-color: #0052a3;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 102, 204, 0.2);
}

.arvumx-submit:active {
    transform: translateY(0);
}

.arvumx-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Contact Form 7 Styles */
.wpcf7 {
    margin: 0;
}

.wpcf7 .wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 0;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.2);
}

.wpcf7 input[type="text"]::placeholder,
.wpcf7 input[type="email"]::placeholder,
.wpcf7 input[type="tel"]::placeholder,
.wpcf7 textarea::placeholder {
    color: #9ca3af;
}

.wpcf7 select {
    background-color: white;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}

.wpcf7 textarea {
    resize: vertical;
    min-height: 5rem;
}

.wpcf7 input[type="submit"],
.wpcf7 button[type="submit"] {
    width: 100%;
    background-color: #0066cc;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.wpcf7 input[type="submit"]:hover,
.wpcf7 button[type="submit"]:hover {
    background-color: #0052a3;
}

.wpcf7 input[type="submit"]:disabled,
.wpcf7 button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* CF7 Validation Styles */
.wpcf7-not-valid-tip {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.wpcf7-response-output {
    margin: 1rem 0 0 0;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
}

.wpcf7-mail-sent-ok {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

.wpcf7-mail-sent-ng {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

.wpcf7-spam-blocked {
    background-color: #fef3c7;
    color: #92400e;
    border: 1px solid #f59e0b;
}

.wpcf7-validation-errors {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

/* CF7 AJAX Spinner */
.wpcf7 .ajax-loader {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.6s linear infinite;
    margin-left: 0.5rem;
    vertical-align: middle;
}

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

/* CF7 Submit Button with Spinner */
.wpcf7-submit:disabled .ajax-loader {
    display: inline-block;
}

/* Line Clamp Utility */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

/* Custom Scrollbar */
.scrollbar-thin::-webkit-scrollbar {
    height: 6px;
}

.scrollbar-thin::-webkit-scrollbar-track {
    background: #e5e7eb;
    border-radius: 3px;
}

.scrollbar-thin::-webkit-scrollbar-thumb {
    background: #9ca3af;
    border-radius: 3px;
}

.scrollbar-thin::-webkit-scrollbar-thumb:hover {
    background: #6b7280;
}

/* Product Image */
.product-image {
    transition: transform 0.5s ease;
}

@media (min-width: 1024px) {
    .product-image:hover {
        transform: scale(1.05);
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .product-image:hover {
        transform: scale(1.05);
    }
}

@media (max-width: 767px) {
    .product-image:hover {
        transform: scale(1.05);
    }
}

/* Hide Scrollbar */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Pagination */
.pagination {
    display: inline-flex;
    border-radius: 0.375rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    margin-top: 3rem;
}

.pagination .page-numbers {
    padding: 0.5rem 1rem;
    background-color: white;
    border: 1px solid #d1d5db;
    color: #374151;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination .page-numbers:first-child {
    border-top-left-radius: 0.375rem;
    border-bottom-left-radius: 0.375rem;
}

.pagination .page-numbers:last-child {
    border-top-right-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
}

.pagination .page-numbers:hover {
    background-color: #f9fafb;
}

.pagination .page-numbers.current {
    background-color: #0066cc;
    border-color: #0066cc;
    color: white;
}

.pagination .prev,
.pagination .next {
    color: #6b7280;
}

.pagination .prev:hover,
.pagination .next:hover {
    background-color: #f9fafb;
    color: #6b7280;
}

.pagination .dots {
    background-color: white;
    border: 1px solid #d1d5db;
    color: #374151;
}

/* Back to Top Button */
#backToTop {
    transition: all 0.3s ease;
}

#backToTop:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.4);
}

/* Breadcrumb Navigation */
.breadcrumb {
    background-color: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.breadcrumb a {
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #0066cc;
}

.breadcrumb .fa-chevron-right {
    font-size: 0.75rem;
}

.breadcrumb .fa-home {
    font-size: 1rem;
}

/* Article Content Styles */
.article-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #374151;
}

.article-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.article-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-size: 1.875rem;
    color: #111827;
    line-height: 1.3;
}

.article-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.5rem;
    color: #1f2937;
    line-height: 1.4;
}

.article-content h4 {
    margin-top: 1.75rem;
    margin-bottom: 0.875rem;
    font-weight: 600;
    font-size: 1.25rem;
    color: #374151;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-content ul li,
.article-content ol li {
    margin-bottom: 0.625rem;
    line-height: 1.7;
}

.article-content ul li {
    list-style-type: disc;
}

.article-content ol li {
    list-style-type: decimal;
}

.article-content ul li::marker {
    color: #0066cc;
}

.article-content ol li::marker {
    color: #0066cc;
    font-weight: 600;
}

.article-content a {
    color: #0066cc;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.3s ease;
}

.article-content a:hover {
    color: #0052a3;
}

.article-content blockquote {
    border-left: 4px solid #0066cc;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #4b5563;
    background-color: #f9fafb;
    padding: 1rem 1.5rem;
    border-radius: 0 0.5rem 0.5rem 0;
}

.article-content code {
    background-color: #f3f4f6;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-family: 'Courier New', monospace;
    color: #dc2626;
}

.article-content pre {
    background-color: #1f2937;
    color: #f9fafb;
    padding: 1.5rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.article-content pre code {
    background-color: transparent;
    color: #f9fafb;
    padding: 0;
    font-size: 0.875rem;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.875rem;
}

.article-content table th,
.article-content table td {
    border: 1px solid #e5e7eb;
    padding: 0.75rem 1rem;
    text-align: left;
}

.article-content table th {
    background-color: #f9fafb;
    font-weight: 600;
    color: #111827;
}

.article-content table tr:hover {
    background-color: #f9fafb;
}

.article-content hr {
    border: none;
    border-top: 2px solid #e5e7eb;
    margin: 3rem 0;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.article-content strong {
    color: #111827;
    font-weight: 600;
}

.article-content em {
    color: #4b5563;
}

/* Related Article Card */
.related-article-card {
    transition: all 0.3s ease;
    overflow: hidden;
}

.related-article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.related-article-card img {
    transition: transform 0.3s ease;
}

.related-article-card:hover img {
    transform: scale(1.05);
}

/* Responsive Article Content */
@media (max-width: 768px) {
    .article-content {
        font-size: 1rem;
    }

    .article-content h2 {
        font-size: 1.5rem;
    }

    .article-content h3 {
        font-size: 1.25rem;
    }

    .article-content h4 {
        font-size: 1.125rem;
    }
}