/*
 * OnSpotFix.in - Final Production Dark Theme - Version 7.0 (Advanced UI/UX)
 */

/* 1. Core Variables & Global Styles */
:root {
    --color-primary-dark: #0a192f;
    --color-primary-light: #172a45;
    --color-accent-brand: #ff9800; /* Bright Orange */
    --color-accent-glow: #ffa726;
    --color-text-primary: #ccd6f6;
    --color-text-secondary: #8892b0;
    --color-border: rgba(136, 146, 176, 0.2);
    --font-primary: 'Poppins', sans-serif;
    --font-mono: 'Roboto Mono', monospace;
    --spacing-sm: 1rem; --spacing-md: 1.5rem; --spacing-lg: 2.5rem; --spacing-xl: 6rem;
    --header-height: 80px;
    --border-radius: 8px;
    --transition-smooth: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
    --shadow-standard: 0 10px 30px -15px rgba(2, 12, 27, 0.7);
    /* ADVANCED: Cursor position variables for interactive effects */
    --mouse-x: 50%;
    --mouse-y: 50%;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* 1.1: Animated Gradient Background & Interactive Cursor Aura */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: var(--font-primary);
    background-color: var(--color-primary-dark);
    background: linear-gradient(330deg, #020c1b, #0a192f, #172a46);
    background-size: 400% 400%;
    animation: gradientBG 25s ease infinite;
    color: var(--color-text-secondary);
    position: relative;
    overflow-x: hidden;
}
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y), rgba(255, 152, 0, 0.06), transparent 80%);
    z-index: -1;
    pointer-events: none;
    transition: background 0.2s linear;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

main { flex: 1; }
h1, h2, h3, h4, h5, h6 { color: var(--color-text-primary); margin: 0 0 1rem 0; }
a { color: var(--color-accent-brand); text-decoration: none; transition: var(--transition-smooth); }
a:hover { color: var(--color-accent-glow); }

/* 2. Header (Enhanced Glassmorphism) */
.header-premium {
    background-color: rgba(10, 25, 47, 0.8);
    backdrop-filter: blur(10px);
    height: var(--header-height);
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition-smooth);
}
.header-scrolled { height: 70px; box-shadow: var(--shadow-standard); }
.logo-img { height: 40px; }
.nav-link { color: var(--color-text-primary) !important; font-weight: 500; position: relative; padding: 0.5rem 0 !important; margin: 0 var(--spacing-sm); }
.nav-link::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 100%; height: 2px; background: linear-gradient(90deg, var(--color-accent-brand), var(--color-accent-glow)); transform: scaleX(0); transform-origin: right; transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1); }
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }

/* 3. Buttons (Advanced Hover Effects) */
.btn { font-family: var(--font-mono); border-radius: var(--border-radius); padding: 0.75rem 1.5rem; transition: var(--transition-smooth); border: 2px solid transparent; font-weight: 600; }
.btn-brand {
    background: linear-gradient(90deg, var(--color-accent-brand), var(--color-accent-glow));
    color: var(--color-primary-dark);
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.2);
}
.btn-brand:hover {
    color: var(--color-primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 7px 25px rgba(255, 152, 0, 0.4);
}
.btn-outline-brand { color: var(--color-accent-brand); border-color: var(--color-accent-brand); }
.btn-outline-brand:hover { background-color: rgba(255, 152, 0, 0.1); border-color: var(--color-accent-glow); }

/* 4. Content Sections */
.content-section { padding: var(--spacing-xl) 0; position: relative; z-index: 1; }
.content-section.bg-light { background-color: var(--color-primary-dark); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.section-heading { font-size: clamp(1.8rem, 5vw, 2.5rem); margin-bottom: var(--spacing-lg); text-align: center; }

/* 4.1: Hero Section with Aurora Background */
.hero-section {
    min-height: 90vh; display: flex; align-items: center; position: relative; overflow: hidden;
}
.hero-section::before, .hero-section::after { /* Aurora effect */
    content: ''; position: absolute; z-index: -1;
    width: 60vw; height: 60vh; border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
}
.hero-section::before { background: linear-gradient(135deg, var(--color-accent-brand), #ff5722); top: -20%; left: -20%; animation: aurora-one 20s infinite alternate; }
.hero-section::after { background: linear-gradient(135deg, #2196f3, #9c27b0); bottom: -20%; right: -20%; animation: aurora-two 20s infinite alternate-reverse; }

@keyframes aurora-one { from { transform: translateX(0) translateY(0) rotate(0deg); } to { transform: translateX(100px) translateY(50px) rotate(180deg); } }
@keyframes aurora-two { from { transform: translateX(0) translateY(0) scale(1); } to { transform: translateX(-100px) translateY(-50px) scale(1.2); } }

.hero-intro { color: var(--color-accent-brand); font-family: var(--font-mono); }
.hero-title { font-size: clamp(2.5rem, 8vw, 5rem); color: var(--color-text-primary); }
.hero-subtitle { font-size: clamp(2.5rem, 8vw, 4rem); color: var(--color-text-secondary); }

/* 5. Service Cards (Enhanced Hover) */
.service-card {
    background: var(--color-primary-light);
    border: 1px solid var(--color-border);
    transition: var(--transition-smooth);
    border-radius: var(--border-radius);
    display: flex; flex-direction: column; height: 100%;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: var(--mouse-y-card); left: var(--mouse-x-card);
    width: 250px; height: 250px;
    background: radial-gradient(circle, rgba(255, 152, 0, 0.1), transparent 80%);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease-out;
    pointer-events: none;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-standard);
    border-color: var(--color-accent-brand);
}
.service-card:hover::before { opacity: 1; }
.card-image-wrapper img { width: 100%; height: 200px; object-fit: cover; border-top-left-radius: var(--border-radius); border-top-right-radius: var(--border-radius); }
.service-card-body { padding: var(--spacing-md); display: flex; flex-direction: column; flex-grow: 1; z-index: 1; }
.service-card-title { font-size: 1.2rem; font-weight: 700; color: var(--color-text-primary); }
.service-card-footer { margin-top: auto; }

/* All other styles (Footer, Accordion, FAB, Animations) remain the same from Version 6.0 */
.footer-section, .testimonial-card, .accordion-item, .floating-action-container, .animate-on-scroll { /* ... styles from previous version ... */ }