/*
Theme Name: Visual Tech Custom
Theme URI: https://www.flexprintingmachine.in/
Author: CodeHind
Author URI: http://codehind.in/
Description: A modern, high-converting B2B theme for Visual Technicals Pvt Ltd.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: visualtech
*/

:root {
    /* ── Brand Palette (Logo-Aligned: Orange + Black) ── */
    --primary: #111827;
    /* Deep Black  — logo dark base   */
    --secondary: #FF5A00;
    /* Brand Orange — logo accent      */
    --accent: #E64A19;
    /* Deep Burnt Orange               */
    --bg-white: #FFFFFF;
    --bg-light: #FFF8F4;
    /* Warm cream — replaces cold grey */
    --text-dark: #1E293B;
    --text-muted: #6B7280;
    --glass: rgba(255, 255, 255, 0.95);
    --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
    --orange-glow: rgba(255, 90, 0, 0.18);
}

/* Ensure font-display swap for FontAwesome icons */
@font-face {
    font-family: 'Font Awesome 6 Free';
    font-display: swap;
}
@font-face {
    font-family: 'Font Awesome 6 Brands';
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html {
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
}

body {
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100%;
}

h1,
h2,
h3,
h4 {
    color: var(--primary);
    font-weight: 800;
    line-height: 1.2;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--secondary);
    color: var(--bg-white);
    box-shadow: 0 4px 15px rgba(255, 90, 0, 0.25);
    border: 1px solid var(--secondary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 90, 0, 0.35);
    background: var(--accent);
    border-color: var(--accent);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--primary);
    transition: 0.4s ease;
    z-index: -1;
}

.btn-outline:hover {
    color: var(--bg-white);
}

.btn-outline:hover::before {
    width: 100%;
}

/* Header */
header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 9999;
    padding: 0 5%;
    height: 80px;
    background: #ffffff !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(255, 90, 0, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

body.admin-bar header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar header {
        top: 46px;
    }
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
}

header.scrolled {
    height: 70px;
    background: #ffffff !important;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.10);
}

.logo img {
    max-height: 50px;
}

/* Custom Menu & Dropdowns */
.main-menu,
.menu-main-menu-container ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.main-menu>li {
    position: relative;

}

nav a,
.menu-main-menu-container a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

nav a:hover,
.menu-main-menu-container a:hover {
    color: var(--secondary);
}

.dropdown-arrow {
    font-size: 0.6rem;
    margin-left: 4px;
    vertical-align: middle;
    color: var(--text-muted);
}

.dropdown-menu {
    list-style: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: #ffffff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 2px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(0, 0, 0, 0.06);
    z-index: 100;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style-type: none !important;
    width: 100%;
    padding: 0;
    margin: 0;
}

.dropdown-menu li::before {
    display: none !important;
}

.dropdown-menu a {
    display: flex !important;
    align-items: center !important;
    padding: 0.6rem 1rem !important;
    color: var(--text-dark) !important;
    font-weight: 500 !important;
    font-size: 0.9rem !important;
    border-radius: 6px;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
}

.dropdown-menu a:hover {
    background: rgba(255, 90, 0, 0.05);
    color: var(--secondary) !important;
    padding-left: 1.3rem !important;
}

/* Current Page Highlight */
.current-menu-item>a {
    color: var(--secondary);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    margin-top: 70px;
    background: var(--bg-light);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.85);
}

.slide-content {
    position: relative;
    z-index: 2;
    padding: 0 10%;
    max-width: 800px;
}

.slide-content h1 {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(to bottom right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: slideUp 0.8s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.slide-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    animation: slideUp 0.8s ease 0.2s forwards;
    opacity: 0;
    transform: translateY(30px);
}

.slide-buttons {
    animation: slideUp 0.8s ease 0.4s forwards;
    opacity: 0;
    transform: translateY(30px);
    display: flex;
    gap: 1rem;
}

.slider-controls {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-light);
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background: var(--secondary);
    width: 30px;
    border-radius: 10px;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.slider-arrow:hover {
    background: var(--bg-white);
    color: var(--secondary);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.prev-arrow {
    left: 20px;
}

.next-arrow {
    right: 20px;
}

.products {
    padding: 6rem 5%;
    background: #faf7f4;
    /* Warm off-white — aligned with orange-black brand */
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.8rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--secondary);
    border-radius: 2px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.product-card {
    background: #ffffff;
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.02);
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.02);
    transform: translateY(-10px);
}

