/* style.css - Premium Techie Theme for Code Impact IT Solutions */
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500;700&family=Inter:wght@300;400;600;800&display=swap');

:root {
    --primary: #060814;       /* Deep Deep Space */
    --surface: #0e1326;       /* Matrix Blue-Grey Card */
    --surface-light: #161d36; /* Elevated Card */
    --accent: #00f2fe;        /* Hyper Cyan */
    --accent-purple: #9d4edd; /* Cyber Purple */
    --text-main: #f1f5f9;     /* Slate 100 */
    --text-muted: #64748b;    /* Slate 500 */
    --border: #1e2942;        /* Grid Lines */
    --border-glow: rgba(0, 242, 254, 0.2);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--primary);
    background-image: 
        linear-gradient(rgba(30, 41, 66, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 41, 66, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    line-height: 1.7;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

code, .tech-font {
    font-family: 'Fira Code', monospace;
}

/* --- Dynamic CSS Graphics & Animations --- */
@keyframes pulseGlow {
    0% { transform: scale(0.98); opacity: 0.4; }
    50% { transform: scale(1.02); opacity: 0.8; }
    100% { transform: scale(0.98); opacity: 0.4; }
}

@keyframes gridScan {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

.cyber-orb {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.15) 0%, transparent 70%);
    top: 10%;
    right: 5%;
    z-index: -1;
    animation: pulseGlow 8s infinite ease-in-out;
}

.tech-node-graphic {
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--accent), var(--accent-purple), transparent);
    border-radius: 3px;
    margin: 15px 0;
    position: relative;
}

.tech-node-graphic::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: #fff;
    box-shadow: 0 0 10px var(--accent);
    border-radius: 50%;
    top: -2px;
    left: 20%;
}

/* Header & Navigation */
header {
    background-color: rgba(6, 8, 20, 0.85);
    backdrop-filter: blur(16px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--accent);
    animation: pulseGlow 2s infinite;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 25px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent);
    text-shadow: 0 0 8px rgba(0, 242, 254, 0.5);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 140px 20px 100px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(6, 8, 20, 0.8) 100%);
    z-index: 1;
}

.hero-inner {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.3);
    color: var(--accent);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 54px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 25px;
    letter-spacing: -1.5px;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 18px;
    color: #94a3b8;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent) 0%, #00b8d4 100%);
    color: var(--primary);
    padding: 14px 35px;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    box-shadow: 0 4px 20px rgba(0, 242, 254, 0.25);
}

.btn:hover {
    background: transparent;
    color: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 25px rgba(0, 242, 254, 0.4);
    transform: translateY(-2px);
}

/* Base Containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px;
    flex: 1;
}

.section-title-block {
    text-align: center;
    margin-bottom: 60px;
}

.section-title-block span {
    font-family: 'Fira Code', monospace;
    color: var(--accent);
    font-size: 14px;
    display: block;
    margin-bottom: 10px;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -1px;
}

/* Interactive Tech Grid Layout */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--surface);
    padding: 45px;
    border-radius: 6px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--accent);
    box-shadow: 0 10px 40px rgba(0, 242, 254, 0.06);
    transform: translateY(-5px);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-card p {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 20px;
}

.tech-spec-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
}

.tech-spec-list li {
    font-family: 'Fira Code', monospace;
    font-size: 11px;
    background: rgba(255,255,255,0.03);
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid var(--border);
    color: var(--accent);
}

/* About Grid Layout */
.about-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-graphic-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 30px;
    position: relative;
}

/* Compliance Text Sheets */
.policy-box {
    background-color: var(--surface);
    border: 1px solid var(--border);
    padding: 55px;
    border-radius: 6px;
    max-width: 900px;
    margin: 0 auto;
}

.policy-box h2 {
    font-size: 20px;
    margin-top: 35px;
    margin-bottom: 15px;
    color: var(--text-main);
}

.policy-box p {
    color: #94a3b8;
    font-size: 15px;
    margin-bottom: 20px;
}

/* Contact Grid Layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-card-info {
    background: var(--surface);
    padding: 45px;
    border-radius: 6px;
    border: 1px solid var(--border);
}

.contact-item-row {
    margin-bottom: 30px;
}

.contact-item-row label {
    display: block;
    font-family: 'Fira Code', monospace;
    color: var(--accent);
    font-size: 12px;
    margin-bottom: 5px;
}

.contact-item-row p {
    font-size: 18px;
    font-weight: 600;
}

.contact-form-box {
    background: var(--surface-light);
    padding: 45px;
    border-radius: 6px;
    border: 1px solid var(--border);
}

.form-field {
    margin-bottom: 25px;
}

.form-field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #94a3b8;
    text-transform: uppercase;
}

.form-field input, .form-field textarea {
    width: 100%;
    padding: 14px;
    background-color: var(--primary);
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 14px;
    color: var(--text-main);
    transition: all 0.3s ease;
}

.form-field input:focus, .form-field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.15);
}

#form-status {
    margin-top: 20px;
    padding: 12px;
    border-radius: 4px;
    font-size: 13px;
    display: none;
}
#form-status.success { display: block; background: rgba(16, 185, 129, 0.1); color: #10b981; border: 1px solid #10b981; }
#form-status.error { display: block; background: rgba(239, 68, 68, 0.1); color: #ef4444; border: 1px solid #ef4444; }

/* Footer Design (Compliance elements mapped cleanly inside here) */
footer {
    background-color: #03050c;
    border-top: 1px solid var(--border);
    padding: 80px 20px 40px 20px;
}

.footer-inner-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    border-bottom: 1px solid var(--border);
    padding-bottom: 50px;
}

.footer-brand h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-brand p {
    color: #64748b;
    font-size: 14px;
    max-width: 320px;
}

.footer-column h4 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: var(--text-main);
}

.footer-column a {
    color: #64748b;
    font-size: 14px;
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: var(--accent);
}

.footer-bottom-bar {
    max-width: 1200px;
    margin: 30px auto 0 auto;
    text-align: center;
    font-size: 12px;
    color: #475569;
}

/* Media Controls */
@media (max-width: 968px) {
    .services-grid, .about-block, .contact-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 38px; }
    .footer-inner-grid { grid-template-columns: 1fr; gap: 30px; }
}