/*
Theme Name: Virtuos Technology
Theme URI: https://virtuostechnology.com
Author: Your Name
Description: Custom responsive WordPress theme for Virtuos Technology.
Version: 1.0
License: GPL v2 or later
Text Domain: virtuostechnology
*/
:root{

    /* ===========================
        BRAND COLORS
    =========================== */

    --primary: #0A1F44;
    --primary-dark: #07152F;
    --primary-light: #133A73;

    --secondary: #0677b9;
    --secondary-dark: #055a8c;
    --secondary-light: #4a9fd1;

    --accent: #D7E8FF;
    --accent-light: #EDF5FF;

    /* ===========================
        NEUTRALS
    =========================== */

    --white: #ffffff;
    --off-white: #F7F9FC;
    --light: #EEF3F8;
    --border: #D9E4F2;

    --text: #1F2937;
    --text-light: #5D6B82;
    --heading: #08182F;

    /* ===========================
        STATES
    =========================== */

    --success: #00B67A;
    --warning: #FFB547;
    --danger: #EF4444;

}
/* Background Colors */
.bg-primary-custom{
    background: var(--primary);
}

.bg-light-custom{
    background: var(--off-white);
}

.bg-white-custom{
    background: var(--white);
}

.bg-dark-custom{
    background: var(--primary-dark);
}

.bg-gradient-primary{
    background: linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );
}
/* Text Colors */
.text-primary-custom{
    color: var(--primary);
}

.text-secondary-custom{
    color: var(--secondary);
}

.text-heading{
    color: var(--heading);
}

.text-body{
    color: var(--text);
}

.text-muted-custom{
    color: var(--text-light);
}

:root{

    --shadow-sm:
        0 5px 20px rgba(0,0,0,.05);

    --shadow-md:
        0 10px 40px rgba(0,0,0,.08);

    --shadow-lg:
        0 25px 60px rgba(0,0,0,.12);

}
:root{

    --radius-sm:8px;

    --radius-md:16px;

    --radius-lg:24px;

    --radius-xl:32px;

}
:root{

    --section-padding:120px;

    --section-padding-mobile:80px;

}
:root{

    --container-width:1320px;

}
:root{

   --heading-font: 'Lexend', sans-serif;
    --body-font: 'Nunito', sans-serif;

}
/* Apply fonts globally */
body {
    font-family: var(--body-font);
    color: var(--text);
	-webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
}

/* Also apply to heading class */
.heading {
    font-family: var(--heading-font);
    font-weight: 700;
}

.body-text {
    font-family: var(--body-font);
    color: var(--text);
}
.heading{
    font-family:var(--heading-font);
    font-weight:700;
}
.main-heading{
	 font-family:var(--heading-font);
}
.body-text{
    font-family:var(--body-font);
    color:var(--text);
}

.section-padding{
    padding:120px 0;
}

.section-title{
    margin-bottom:60px;
}


/* NAV LINKS BASE */
.menu-item a {
    position: relative;
    transition: all 0.3s ease;
    padding: 6px 0;
    font-size: 14px;
}

/* HOVER EFFECT */
.menu-item a:hover {
    color: var(--primary);
    transform: translateY(-1px);
}

/* UNDERLINE ANIMATION */
.menu-item a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background:var(--primary);
    transition: width 0.3s ease;
}

.menu-item a:hover::after {
    width: 100%;
}

/* ACTIVE MENU ITEM */
.current-menu-item a {
    color: #2563eb;
    font-weight: 700;
}

.current-menu-item a::after {
    width: 100%;
}

/* MOBILE MENU LINKS */
#mobileMenu .menu-item a {
    display: block;
    padding: 10px 0;
    transition: all 0.3s ease;
}

#mobileMenu .menu-item a:hover {
    color: #2563eb;
    padding-left: 6px;
}


.cf7-input {
    width: 100% !important;
    padding: 12px 14px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    background: #fff !important;
    transition: all 0.3s ease !important;
    outline: none !important;
}

.cf7-input:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.15) !important;
}

.wpcf7-textarea{
    resize: vertical;
    height: 100px !important;
}

.wpcf7 p {
    margin: 0 !important;
}

.wpcf7 form .grid {
    display: grid;
    gap: 16px;
}

.cf7-btn {
    background: #2563eb !important;
    color: #fff !important;
    padding: 12px 28px !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    width: 100%;
}

