/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    /* Brand Colors */
    --primary-blue: #2563EB;     /* Royal Blue */
    --primary-purple: #7C3AED;   /* Vivid Purple */
    --accent-cyan: #06B6D4;      /* Bright Cyan */
    --dark-bg: #0F172A;          /* Slate 900 */
    --dark-navy: #020617;        /* Almost Black */
    
    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

html, body {
    font-family: var(--font-body);
    background-color: #f8fafc; /* Very light slate */
    color: var(--dark-bg);
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: var(--font-heading);
}

/* =========================================
   2. NAVBAR (Glassmorphism)
   ========================================= */
.glass-nav {
    background: rgba(15, 23, 42, 0.85); /* Dark semi-transparent */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.brand-text {
    background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.nav-link {
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-cyan) !important;
}

/* =========================================
   3. HERO SECTION (Modern Tech)
   ========================================= */
.hero-wrapper {
    position: relative;
    background-color: var(--dark-bg);
    overflow: hidden;
    padding-top: 120px; /* Account for fixed nav */
    padding-bottom: 80px;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

/* The Mesh Gradient Background */
.hero-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(124, 58, 237, 0.15) 0%, transparent 40%);
    z-index: 1;
    animation: pulseGradient 15s ease-in-out infinite alternate;
}

@keyframes pulseGradient {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

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

/* =========================================
   4. CARDS (Glassmorphism & Hover)
   ========================================= */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.glass-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--primary-blue);
}

.icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 1.5rem auto;
    transition: all 0.3s ease;
}

.glass-card:hover .icon-wrapper {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

/* =========================================
   5. BUTTONS (Glow Effect)
   ========================================= */
.btn-tech {
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
    border: none;
    color: white;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.btn-tech:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.5);
    color: white;
}

/* =========================================
   6. FOOTER
   ========================================= */
.bg-dark-navy {
    background-color: var(--dark-navy);
}

/* Contact Page Specifics */
.contact-header {
    background: var(--dark-bg);
    padding: 100px 0 60px 0;
    color: white;
    margin-bottom: -50px; /* Overlap effect */
}
