/*
Theme Name: PixoraGlobal
Theme URI: https://pixoraglobal.com
Author: Suzan Kumar Roy Ruddro
Author URI: https://www.linkedin.com/in/suzan-kumar-roy-1299411a9/
Description: A premium, highly aesthetic, modern, and responsive theme designed for Pixora Global. Features glassmorphism, smooth animations, and tailored HSL color schemes.
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: pixoraglobal
*/

/* ----------------------------------------------------
   1. Design System & CSS Custom Properties
---------------------------------------------------- */
:root {
    /* Color Palette (Main Site Match) */
    --primary: #003366; /* Deep Navy */
    --accent: #0099ff; /* Bright Sky Blue */
    --gradient-brand: linear-gradient(135deg, var(--primary), var(--accent));

    --bg-main: #ffffff;
    --bg-alt: #f8f9fa;
    
    --bg-glass: rgba(255, 255, 255, 0.95);
    --border-glass: rgba(0, 51, 102, 0.1);

    --text-main: #1a1a2e;
    --text-muted: #4a5568;
    --text-white: #ffffff;

    /* Typography */
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Layout Details */
    --container-max-width: 1200px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --border-radius-lg: 24px;
    --border-radius-md: 16px;
    --border-radius-sm: 8px;
    --border-radius-pill: 50px;
}

/* ----------------------------------------------------
   2. Reset & Core Page Setup
---------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography Scale */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary); /* Deep Navy */
    line-height: 1.2;
}

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

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons and Links */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: var(--border-radius-pill);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-brand);
    color: var(--text-white);
    box-shadow: 0 8px 24px rgba(0, 153, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 153, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--text-white);
    transform: translateY(-3px);
}

/* ----------------------------------------------------
   3. Header & Navigation
---------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
}

.site-header.scrolled {
    padding: 12px 0;
    box-shadow: 0 10px 30px rgba(0, 51, 102, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-item a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 8px 0;
}

.nav-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: var(--transition-smooth);
}

.nav-item a:hover {
    color: var(--text-white);
}

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

.mobile-nav-toggle {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 24px;
}

/* ----------------------------------------------------
   4. Hero Section
---------------------------------------------------- */
.hero-section {
    padding: 180px 0 100px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-tag {
    align-self: flex-start;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-tag::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent);
    box-shadow: 0 0 10px var(--accent);
}

.hero-title {
    font-size: 56px;
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.hero-title span {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 18px;
    line-height: 1.7;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 12px;
}

/* Hero Advantage Grid */
.advantage-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: center;
}

.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 51, 102, 0.05);
    position: relative;
    z-index: 2;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.advantage-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.advantage-card:nth-child(even) {
    transform: translateY(30px);
}

.glass-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 153, 255, 0.2);
    box-shadow: 0 20px 50px rgba(0, 153, 255, 0.1);
}

.advantage-card:nth-child(even):hover {
    transform: translateY(22px);
}

.card-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.glass-card h3 {
    margin-bottom: 0;
    font-size: 20px;
}

.glass-card p {
    font-size: 14px;
    margin-bottom: 0;
    line-height: 1.6;
}

/* ----------------------------------------------------
   5. Services Section
---------------------------------------------------- */
.services-section {
    padding: 100px 0;
    background-color: var(--bg-alt);
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.section-title {
    font-size: 38px;
    letter-spacing: -1px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-main);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-md);
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 51, 102, 0.05);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 153, 255, 0.2);
    box-shadow: 0 15px 40px rgba(0, 153, 255, 0.1);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    font-size: 32px;
    margin-bottom: 24px;
    color: var(--primary);
    background: rgba(0, 153, 255, 0.1);
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-sm);
}

.service-card h3 {
    margin-bottom: 12px;
    font-size: 20px;
}

/* ----------------------------------------------------
   6. Contact Section
---------------------------------------------------- */
.contact-section {
    padding: 100px 0;
}

.contact-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-lg);
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-info h2 {
    font-size: 38px;
    margin-bottom: 16px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.form-control {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-sm);
    padding: 14px 18px;
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 15px;
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
    background: rgba(255, 255, 255, 0.06);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* ----------------------------------------------------
   7. Footer
---------------------------------------------------- */
.site-footer {
    background: var(--bg-main);
    border-top: 1px solid var(--border-glass);
    padding: 60px 0 30px 0;
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-widget h4 {
    font-size: 16px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(0, 51, 102, 0.1);
    padding-top: 30px;
    color: var(--text-muted);
}

/* ----------------------------------------------------
   8. Pricing Section
---------------------------------------------------- */
.pricing-section {
    padding: 100px 0;
    position: relative;
    background: radial-gradient(circle at right, rgba(0, 153, 255, 0.05), transparent 60%);
}

.pricing-table-container {
    background: var(--bg-main);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 51, 102, 0.05);
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.pricing-table th,
.pricing-table td {
    padding: 18px 24px;
    border-bottom: 1px solid rgba(0, 51, 102, 0.05);
}

.pricing-table th {
    background: var(--bg-alt);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
}

.pricing-table tr:hover {
    background: rgba(0, 153, 255, 0.02);
}

.pricing-table td:first-child {
    font-weight: 500;
    color: var(--text-main);
}

.pricing-table td {
    font-size: 15px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.pricing-card {
    background: var(--bg-main);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 51, 102, 0.05);
}

.pricing-card-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0, 51, 102, 0.1);
}