.cf7-btn:hover {
    background: #1d4ed8 !important;
    transform: translateY(-2px);
}
/* Footer Logo */
.footer-logo img {
    max-height: 64px !important;
    width: auto !important;
}
/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Pulse Animation for Rings */
.animate-pulse-ring {
    animation: pulse-ring 4s ease-in-out infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 0.1; }
    50% { transform: scale(1.1); opacity: 0.2; }
    100% { transform: scale(1); opacity: 0.1; }
}

/* ============================================
   MODERN ANIMATED BUTTONS
   ============================================ */

.btn-modern {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    overflow: hidden;
    font-weight: 600;
    border-radius: 8px;
    background: var(--secondary);
    color: #ffffff;
    border: none;
    cursor: pointer;
    transition: all 0.35s ease;
    gap: 8px;
    text-decoration: none;
    font-size: 14px;
}

.btn-modern .btn-bg {
    position: absolute;
    width: 128px;
    height: 128px;
    rotate: 45deg;
    transform: translateX(48px) translateY(-8px);
    left: 0;
    top: 0;
    background: rgba(255, 255, 255, 0.03);
}

.btn-modern .btn-shine {
    position: absolute;
    top: 0;
    left: 0;
    width: 192px;
    height: 192px;
    margin-top: -4px;
    transition: all 0.5s ease-in-out;
    rotate: 45deg;
    transform: translateX(-224px) translateY(-96px);
    background: rgba(255, 255, 255, 0.1);
}

.btn-modern .btn-text {
    position: relative;
    z-index: 10;
    color: #ffffff;
    transition: color 0.2s ease-in-out;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.btn-modern .btn-border {
    position: absolute;
    inset: 0;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

.btn-modern:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(22, 125, 255, 0.3);
}

.btn-modern:hover .btn-shine {
    transform: translateX(-32px) translateY(-96px);
}

.btn-modern:hover .btn-text {
    color: #ffffff;
}

.btn-modern:hover .btn-border {
    border-color: rgba(255, 255, 255, 0.6);
}

/* Dark Variant */
.btn-modern-dark {
    background: var(--primary);
}

.btn-modern-dark:hover {
    background: var(--primary-dark);
    box-shadow: 0 10px 40px rgba(10, 31, 68, 0.3);
}

/* Outline Variant */
.btn-modern-outline {
    background: transparent;
    border: 2px solid var(--secondary);
    color: var(--primary);
	padding: 14px 32px;
    overflow: hidden;
    font-weight: 600;
    border-radius: 8px;
}

.btn-modern-outline .btn-text {
    color: var(--primary);
}

.btn-modern-outline .btn-border {
    border-color: var(--secondary);
}

.btn-modern-outline:hover {
    background: var(--secondary);
    color: #fff;
    box-shadow: 0 10px 40px rgba(10, 31, 68, 0.15);
}

.btn-modern-outline:hover .btn-text {
    color: #ffffff;
}

.btn-modern-outline:hover .btn-border {
    border-color: var(--primary);
}

/* White Outline Variant (for dark backgrounds) */
.btn-modern-white-outline {
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
	padding: 14px 32px;
    overflow: hidden;
    font-weight: 600;
    border-radius: 8px;
	font-size:14px;
}

.btn-modern-white-outline .btn-text {
    color: #ffffff;
}

.btn-modern-white-outline .btn-border {
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-modern-white-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.1);
}

.btn-modern-white-outline:hover .btn-text {
    color: #ffffff;
}

.btn-modern-white-outline:hover .btn-border {
    border-color: rgba(255, 255, 255, 0.6);
}

/* Small Variant */
.btn-modern-sm {
    padding: 10px 24px;
    font-size: 13px;
}

.btn-modern-sm .btn-bg {
    width: 96px;
    height: 96px;
    transform: translateX(36px) translateY(-6px);
}

.btn-modern-sm .btn-shine {
    width: 144px;
    height: 144px;
    transform: translateX(-168px) translateY(-72px);
}

.btn-modern-sm:hover .btn-shine {
    transform: translateX(-24px) translateY(-72px);
}

/* Large Variant */
.btn-modern-lg {
    padding: 18px 40px;
    font-size: 16px;
}

/* ============================================
   MACHINE CARD STYLES
   ============================================ */

.machine-card {
    position: relative;
    height: 480px;
    overflow: hidden;
    transition: 0.4s;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Make the entire card clickable */
.machine-card a {
    text-decoration: none;
    display: block;
    height: 100%;
}

.machine-card a:hover {
    text-decoration: none;
}

.machine-card:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transform: translateY(-6px);
}

