/*
Theme Name: Texas Digitizing
Theme URI: https://texasdigitizing.com
Author: Modulytica
Description: Premium, High-Performance WordPress Theme with GSAP Animations.
Version: 1.2.0
Text Domain: texas-digitizing
*/

/* -------------------------------------------------------------------------- */
/*	1. VARIABLES & SETUP
/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */
/*	1. VARIABLES & SETUP
/* -------------------------------------------------------------------------- */
:root {
    /* 🎨 Futuristic Palette */
    --color-bg: #030712;
    /* Deepest Space */
    --color-surface: #0f172a;
    /* Dark Surface */
    --color-surface-2: #1e293b;
    /* Lighter Surface */

    --color-primary: #3b82f6;
    /* Electric Blue */
    --color-secondary: #8b5cf6;
    /* Neon Violet */
    --color-accent: #22d3ee;
    /* Cyber Cyan */
    --color-glow: rgba(59, 130, 246, 0.5);

    --color-text-main: #f8fafc;
    /* White/Off-white */
    --color-text-muted: #94a3b8;
    /* Muted Blue-Grey */

    --gradient-main: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    --gradient-glow: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));

    /* 🌫️ Glassmorphism Premium */
    --glass-bg: rgba(15, 23, 42, 0.6);
    --glass-blur: 24px;
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);

    /* 🔠 Typography - Clean & Minimal */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* 📐 Layout & Spacing */
    --container-width: 1240px;
    --header-height: 90px;
    --border-radius: 24px;
    --transition-fast: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

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

/* -------------------------------------------------------------------------- */
/*	2. TYPOGRAPHY
/* -------------------------------------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-text-main);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(3rem, 6vw, 5.5rem);
}

h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h3 {
    font-size: 2rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* -------------------------------------------------------------------------- */
/*	3. COMPONENTS
/* -------------------------------------------------------------------------- */

/* Neon Button */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    background: var(--gradient-main);
    color: white;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.6);
}

.btn-primary:hover::before {
    opacity: 1;
}

/* Glass Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: var(--border-radius);
    border: var(--glass-border);
    box-shadow: var(--glass-shadow);
    transition: transform 0.4s var(--transition-smooth), border-color 0.4s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* -------------------------------------------------------------------------- */
/*	3. LAYOUT & CONTAINER
/* -------------------------------------------------------------------------- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

/* -------------------------------------------------------------------------- */
/*	4. HEADER & NAVIGATION (Futuristic)
/* -------------------------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(3, 7, 18, 0.7);
    /* Deep dark transparent */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
}

/* WP Admin Bar Fix */
body.admin-bar .site-header {
    top: 32px;
}

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