.product-img {
    height: 280px;
    background: radial-gradient(circle at 50% 50%, #ffffff 0%, #fff3ee 100%);
    /* Warm cream gradient — brand-aligned */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    padding: 2rem;
}

.product-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    transition: all 0.7s;
    z-index: 1;
}

.product-card:hover .product-img::before {
    left: 200%;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 2;
    position: relative;
    filter: drop-shadow(0 15px 15px rgba(0, 0, 0, 0.08));
}

.product-card:hover .product-img img {
    transform: scale(1.08) translateY(-5px);
}

.product-info {
    padding: 2.5rem 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #ffffff;
    z-index: 3;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
}

.product-info h3 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-info .btn {
    width: 100%;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    padding: 1.1rem;
    border-radius: 8px;
    background: transparent;
    color: var(--secondary);
    border: 2px solid var(--secondary);
    font-weight: 700;
    transition: all 0.3s ease;
}

.product-card:hover .product-info .btn {
    background: var(--secondary);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(255, 90, 0, 0.35);
    /* Brand orange shadow — replaced off-brand blue */
}

.product-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

/* Gallery Section */
.gallery {
    padding: 5rem 5%;
    background: var(--bg-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.gallery-item {
    height: 250px;
    background: var(--border-light);
    border-radius: 8px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.section-divider {
    border-top: 2px solid;
    border-image: linear-gradient(90deg, transparent, var(--secondary), transparent) 1;
    margin: 0 5%;
    opacity: 0.4;
}

/* About Us Section */
.about {
    padding: 5rem 8%;
    background: var(--bg-white);
    display: flex;
    gap: 4rem;
    align-items: center;
    flex-wrap: wrap;
}

.about-grid {
    display: flex;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h2 {
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
    line-height: 1.3;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}

.about-image {
    flex: 1;
    min-width: 300px;
    background: var(--bg-light);
    height: 450px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Contact Section */
.contact {
    padding: 5rem 5%;
    background: var(--bg-light);
    display: flex;
    gap: 4rem;
    justify-content: center;
}

.contact-info {
    max-width: 500px;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.info-item h4 {
    color: var(--primary);
    margin-bottom: 0.2rem;
}

.info-item p {
    color: var(--text-muted);
}

/* Footer */
footer {
    background: var(--primary);
    color: #e2e8f0;
    padding: 10px 0 !important;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--secondary) 100%);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

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

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

.footer-col h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 1.8rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary);
}

.footer-col p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #94a3b8;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: 0.3s;
    font-size: 0.95rem;
}

.footer-col ul li a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: 0.3s;
    text-decoration: none;
}

.social-icon:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: #64748b;
}

.footer-bottom a {
    color: #94a3b8;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--secondary);
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 37, 64, 0.8);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.modal-content {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
    transform: translateY(50px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
    border: none;
    background: none;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
}

.form-control {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: #FFFFFF !important;
    border-radius: 50%;
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 22px rgba(37, 211, 102, 0.45);
    z-index: 9999;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.65);
    background-color: #20ba5a;
    color: #FFFFFF !important;
}

.whatsapp-float svg {
    width: 38px;
    height: 38px;
    fill: #ffffff;
    display: block;
}

.whatsapp-float i {
    font-size: 38px;
    color: #FFFFFF;
    line-height: 1;
}

/* SEO FAQ & Application Card Interactive Styles */
.faq-item {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(255, 90, 0, 0.3) !important;
    box-shadow: 0 8px 25px rgba(255, 90, 0, 0.06) !important;
}

.faq-question:hover {
    color: var(--secondary) !important;
}

.seo-applications div[style*="border-radius: 16px"]:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(17, 24, 39, 0.08) !important;
    border-color: rgba(255, 90, 0, 0.25) !important;
}

@media (max-width: 768px) {
    .slide-content h1 {
        font-size: 2.5rem;
    }

    .contact {
        flex-direction: column;
    }

    nav ul {
        display: none;
    }
}

/* Non-blocking smooth reveal */
.vt-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.vt-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}