.machine-card-image {
    height: 100%;
    overflow: hidden;
}

.machine-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s;
}

.machine-card:hover img {
    transform: scale(1.08);
}

/* White Content Box */
.machine-card-content {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    background: #0677b9;
	opacity: 0.9;
    padding: 28px 24px 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    transition: 0.4s;
    border-radius: 12px;
	border: 1px solid #0677b9;
}

.machine-card:hover .machine-card-content {
    transform: translateY(-8px);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.18);
    background: #0677b9;
}

/* Title */
.machine-card-content h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: white;
    margin-bottom: 12px;
    margin-top: 4px;
    transition: color 0.3s ease;
}

.machine-card:hover .machine-card-content h3 {
    color: #ffffff;
}

/* Description */
.machine-card-content p {
    color: white;
    line-height: 1.5;
    font-size: 14px;
    transition: color 0.3s ease;
    margin-bottom: 0;
}

.machine-card:hover .machine-card-content p {
    color: rgba(255, 255, 255, 0.85);
}

/* Arrow Wrapper - Hidden by default, expands on hover */
.machine-card-arrow-wrapper {
    position: relative;
    overflow: hidden;
    height: 0;
    transition: height 0.4s ease;
}

.machine-card:hover .machine-card-arrow-wrapper {
    height: 60px;
}