.site-header.scrolled {
    background: rgba(3, 7, 18, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    padding-top: 5px;
    padding-bottom: 5px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
    transition: height 0.4s ease;
}

.site-header.scrolled .header-container {
    height: 70px;
    /* Shrink on scroll */
}

/* Logo */
.site-branding a {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.site-title {
    font-size: 1.8rem;
    margin: 0;
    letter-spacing: -0.02em;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
    /* Prevent wrapping */
}

.site-title span {
    color: var(--color-primary);
    -webkit-text-fill-color: var(--color-primary);
}

.site-branding img,
.custom-logo {
    max-height: 50px;
    width: auto;
    transition: all 0.3s ease;
}

/* Desktop Nav - Defensive Styling */
.main-navigation.desktop-only {
    display: none;
    /* Hidden by default (mobile) */
}

@media (min-width: 992px) {
    .main-navigation.desktop-only {
        display: block;
        /* Show on Desktop */
    }
}

/* Target both the menu class AND standard WP menu structures */
.main-navigation ul,
.menu-flex {
    display: flex;
    flex-direction: row;
    /* Force row */
    align-items: center;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

/* Ensure fallback 'div > ul' also acts as flex container if needed */
.main-navigation>div>ul {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-navigation li {
    margin: 0;
}

.main-navigation a {
    color: var(--color-text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    padding: 5px 0;
}

.main-navigation a:hover,
.main-navigation .current-menu-item>a {
    color: white;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--color-primary);
}

.main-navigation a:hover::after,
.main-navigation .current-menu-item>a::after {
    width: 100%;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-actions.desktop-only {
    display: none;
}

@media (min-width: 992px) {
    .header-actions.desktop-only {
        display: flex;
    }
}

/* PREMIUM 3D FLOATING CART */
.cart-premium-3d {
    position: relative;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
    z-index: 10;
}

.cart-svg-icon {
    width: 26px;
    height: 26px;
    color: white;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
    transform-style: preserve-3d;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Initial State: Slight isometric tilt */
    transform: rotateY(-15deg) rotateX(10deg) translateZ(0);
    animation: premiumFloat 4s ease-in-out infinite;
}

/* The Shadow underneath */
.cart-shadow {
    position: absolute;
    bottom: 5px;
    width: 20px;
    height: 4px;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.6), transparent 70%);
    border-radius: 50%;
    transform: scale(0.8);
    opacity: 0.5;
    animation: shadowPulse 4s ease-in-out infinite;
    pointer-events: none;
    filter: blur(2px);
}

/* Hover Effect: Snaps to front, fills with color */
.cart-premium-3d:hover .cart-svg-icon {
    transform: rotateY(0) rotateX(0) scale(1.15) translateZ(20px);
    color: var(--color-accent);
    filter: drop-shadow(0 0 12px var(--color-accent));
}

.cart-premium-3d:hover .cart-shadow {
    opacity: 0.8;
    transform: scale(1.2) translateY(5px);
    background: radial-gradient(ellipse at center, var(--color-accent), transparent 70%);
}

@keyframes premiumFloat {

    0%,
    100% {
        transform: rotateY(-15deg) rotateX(10deg) translateY(0);
    }

    50% {
        transform: rotateY(-15deg) rotateX(10deg) translateY(-8px);
    }
}

@keyframes shadowPulse {

    0%,
    100% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    50% {
        transform: scale(0.4);
        opacity: 0.2;
    }
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: linear-gradient(135deg, #FF0055, #FF5588);
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.1);
    animation: pulseCount 2s infinite;
}

@keyframes pulseCount {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
    }

    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}

.btn-primary {
    background: var(--color-primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    background: var(--color-secondary);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
    transform: translateY(-2px);
}

.btn-primary.small-btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
}

.btn-outline {
    background: transparent;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-outline.small-btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
}

/* Mobile Toggle (Hamburger) */
.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 2000;
    /* Above overlay */
    padding: 0;
}

@media (min-width: 992px) {
    .menu-toggle {
        display: none;
    }
}

.bar {
    width: 100%;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.menu-active .bar.top {
    transform: rotate(45deg) translate(5px, 6px);
    background: var(--color-accent);
}

.menu-active .bar.mid {
    opacity: 0;
}

.menu-active .bar.bot {
    transform: rotate(-45deg) translate(5px, -6px);
    background: var(--color-accent);
}

/* -------------------------------------------------------------------------- */
/*	5. MOBILE MENU OVERLAY (GSAP)
/* -------------------------------------------------------------------------- */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(3, 7, 18, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1500;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    /* GSAP will handle transition, but keep CSS as fallback/base */
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.menu-close-btn {
    position: absolute;
    top: 25px;
    right: 25px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    z-index: 2001;
    padding: 10px;
    transition: all 0.3s ease;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-close-btn:hover {
    transform: rotate(90deg);
    color: var(--color-accent);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-accent);
}

.mobile-menu-content {
    text-align: center;
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.mobile-menu-list li {
    margin: 1.5rem 0;
    opacity: 0;
    /* Hidden initially for GSAP */
    transform: translateY(20px);
}

.mobile-menu-list li a {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: white;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s;
}

.mobile-menu-list li a:hover {
    color: var(--color-accent);
}

.mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    opacity: 0;
    /* Hidden initially for GSAP */
    transform: translateY(20px);
}

.mobile-action-link {
    color: var(--color-text-muted);
    font-size: 1rem;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s;
}

.mobile-action-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border-color: var(--color-primary);
}

/* -------------------------------------------------------------------------- */
/*	5. FORMS & INPUTS
/* -------------------------------------------------------------------------- */
.custom-order-form label {
    font-weight: 600;
    color: var(--color-text-main);
    margin-bottom: 0.5rem;
    display: block;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.custom-order-form input,
.custom-order-form select,
.custom-order-form textarea {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: var(--color-surface-2);
    /* Dark Background */
    color: var(--color-text-main);
    /* Light Text */
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s var(--transition-fast);
}

.custom-order-form input::placeholder,
.custom-order-form textarea::placeholder {
    color: var(--color-text-muted);
    opacity: 0.6;
}

.custom-order-form input:focus,
.custom-order-form select:focus,
.custom-order-form textarea:focus {
    background: var(--color-surface);
    border-color: var(--color-primary);
    outline: none;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
    /* Neon Glow */
}


/* -------------------------------------------------------------------------- */
/*	MOBILE / TABLET MENU
/* -------------------------------------------------------------------------- */
@media screen and (max-width: 1024px) {
    .menu-toggle {
        display: block;
        background: none;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        cursor: pointer;
        padding: 0.5rem;
        z-index: 2000;
        width: 44px;
        /* Minimum touch target */
        height: 44px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
    }

    .menu-toggle span {
        display: block;
        width: 30px;
        height: 2px;
        background: var(--color-text-main);
        margin: 6px 0;
        transition: all 0.3s cubic-bezier(0.68, -0.6, 0.32, 1.6);
        border-radius: 2px;
    }

    /* Hamburger Animation */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
        background: var(--color-accent);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
        background: var(--color-accent);
    }

    /* Full Screen Drawer */
    .main-navigation {
        position: fixed;
        top: 0;
        right: 0;
        width: 100vw;
        /* Full width */
        height: 100vh;
        background: rgba(3, 7, 18, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateY(-100%);
        /* Slide form top */
        transition: transform 0.5s var(--transition-smooth);
        padding: 2rem;
        z-index: 999;
    }

    .main-navigation.active {
        transform: translateY(0);
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        list-style: none;
        margin-bottom: 2rem;
    }

    .main-navigation a {
        font-size: 2rem;
        font-weight: 700;
        color: var(--color-text-main);
    }

    .header-actions {
        margin: 0;
        flex-direction: column;
        gap: 2rem;
    }
}

@media screen and (max-width: 600px) {
    h1 {
        font-size: 2.5rem;
    }

    .container {
        padding: 0 1rem;
    }

    .hero-image {
        display: none;
        /* Optional: hide image on small screens to save space */
    }
}

/* -------------------------------------------------------------------------- */
/*	7. HERO SECTION & HOME STYLES
/* -------------------------------------------------------------------------- */
.hero-section {
    position: relative;
    min-height: 100vh;
    /* Full Height */
    display: flex;
    align-items: center;
    overflow: hidden;
    background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.05), transparent 40%),
        radial-gradient(circle at bottom left, rgba(124, 58, 237, 0.05), transparent 40%);
    padding-top: 100px;
    /* Clear Header */
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    background: linear-gradient(135deg, var(--color-text), var(--color-primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text);
    margin-bottom: 2.5rem;
    max-width: 550px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: white;
    color: var(--color-heading);
    font-weight: 600;
    border-radius: 50px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

.hero-placeholder {
    background: #f1f5f9;
    border-radius: 12px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-weight: 600;
    border: 1px dashed #cbd5e1;
}

/* Blobs */
.blob-1,
.blob-2 {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    z-index: -1;
}

.blob-1 {
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: var(--color-primary);
}

.blob-2 {
    bottom: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: var(--color-secondary);
}

/* Mobile Hero Adjustments */
@media screen and (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 140px;
        /* More padding for mobile header */
        gap: 3rem;
    }

    .hero-subtitle {
        margin: 0 auto 2.5rem;
    }

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

    .hero-image {
        display: none;
    }
}

/* -------------------------------------------------------------------------- */
/*	Services Page Styles
/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */
/*	Services Page Styles - "Modern Aesthetic"
/* -------------------------------------------------------------------------- */
.services-hero {
    position: relative;
    overflow: hidden;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    /* Larger gap for premium feel */
    padding: 2rem 0;
}

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.service-card {
    position: relative;
    background: rgba(15, 23, 42, 0.4);
    /* Deep see-through dark */
    border-radius: 24px;
    padding: 3.5rem 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Specific Accent Colors */
.service-embroidery {
    --accent-color: var(--color-primary);
}

/* Blue */
.service-custom {
    --accent-color: #f472b6;
}

/* Pink */
.service-woven {
    --accent-color: #a78bfa;
}

/* Violet */
.service-vector {
    --accent-color: #22d3ee;
}

/* Cyan */

/* Gradient Border / Top Glow */
.card-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    /* Thin top line */
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    opacity: 0.5;
    transition: opacity 0.5s ease;
}

.service-card:hover .card-decoration {
    opacity: 1;
    box-shadow: 0 2px 20px var(--accent-color);
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.5);
}

/* Icon Wrapper "Orb" */
.service-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.05), transparent);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: all 0.5s ease;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.service-card:hover .service-icon-wrapper {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 30px var(--accent-color);
    border-color: var(--accent-color);
    transform: rotate(-5deg);
}

