/* ==========================================
   MA TECH: NEON-GLASS UI SYSTEM
========================================== */

:root {
    /* Base Colors - Dark Theme for maximum Neon contrast */
    --bg-dark: #0a0a0f;
    --text-main: #f0f0f5;
    --text-muted: #a0a0b0;
    
    /* Neon Accents */
    --neon-cyan: #00f3ff;
    --neon-purple: #bc13fe;
    
    /* Glassmorphism Variables */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: blur(16px);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
}

/* Base Body Styling */
body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Headings */
h1, h2, h3, .font-poppins {
    font-family: 'Poppins', sans-serif;
}

/* =======================
   GLASS CONTAINERS
======================== */
.glass-container, .glass-nav-wrapper, .glass-footer {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur); /* For Safari */
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

/* Glass Cards (For Services, Portfolio, Testimonials) */
.glass-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 243, 255, 0.3); /* Cyan border on hover */
}

/* =======================
   NEON EFFECTS
======================== */
.neon-heading {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(0, 243, 255, 0.3);
}

.neon-text {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
    font-weight: 600;
    text-decoration: none;
}

/* =======================
   GLASS BUTTONS
======================== */
.btn-glass-primary, .btn-glass-secondary, .btn-glass-sm {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-glass-primary {
    background: rgba(0, 243, 255, 0.1);
    color: var(--neon-cyan);
    border: 1px solid var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
}

.btn-glass-primary:hover {
    background: var(--neon-cyan);
    color: var(--bg-dark);
    box-shadow: 0 0 25px rgba(0, 243, 255, 0.6);
}

.btn-glass-secondary {
    background: var(--glass-bg);
    color: var(--text-main);
    border: 1px solid var(--glass-border);
}

.btn-glass-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-main);
}

/* =======================
   LAYOUT UTILITIES
======================== */
.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--neon-cyan);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 5%;
}

.text-center {
    text-align: center;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .neon-heading {
        font-size: 2.2rem;
    }
    
    .nav-links {
        display: none; /* We will use JS to toggle this later */
    }
}
/* =======================
   TESTIMONIAL SLIDER CSS
======================== */
.slider-wrapper {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 1rem 5%;
    
    /* Native CSS smooth scrolling */
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    
    /* Custom Scrollbar for Webkit */
    scrollbar-width: thin;
    scrollbar-color: var(--neon-cyan) rgba(255, 255, 255, 0.05);
}

.slider-wrapper::-webkit-scrollbar {
    height: 8px;
}

.slider-wrapper::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.slider-wrapper::-webkit-scrollbar-thumb {
    background: var(--neon-cyan);
    border-radius: 10px;
}

.testimonial-card {
    min-width: 320px;
    max-width: 400px;
    scroll-snap-align: center; /* Snaps the card perfectly into view */
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card .stars {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-card .message {
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testimonial-card .business-name {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}
/* =======================
   NEON-GLASS FORMS
======================== */
.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-main);
    font-size: 0.9rem;
}

.glass-input {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box; /* Ensures padding doesn't break width */
}

.glass-input:focus {
    outline: none;
    border-color: var(--neon-cyan);
    background: rgba(0, 243, 255, 0.05);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.2);
}

.glass-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* Fix dropdown option colors on dark themes */
select.glass-input option {
    background-color: var(--bg-dark);
    color: var(--text-main);
}
/* ==========================================
   ULTRA-PREMIUM UPGRADES
========================================== */

/* 1. Animated Ambient Background Glow */
body {
    position: relative;
    z-index: 1;
}

body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 243, 255, 0.03) 0%, rgba(188, 19, 254, 0.02) 25%, transparent 50%);
    z-index: -1;
    animation: ambientGlow 20s ease-in-out infinite alternate;
}

@keyframes ambientGlow {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.2) translate(5%, 5%); }
}

/* 2. Premium Card Hover Glow (Replacing the basic border change) */
.glass-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.glass-card::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.05), transparent);
    transform: skewX(-25deg);
    transition: 0.5s;
}

.glass-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 243, 255, 0.1), 
                inset 0 0 20px rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 243, 255, 0.5);
}

.glass-card:hover::after {
    left: 125%; /* Creates a sleek "shine" sweeping across the card */
}

/* 3. Prepare classes for Scroll Animations */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}