/* Arrow */
.machine-card-arrow {
    width: 56px;
    height: 56px;
    background: #000;
    color: #fff;
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    border-radius: 0 0 12px 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.machine-card:hover .machine-card-arrow {
    background: #167DFF;
    box-shadow: -4px -4px 20px rgba(22, 125, 255, 0.3);
    color: #ffffff;
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .machine-card {
        height: 420px;
    }
}

@media (max-width: 768px) {
    .machine-card {
        height: 380px;
    }
    
    .machine-card-content {
        left: 16px;
        right: 16px;
        bottom: 16px;
        padding: 20px 18px 22px;
    }
    
    .machine-card-content h3 {
        font-size: 18px;
        margin-bottom: 8px;
    }
    
    .machine-card-content p {
        font-size: 13px;
        line-height: 1.4;
    }
    
    .machine-card-arrow {
        width: 48px;
        height: 48px;
        font-size: 16px;
    }
    
    .machine-card:hover .machine-card-arrow-wrapper {
        height: 50px;
    }
}

@media (max-width: 480px) {
    .machine-card {
        height: 340px;
        border-radius: 12px;
    }
    
    .machine-card-content h3 {
        font-size: 16px;
    }
    
    .machine-card-content p {
        font-size: 12px;
    }
    
    .machine-card-content {
        padding: 16px 14px 18px;
    }
    
    .machine-card-arrow {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .machine-card:hover .machine-card-arrow-wrapper {
        height: 44px;
    }
}
/* ============================================
   SWIPER OVERRIDES
   ============================================ */

.machinesSwiper .swiper-slide {
    transition: transform 0.3s ease;
    height: auto;
    padding: 4px;
}

.machinesSwiper .swiper-slide:hover {
    transform: translateY(-4px);
}

/* .machinesSwiper .swiper-button-next,
.machinesSwiper .swiper-button-prev {
    opacity: 0;
    transition: opacity 0.3s ease;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.machinesSwiper:hover .swiper-button-next,
.machinesSwiper:hover .swiper-button-prev {
    opacity: 1;
}

.machinesSwiper .swiper-button-next:after,
.machinesSwiper .swiper-button-prev:after {
    font-size: 18px !important;
    font-weight: 700;
    color: #ffffff;
} */

.machinesSwiper .swiper-button-next,
.machinesSwiper .swiper-button-prev {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Remove Swiper default arrow */
.machinesSwiper .swiper-button-next::after,
.machinesSwiper .swiper-button-prev::after {
    display: none !important;
}

/* NEXT arrow */
.machinesSwiper .swiper-button-next::before {
    content: "";
    width: 11px;
    height: 11px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
    margin-left: -4px;
}

/* PREVIOUS arrow */
.machinesSwiper .swiper-button-prev::before {
    content: "";
    width: 11px;
    height: 11px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
    margin-right: -4px;
}

/* Hover */
.machinesSwiper .swiper-button-next:hover,
.machinesSwiper .swiper-button-prev:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Disabled */
.machinesSwiper .swiper-button-disabled {
    opacity: 0.4 !important;
}
/* Pagination */
.machinesSwiper .swiper-pagination-bullet {
    background: #D9E4F2 !important;
    opacity: 1 !important;
    width: 10px !important;
    height: 10px !important;
    transition: all 0.3s ease !important;
}

.machinesSwiper .swiper-pagination-bullet-active {
    background: #167DFF !important;
    width: 30px !important;
    border-radius: 6px !important;
}

/* Responsive */
@media (max-width: 1024px) {
    .machine-card {
        height: 420px;
    }
}

@media (max-width: 768px) {
    .machinesSwiper .swiper-button-next,
    .machinesSwiper .swiper-button-prev {
        display: none !important;
    }
    
    .machine-card {
        height: 380px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    }
    
    .machine-card:hover {
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    }
    
    .machine-card-content {
        left: 16px;
        right: 16px;
        bottom: 16px;
        padding: 20px 18px 22px;
    }
    
    .machine-card-content h3 {
        font-size: 18px;
        margin-bottom: 8px;
    }
    
    .machine-card-content p {
        font-size: 13px;
        line-height: 1.4;
    }
    
    .machine-card-arrow {
        width: 48px;
        height: 48px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .machine-card {
        height: 340px;
        border-radius: 12px;
    }
    
    .machine-card-content h3 {
        font-size: 16px;
    }
    
    .machine-card-content p {
        font-size: 12px;
    }
    
    .machine-card-content {
        padding: 16px 14px 18px;
    }
    
    .machine-card-arrow {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}

/* AOS Override - Fix for Swiper */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* Contact Form 7 - Spacing Fix */
.cf7-form .form-group {
    margin-bottom: 20px;
}

.cf7-form .form-group:last-child {
    margin-bottom: 0;
}

.cf7-form label {
    font-weight: 600;
    color: #08182F;
    font-size: 14px;
    display: block;
    margin-bottom: 6px;
}

.cf7-form .cf7-input {
    width: 100% !important;
    padding: 12px 14px !important;
    border: 1px solid #D9E4F2 !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    background: #ffffff !important;
    transition: all 0.3s ease !important;
    outline: none !important;
    font-family: 'Nunito', sans-serif !important;
}

.cf7-form .cf7-input:focus {
    border-color: #0677b9 !important;
    box-shadow: 0 0 0 3px rgba(6, 119, 185, 0.15) !important;
}

.cf7-form .wpcf7-textarea {
    resize: vertical;
    min-height: 120px !important;
}

.cf7-form .cf7-btn {
    background: #0677b9 !important;
    color: #ffffff !important;
    padding: 14px 32px !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    width: 100%;
    font-size: 16px !important;
    font-family: 'Nunito', sans-serif !important;
}

.cf7-form .cf7-btn:hover {
    background: #055a8c !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(6, 119, 185, 0.3);
}
.cf7-form br {
    display: none !important;
}
/* Lightbox Styles */
.gallery-item {
    cursor: pointer;
}

/* Lightbox Overlay */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 31, 68, 0.95);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 40px;
}

.lightbox-overlay.active {
    display: flex;
    opacity: 1;
}

.lightbox-overlay .lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-overlay .lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

.lightbox-overlay .lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: white;
    font-size: 36px;
    cursor: pointer;
    transition: transform 0.3s ease;
    background: none;
    border: none;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.lightbox-overlay .lightbox-close:hover {
    transform: rotate(90deg);
}

/* Navigation Arrows - Positioned on sides of screen */
.lightbox-overlay .lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.15);
    z-index: 10000;
    backdrop-filter: blur(10px);
}

.lightbox-overlay .lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.lightbox-overlay .lightbox-prev {
    left: 30px;
}

.lightbox-overlay .lightbox-next {
    right: 30px;
}

.lightbox-overlay .lightbox-counter {
    position: absolute;
    bottom: -40px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-weight: 500;
}

.lightbox-overlay .lightbox-title {
    position: absolute;
    bottom: -70px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .lightbox-overlay {
        padding: 20px;
    }
    .lightbox-overlay .lightbox-nav {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    .lightbox-overlay .lightbox-prev {
        left: 15px;
    }
    .lightbox-overlay .lightbox-next {
        right: 15px;
    }
    .lightbox-overlay .lightbox-close {
        top: -40px;
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .lightbox-overlay .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    .lightbox-overlay .lightbox-prev {
        left: 10px;
    }
    .lightbox-overlay .lightbox-next {
        right: 10px;
    }
}