.service-icon {
    font-size: 3rem;
    filter: grayscale(100%) brightness(150%);
    transition: all 0.5s ease;
}

.service-card:hover .service-icon {
    filter: grayscale(0%) drop-shadow(0 0 10px var(--accent-color));
    transform: scale(1.1);
}

/* Typography */
.service-card h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: all 0.3s ease;
}

.service-card:hover h3 {
    background: linear-gradient(90deg, #fff, var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
}

.service-card p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Link with Arrow */
.service-link {
    font-weight: 600;
    color: var(--color-text-main);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    /* Push to bottom */
}

.service-link .arrow {
    transition: transform 0.3s ease;
    color: var(--accent-color);
}

/* -------------------------------------------------------------------------- */
/*	Hero Typography & Visual Polish
/* -------------------------------------------------------------------------- */
.hero-title {
    font-size: clamp(3.5rem, 6vw, 6rem);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    /* Sharper shadow */
}

.text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #60a5fa 100%);
    /* Brighter gradient */
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    /* Removed heavy blur */
}

.hero-subtitle {
    font-size: 1.35rem;
    line-height: 1.6;
    color: #cbd5e1;
    /* Light grey */
    max-width: 600px;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.text-highlight {
    color: #22d3ee;
    font-weight: 700;
    /* Bolder */
    text-shadow: 0 0 1px rgba(34, 211, 238, 0.8);
    /* Minimal glow for sharpness */
}

/* Button Fixes */
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
    margin-left: 1rem;
}