.pricing-card-title {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 8px;
}

.pricing-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pricing-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    border-bottom: 1px dashed rgba(0, 51, 102, 0.1);
    padding-bottom: 8px;
}

.pricing-list-item .title {
    color: var(--text-main);
    font-weight: 500;
}

.pricing-list-item .desc {
    font-size: 12px;
    color: var(--text-muted);
    margin-left: 10px;
}

.pricing-list-item .price {
    font-family: var(--font-heading);
    color: var(--accent);
    font-weight: 600;
}

/* ----------------------------------------------------
   9. Responsive Media Queries
---------------------------------------------------- */
@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-table-container {
        overflow-x: auto;
    }

    .pricing-table {
        min-width: 600px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-tag {
        align-self: center;
    }

    .hero-desc {
        margin: 0 auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .contact-card {
        grid-template-columns: 1fr;
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 12, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--border-glass);
        z-index: 99;
        text-align: center;
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-nav-toggle {
        display: block;
    }

    .section-title {
        font-size: 30px;
    }

    /* Force grids to single column on mobile */
    .contact-grid,
    .about-grid,
    .advantage-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    /* Make about image appear above text on mobile */
    .about-visual {
        order: -1;
    }
}

/* ----------------------------------------------------
   10. Conversion Booster Features & Layouts (2026 Updates)
---------------------------------------------------- */

/* Trust Badges Bar styling */
.hero-trust-badges {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 100px;
}

.trust-badge-icon {
    color: var(--accent);
}

/* Portfolio Filters */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.portfolio-filter-btn {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    padding: 10px 24px;
    font-weight: 600;
    font-size: 14px;
    border-radius: var(--border-radius-pill);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.portfolio-filter-btn:hover,
.portfolio-filter-btn.active {
    background: var(--gradient-brand);
    color: var(--text-white);
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(0, 153, 255, 0.2);
}

/* Portfolio grid animations during filter */
.portfolio-item {
    transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1), transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), max-width 0.5s ease;
    opacity: 1;
    transform: scale(1);
}

.portfolio-item.filtered-out {
    opacity: 0;
    transform: scale(0.85);
    position: absolute;
    pointer-events: none;
    width: 0;
    height: 0;
    overflow: hidden;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

/* Before/After Slider Styling */
.ba-slider {
    user-select: none;
    -webkit-user-select: none;
}

.ba-slider.dragging {
    cursor: ew-resize;
}

.ba-before {
    will-change: width;
    border-right: 3px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.ba-handle {
    will-change: left;
    transition: transform 0.2s ease, background 0.2s ease;
}

.ba-slider:hover .ba-handle {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--accent) !important;
}

.ba-slider:hover .ba-handle span {
    color: #fff !important;
}

.ba-label {
    opacity: 0;
    transform: translateY(5px);
    transition: var(--transition-smooth);
}

.ba-slider:hover .ba-label {
    opacity: 1;
    transform: translateY(0);
}

/* Verified testimonial review badge */
.testimonial-card {
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 153, 255, 0.2);
}

/* Floating WhatsApp Widget */
.whatsapp-widget-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
    position: relative;
    transition: var(--transition-smooth);
}

.whatsapp-btn:hover {
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.5);
}

.whatsapp-btn:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translate(-100%, -50%) translateX(-15px);
}

.whatsapp-tooltip {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(-100%, -50%) translateX(-5px);
    background: rgba(10, 25, 45, 0.95);
    color: #ffffff;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.whatsapp-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25d366;
    opacity: 0.75;
    z-index: -1;
    animation: whatsapp-wave 2s infinite;
}

@keyframes whatsapp-wave {
    0% {
        transform: scale(1);
        opacity: 0.75;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* Multi-step free trial page specifics */
.step-dot.completed .dot-circle {
    background: #00c864;
    border-color: #fff;
    color: #fff;
}

.step-dot.active .dot-circle {
    background: var(--primary);
    border-color: #fff;
    color: #fff;
    box-shadow: 0 0 15px rgba(0, 153, 255, 0.4);
}

.drop-zone:hover {
    border-color: var(--accent) !important;
    background: rgba(0, 153, 255, 0.04) !important;
}

.upload-tab-btn:hover {
    color: var(--primary) !important;
}

@keyframes pulse-success {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 200, 100, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(0, 200, 100, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 200, 100, 0);
    }
}

.file-preview-item {
    animation: slideUp 0.3s ease;
}

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

@media (max-width: 768px) {
    .whatsapp-widget-container {
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-btn {
        width: 50px;
        height: 50px;
    }
    .whatsapp-icon {
        width: 22px;
        height: 22px;
    }
    .hero-trust-badges {
        justify-content: center;
    }
}