@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
    --font-main: 'Outfit', sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
    --primary: #00d2ff; /* Neon Blue */
    --primary-alt: #0084ff;
    --accent: #00f2ff; /* Vibrant Cyan Neon */
    --bg-dark: #0a0a0a; /* Deep Charcoal */
    --bg-surface: #121212; /* Slightly lighter surface */
    --text-white: #e5e5e5; /* Soft light grey from logo */
    --text-muted: #808080; /* Medium grey from logo */
    --glass-bg: rgba(18, 18, 18, 0.7);
    --glass-border: rgba(0, 210, 255, 0.1);
    --nav-height: 80px;
    --container-width: 1200px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-neon: 0 0 15px rgba(0, 210, 255, 0.4);
    --shadow-neon-strong: 0 0 25px rgba(0, 210, 255, 0.6);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 2px 2px, rgba(255,255,255,0.05) 1px, transparent 0);
    background-size: 40px 40px;
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Base Aesthetics */
h1, h2, h3 {
    font-family: var(--font-heading);
    line-height: 1.1;
    font-weight: 800;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

ul {
    list-style: none;
}

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

/* Glassmorphism */
.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    transition: 0.4s ease;
}

.btn-primary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-neon);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    transform: translateY(-4px);
    background: var(--primary);
    color: var(--bg-dark);
    box-shadow: var(--shadow-neon-strong);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    z-index: 1000;
    transition: 0.3s;
}

header.scrolled {
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    display: flex;
    align-items: center;
}

@keyframes neonPulse {
    0%, 100% { filter: drop-shadow(0 0 5px rgba(0, 210, 255, 0.6)); }
    50% { filter: drop-shadow(0 0 12px rgba(0, 210, 255, 0.9)); }
}

.logo img {
    height: 60px;
    width: auto;
    max-width: 100%;
    animation: neonPulse 3s infinite ease-in-out;
}

.neon-border {
    position: relative;
    border: 1px solid var(--glass-border);
}

.neon-border::after {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(45deg, var(--primary), transparent, var(--accent));
    z-index: -1;
    border-radius: inherit;
    opacity: 0.3;
}

/* Sections */
section {
    padding: 100px 0;
}

/* Hero Section */
.hero {
    min-height: 100dvh; /* Dynamic viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    perspective: 1000px;
}

.hero-layers {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.layer {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.1;
}

.layer-1 {
    width: 600px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    top: 30%;
    left: -10%;
    transform: rotate(-45deg);
    filter: blur(2px);
    opacity: 0.2;
}

.layer-2 {
    width: 800px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    bottom: 20%;
    right: -20%;
    transform: rotate(-45deg);
    filter: blur(1px);
    opacity: 0.15;
}

.layer-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(60px);
    opacity: 0.1;
}

.hero-content {
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    height: 80vh;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.neon-text {
    color: var(--primary);
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.8), 0 0 20px rgba(0, 210, 255, 0.4);
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 210, 255, 0.1);
    border: 1px solid var(--primary);
    border-radius: 20px;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.2);
}

.hero h1 {
    font-size: clamp(3rem, 10vw, 5.5rem);
    margin-bottom: 32px;
    color: var(--text-white);
    letter-spacing: -2px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.btn-secondary {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--glass-border);
}

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

/* Services Grid */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

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

.service-card {
    padding: 40px;
    border-radius: var(--radius-lg);
    transition: 0.4s;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 210, 255, 0.15);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 24px;
    display: block;
    text-shadow: 0 0 15px rgba(0, 210, 255, 0.6);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--text-white);
}


.parallax-bg {
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}

.parallax-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.9); /* Darker overlay for better text contrast */
    z-index: 1;
}

.parallax-bg .container {
    position: relative;
    z-index: 2;
}

#about.parallax-bg {
    background-image: url('../img/hero.png');
}

#leads.parallax-bg {
    background-image: url('../img/hero.png');
    background-position: bottom;
}

.lead-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Animations Logic */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- REFINED CONTACT FORM (PREMIUM & SPACIOUS) --- */
.contact-form {
    margin-top: 60px;
    text-align: left; /* Ensure left alignment */
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 60px !important; /* Force more padding */
    background: rgba(15, 23, 42, 0.4) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 210, 255, 0.2) !important;
    border-radius: 30px !important;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 210, 255, 0.1);
    position: relative;
}

.contact-form .form-group {
    margin-bottom: 35px; /* More space between groups */
    position: relative;
    text-align: left;
}

.contact-form label {
    display: block;
    margin-bottom: 12px;
    color: var(--primary); /* Use primary color for labels */
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: var(--font-heading);
}

.input-icon-wrapper {
    position: relative;
    width: 100%;
}

.input-icon-wrapper i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 1.2rem;
    opacity: 0.5;
    pointer-events: none;
    transition: 0.3s;
}

.contact-form textarea + i {
    top: 25px; /* Adjust for textarea */
    transform: none;
}

.contact-form .form-control {
    width: 100% !important;
    padding: 18px 25px 18px 55px !important; /* Larger padding */
    background: rgba(0, 0, 0, 0.5) !important; /* Dark background */
    border: 2px solid rgba(255, 255, 255, 0.05) !important; /* Subtle border */
    border-radius: 12px !important;
    color: #ffffff !important;
    font-size: 1.1rem !important;
    font-family: var(--font-main);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: block;
}

.contact-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.2);
    font-weight: 300;
}

.contact-form .form-control:focus {
    outline: none !important;
    border-color: var(--primary) !important;
    background: rgba(0, 0, 0, 0.7) !important;
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.2) !important;
}

.contact-form .form-control:focus + i {
    opacity: 1;
    color: var(--accent);
    transform: translateY(-50%) scale(1.1);
}

.contact-form textarea.form-control {
    min-height: 180px !important;
    line-height: 1.5;
    resize: none;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px; /* Space between side-by-side fields */
}

/* Anti-Spam Honeypots */
.hp-container {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
    z-index: -100 !important;
    pointer-events: none !important;
}

.btn-form-submit {
    width: 100% !important;
    height: 70px !important;
    background: linear-gradient(90deg, var(--primary-alt), var(--primary)) !important;
    color: #ffffff !important;
    border-radius: 15px !important;
    font-weight: 800 !important;
    font-size: 1.2rem !important;
    border: none !important;
    margin-top: 10px;
    box-shadow: 0 15px 35px rgba(0, 210, 255, 0.3) !important;
}

.btn-form-submit:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 45px rgba(0, 210, 255, 0.5) !important;
}

@media (max-width: 768px) {
    .contact-form {
        padding: 30px !important;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 9999;
    padding: 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.6);
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    animation: slideUp 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cookie-text p {
    font-size: 0.9rem;
    color: var(--text-white);
    margin: 0;
    line-height: 1.5;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

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

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    .cookie-actions {
        width: 100%;
        justify-content: center;
    }
}