.btn-secondary:hover {
    background: white;
    color: var(--color-bg);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}

/* Update Primary Button to match futuristic theme if not already */
.btn-primary {
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
    border: none;
}

.btn-primary:hover {
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.8);
    transform: translateY(-3px) scale(1.02);
}

/* -------------------------------------------------------------------------- */
/*	Homepage Fixes & Missing Utilities
/* -------------------------------------------------------------------------- */

/* Section Padding */
.section-padding {
    padding: 6rem 0;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 4rem 0;
    }
}

/* Flex Utilities */
.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

/* Darker Backgrounds */
.bg-darker {
    background: #0b1120;
    /* Darker shade than body */
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.portfolio-item {
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02), transparent);
    transition: all 0.3s ease;
    overflow: hidden;
    /* For image zoom */
    position: relative;
    padding: 0;
    /* Remove padding for full image */
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-item:hover {
    border-color: var(--color-primary);
    color: white;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.2);
    transform: translateY(-5px);
}

/* Glow Background for CTA */
.glow-bg {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
    filter: blur(50px);
}

.cta-section {
    position: relative;
    overflow: hidden;
}

.relative {
    position: relative;
}

.z-2 {
    z-index: 2;
}

.large-text {
    font-size: 1.25rem;
}

.large-btn {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

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

.blob-1,
.blob-2 {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.4;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: var(--color-primary);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: var(--color-secondary);
    bottom: 0;
    right: 0;
    animation-delay: -3s;
}

/* Hero Fixes */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    padding: 2rem;
}

.hero-image {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

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

    .hero-image {
        height: 300px;
        /* Smaller on tablet */
        order: -1;
        /* Image on top? Optional */
        display: flex;
        /* Ensure it shows */
    }
}

/* About Page Responsive Grid */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .about-image-column {
        position: relative !important;
        top: 0 !important;
        order: -1;
        /* Image on top for mobile */
    }

    .tech-svg-container {
        height: 300px !important;
    }
}

.text-white {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

/* Hero SVG Animation */
.embroidery-anim-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.embroidery-svg {
    width: 80%;
    height: auto;
    max-height: 80%;
    filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.3));
}

.thread-orbit {
    transform-origin: center;
    opacity: 0.8;
}

.orbit-1 {
    animation: orbit 8s linear infinite;
}

.orbit-2 {
    animation: orbit 12s linear infinite reverse;
}

.orbit-3 {
    animation: orbit 15s linear infinite;
}

.core-pulse {
    animation: pulse 3s ease-in-out infinite;
}

@keyframes orbit {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(34, 211, 238, 0.2);
    }

    50% {
        transform: scale(1.2);
        box-shadow: 0 0 40px rgba(34, 211, 238, 0.6);
    }
}

/* Utilities */
.text-muted {
    color: var(--color-text-muted);
}

.text-link {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.text-link:hover {
    color: white;
    gap: 10px;
}

/* -------------------------------------------------------------------------- */
/*	Custom Order Page Styles
/* -------------------------------------------------------------------------- */

.text-white {
    color: #ffffff !important;
}

.services-hero {
    background-color: var(--color-bg);
    /* Ensure dark bg */
    color: var(--color-text-main);
}

.services-hero .hero-subtitle {
    color: var(--color-text-muted);
}

.page-hero {
    min-height: 50vh;
    padding-top: 120px;
    background: radial-gradient(circle at top, rgba(59, 130, 246, 0.1), transparent 70%);
}


/* -------------------------------------------------------------------------- */
/*	Contact Page Styles
/* -------------------------------------------------------------------------- */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-info {
        order: -1;
        /* Show info first on mobile? Or stick to form first? Let's keep form first for conversion */
    }
}

.contact-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
    transform: translateY(-5px);
}

.contact-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-right: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    border-radius: 20px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.02), transparent);
    border: 1px solid transparent;
    transition: all 0.3s;
}

.contact-item:hover {
    border-color: var(--color-primary);
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.1), transparent);
}

.contact-item:hover .contact-icon-box {
    background: var(--color-primary);
    color: white;
    box-shadow: 0 0 20px var(--color-primary);
}

/* Trendy Animated Gradient Border for Glass Form */
.glass-form {
    position: relative;
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
    border: 1px solid transparent;
    border-radius: 24px;
    background-clip: padding-box;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.glass-form::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(45deg, var(--color-primary), var(--color-secondary), var(--color-accent));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.5;
    transition: opacity 0.5s ease;
}

.glass-form:hover::before {
    opacity: 1;
    filter: drop-shadow(0 0 10px var(--color-primary));
}

.glass-form label {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

/* Modern Floating Label Form */
.floating-group {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 1rem 1rem 1rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-input:focus {
    border-color: var(--color-accent);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.form-label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: var(--color-text-muted);
    transition: all 0.2s ease;
    pointer-events: none;
    padding: 0 0.2rem;
    background: transparent;
    /* Changed from #030712 to handle transparency */
}

/* Floating effect when focused or has value (using placeholder shown hack) */
.form-input:focus~.form-label,
.form-input:not(:placeholder-shown)~.form-label {
    top: -0.7rem;
    left: 0.8rem;
    font-size: 0.8rem;
    color: var(--color-accent);
    background: #030712;
    /* Match input container bg to hide line */
    font-weight: 600;
}

/* Password Strength Bar */
.password-strength-bar .strength-fill {
    transition: width 0.3s ease, background-color 0.3s ease;
}

/* Responsive Split Screen adjustments */
@media (max-width: 991px) {
    .register-visual {
        display: none !important;
    }

    .register-form-container {
        padding: 6rem 1.5rem 2rem;
        /* Add top padding to clear fixed header */
    }
}

.glass-form input,
.glass-form textarea {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    width: 100%;
    transition: all 0.3s;
    font-size: 1rem;
}

.glass-form input:focus,
.glass-form textarea:focus {
    background: rgba(0, 0, 0, 0.6);
    border-color: var(--color-accent);
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.2), inset 0 0 10px rgba(34, 211, 238, 0.05);
    outline: none;
    transform: translateY(-2px);
}

/* Enhancing Mobile Layout */
@media (max-width: 992px) {
    .contact-grid {
        display: flex;
        flex-direction: column;
        gap: 3rem;
    }

    .contact-info {
        order: 2;
        /* Info below form */
    }

    .glass-form {
        order: 1;
    }
}

.form-container {
    padding: 3rem;
    background: rgba(255, 255, 255, 0.98);
    /* Light mode card for form */
    color: #1e293b;
    /* Dark text for form */
}

/* Dark Mode Toggle Support (Future Proofing) */
@media (prefers-color-scheme: dark) {
    .form-container {
        background: rgba(30, 41, 59, 0.95);
        color: #f8fafc;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
    color: var(--color-primary);
}

.file-upload-wrapper input[type="file"] {
    width: 100%;
    padding: 2rem;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    background: #f8fafc;
    cursor: pointer;
    transition: all 0.3s;
    color: #64748b;
}

.file-upload-wrapper input[type="file"]:hover {
    border-color: var(--color-primary);
    background: #f1f5f9;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

    .form-container {
        padding: 1.5rem;
    }
}

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

.form-group label,
.file-upload-wrapper label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #475569;
}

/* Ensure inputs are visible on white background */
.custom-order-form input:not([type="file"]),
.custom-order-form select,
.custom-order-form textarea {
    background: #fff;
    border: 1px solid #cbd5e1;
    color: #1e293b;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.custom-order-form input:focus,
.custom-order-form select:focus,
.custom-order-form textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
    background: #fff;
}

/* -------------------------------------------------------------------------- */
/*	Pricing Page Styles
/* -------------------------------------------------------------------------- */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: start;
    margin-top: 2rem;
}

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

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

.pricing-card {
    position: relative;
    padding: 3rem 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
    background: rgba(15, 23, 42, 0.4);
    border-radius: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

.pricing-card.featured {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(59, 130, 246, 0.3);
    transform: scale(1.05);
    z-index: 10;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.15);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.25);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-main);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

.pricing-header {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-text-main);
}

.pricing-price {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.pricing-price .period {
    font-size: 1rem;
    color: var(--color-text-muted);
    font-weight: 400;
}

.pricing-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    text-align: left;
    flex-grow: 1;
}

.pricing-features li {
    margin-bottom: 1rem;
    color: var(--color-text-main);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.pricing-features li.disabled {
    color: rgba(255, 255, 255, 0.2);
    text-decoration: line-through;
}

.check {
    color: var(--color-accent);
    font-weight: bold;
}

.cross {
    color: rgba(255, 255, 255, 0.2);
}

.btn-outline.full-width,
.btn-primary.full-width {
    width: 100%;
    margin-top: auto;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: white;
    color: var(--color-bg);
    transform: translateY(-2px);
}

/* FAQ Styles */
.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
}

.faq-item.active {
    background: rgba(30, 41, 59, 0.4);
    border-color: var(--color-primary);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.1);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: transparent;
    border: none;
    color: white;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
}

.faq-question:hover {
    color: var(--color-accent);
}

.faq-question .icon {
    font-size: 1.5rem;
    color: var(--color-primary);
    transition: transform 0.3s ease;
    font-weight: 300;
}

.faq-item.active .faq-question .icon {
    transform: rotate(45deg);
    /* Optional rotation if using + */
    /* Or just toggle text content as per JS */
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0, 1, 0, 1);
    padding: 0 1.5rem;
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    /* Approximate max height */
    padding-bottom: 1.5rem;
    opacity: 1;
}

.faq-answer p {
    color: var(--color-text-muted);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}
/* -------------------------------------------------------------------------- */
/*	NEW SERVICES PAGE STYLES
/* -------------------------------------------------------------------------- */

/* Service Sections */
.service-section {
    padding: 100px 0;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.service-section:last-child {
    border-bottom: none;
}

.service-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.service-intro p {
    font-size: 1.2rem;
    color: var(--color-text-muted);
}

/* Two Column Layout for Services */
.service-layout-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 992px) {
    .service-layout-2col {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .service-text h2 {
        font-size: 2rem;
    }
}

.service-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.service-text p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

/* Feature Lists */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    display: grid;
    gap: 1rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    color: var(--color-text-main);
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.feature-list li:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateX(5px);
}

.feature-icon {
    color: var(--color-accent);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    flex-shrink: 0;
    height: 30px;
    background: rgba(34, 211, 238, 0.1);
    border-radius: 50%;
}

/* Patch Types Grid */
.patch-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.patch-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.patch-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
}

.patch-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-text-main);
}

.patch-card p {
    font-size: 1rem;
    color: var(--color-text-muted);
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.patch-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    color: var(--color-accent);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: auto;
    align-self: flex-start;
}

/* Backing Options */
.backing-options {
    background: var(--color-surface-2);
    border-radius: 20px;
    padding: 3rem;
    margin: 4rem 0;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.backing-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.backing-tag {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    color: white;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.backing-tag:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

/* Tech Specs Box */
.tech-specs {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.9));
    border: 1px solid var(--color-primary);
    border-radius: 24px;
    padding: 3rem;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.tech-specs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-main);
}

.tech-specs h3 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

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

.spec-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.spec-dot {
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    margin-top: 10px;
    box-shadow: 0 0 10px var(--color-accent);
    flex-shrink: 0;
}

.spec-text {
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 768px) { .menu-toggle { display: flex; } .main-navigation { display: none; } }

/* -------------------------------------------------------------------------- */
/*	Pricing Page Redesign Styles
/* -------------------------------------------------------------------------- */

.pricing-section-header {
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    font-size: 1.8rem;
    color: white;
}

.pricing-section-header::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gradient-main);
    margin: 1rem auto;
    border-radius: 2px;
}

.pricing-split-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.pricing-col-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.pricing-tier-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
    height: 100%;
}

.pricing-tier-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.pricing-tier-card.featured {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.7), rgba(15, 23, 42, 0.9));
    border: 1px solid var(--color-primary);
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.price-row:last-child {
    border-bottom: none;
}

.price-qty {
    font-weight: 600;
    color: var(--color-text-main);
}

.price-val {
    font-weight: 700;
    color: var(--color-accent);
}

.promo-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-main);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.1), transparent);
    margin: 4rem 0;
}


/* -------------------------------------------------------------------------- */
/*	Custom Order Page Redesign
/* -------------------------------------------------------------------------- */

.custom-order-split-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 992px) {
    .custom-order-split-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .order-sidebar {
        order: -1;
    }
}

/* Sidebar Styles */
.order-sidebar {
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.benefit-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefit-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.icon-box {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.benefit-list h4 {
    margin: 0 0 0.2rem;
    font-size: 1.1rem;
    color: white;
}

.benefit-list p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.sidebar-footer {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-badge {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--color-accent);
    font-weight: 600;
}

.avatars {
    display: flex;
}

.avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #ccc;
    border: 2px solid var(--color-bg);
    margin-left: -10px;
}
.avatar:nth-child(1) { background: #3b82f6; }
.avatar:nth-child(2) { background: #8b5cf6; }
.avatar:nth-child(3) { background: #ec4899; }

.plus {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--color-surface);
    border: 2px solid var(--color-bg);
    margin-left: -10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: white;
}

/* Form Styles */
.order-form-container {
    padding: 3rem;
}

.form-heading {
    margin-bottom: 2rem;
    font-size: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.modern-form .form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-text-main);
}

.file-drop-zone {
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
    display: block;
}

.file-drop-zone:hover {
    border-color: var(--color-primary);
    background: rgba(59, 130, 246, 0.05);
}

.drop-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.drop-text {
    font-weight: 600;
    display: block;
    margin-bottom: 0.2rem;
}

.drop-subtext {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.file-input-hidden {
    display: none;
}

.file-name-tag {
    display: none;
    margin-top: 1rem;
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    text-align: center;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.modern-input, .modern-select, .modern-textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-family: inherit;
    transition: all 0.3s ease;
}

.modern-input:focus, .modern-select:focus, .modern-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.modern-select option {
    background: var(--color-dark);
    color: white;
}

.glow-btn {
    padding: 1.2rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.glow-btn:hover .btn-arrow {
    transform: translateX(5px);
}


/* Fix for Custom Order Page Overlap */
@media screen and (max-width: 991px) {
    .custom-order-section {
        margin-top: 2rem !important;
    }
}


/* Revised Mobile Layout Fix */
@media screen and (max-width: 991px) {
    .custom-order-section {
        margin-top: 4rem !important; /* Increase spacing */
    }
    .order-sidebar {
        order: 2 !important; /* Move sidebar BELOW form on mobile */
        margin-top: 3rem;
    }
    .page-hero {
        padding-bottom: 4rem !important; /* Ensure header has space */
    }
}


/* Failsafe for Custom Order Form Styling */
.order-form-container {
    position: relative !important;
    background: rgba(15, 23, 42, 0.6) !important; /* Ensure background is dark */
    backdrop-filter: blur(20px) !important;
    z-index: 5;
}

.modern-form {
    display: block !important;
    position: relative !important;
}

.form-group, .form-row-2 {
    position: relative !important;
    z-index: 10;
}


/* Force Labels Above Inputs */
.modern-form .form-label {
    position: relative !important;
    display: block !important;
    margin-bottom: 0.5rem !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    background: transparent !important;
    padding: 0 !important;
    pointer-events: auto !important;
}

/* Ensure Inputs Have Space */
.modern-input, .modern-select, .modern-textarea {
    margin-top: 0 !important;
    padding-top: 1rem !important; /* Standard padding */
}


/* Fix for Select Dropdown Colors */
.modern-select option {
    background-color: #0f172a !important; /* Dark blue/black */
    color: #ffffff !important;
}

@-moz-document url-prefix() {
  .modern-select {
     color: white !important;
     background-color: rgba(255, 255, 255, 0.05) !important;
  }
}

