
:root {
    --bg-dark: #05070a;      /* Main background */
    --bg-card: #0d1117;      /* Card background */
    --accent: #3b82f6;       /* Electric Blue */
    --accent-glow: rgba(59, 130, 246, 0.4);
    
    --text-main: #ffffff;    
    --text-dim: #9ca3af;     
    --border: #1f2937;       

    /* Icon Colors - MUST MATCH THESE EXACT NAMES */
    --clr-purple: #818cf8;
    --clr-orange: #fb923c;
    --clr-green: #4ade80;
    --clr-yellow: #facc15;
    --clr-blue: #3b82f6; 
    --clr-red: #ef4444; /* Standard Red for Security */

    --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
/* Force all Headings to be Pure White */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-main);
    font-weight: 700;
}

/* Force all Paragraphs and Descriptions to be Light Gray (Highly Readable) */
p {
    color: var(--text-dim);
}

/* Ensure list items (like your Footer links and Process steps) are visible */
li {
    color: var(--text-dim);
}

/* Navbar */
.navbar {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(5, 7, 10, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #1f2937;
    padding: 12px 0;
}

.navbar .container { display: flex; justify-content: space-between; align-items: center; }

.logo { font-family: 'Syne', sans-serif; font-size: 24px; font-weight: 800; color: white; text-decoration: none; }
.logo span { color: var(--accent); }

.nav-links { display: flex; list-style: none; gap: 32px; }
.nav-links a { text-decoration: none; color: var(--text-dim); font-weight: 500; transition: var(--transition); }
.nav-links a:hover { color: var(--accent); }

/* Hero Section */
/* FIXED CSS RULE (in style.css) */

.hero {
    min-height: 100vh; /* Full viewport height (only for Home) */
    display: flex;
    align-items: center; /* Vertically centers the text content */
    
    /* ── The Full-Width Image Fix ────────────────────────── */
    /* Replace the URL below with your actual image path */
    background-image: 
        linear-gradient(rgba(5, 7, 10, 0.6), rgba(5, 7, 10, 0.9)), /* Dark overlays for readability */
        url('assets/images/hero-laptop.jpg'); /* The background image */
        
    background-size: cover; /* STRETCHES the image horizontally to take up whole screen */
    background-position: center top; /* Centers the focus area */
    background-repeat: no-repeat; /* Prevents tiling */
    background-attachment: scroll; /* Image scrolls with the section (fulfills desire to stay in scope) */
    
    /* Ensuring other sections are clean */
    overflow: hidden; 
}

.hero-text-content {
    /* DELETE any position: absolute; rules from your old CSS */
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    z-index: 10; /* Ensures text is always on top */
}

/* Ensure subsequent sections are clean and structured */
section {
    padding: 80px 0;
    position: relative;
    z-index: 5;
    backdrop-filter: blur(5px);
    background-color: var(--bg-main); /* Ensure other sections have solid color backgrounds */
}

.badge {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid var(--accent);
    margin-bottom: 24px;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 { font-family: 'Syne', sans-serif; font-size: 64px; margin-bottom: 24px; line-height: 1.1; }
.hero h1 span { color: var(--accent); }
.hero p { max-width: 600px; margin: 0 auto 40px; color: var(--text-dim); font-size: 18px; }

.btn { padding: 14px 32px; border-radius: 8px; text-decoration: none; font-weight: 600; transition: var(--transition); display: inline-block; }
.btn.primary { background: var(--accent); color: white; box-shadow: 0 10px 20px var(--accent-glow); }
.btn.secondary { border: 1px solid #374151; color: white; margin-left: 15px; }
.btn:hover { transform: translateY(-3px); opacity: 0.9; }

/* Features Section */
/* Complete Services UI Update (in style.css) */
.services-section { padding: 100px 0; background-color: var(--bg-dark); }

/* This centers your h2, p, and badge */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers the badge specifically */
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 18px;
    color: var(--text-dim);
}

.section-header h2 {
    font-size: 42px;
    margin-bottom: 16px;
}



/* The Advanced Grid (2x3 with 1 empty space) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px; /* strict 8px multiple spacing */
}

/* Base Card UI (Ref Image 9: glass-card, h-full, relative) */
.service-card {
    background: var(--bg-card);
    padding: 40px; /* p-8 padding from ref */
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: var(--transition-smooth);
    position: relative;
    height: 100%;
}

/* Hover Effects (Ref Image 9: hover-glow, transition-all duration-500, scale-105) */
.service-card:hover {
    border-color: var(--clr-blue); /* Subtle blue hover border */
    transform: translateY(-8px) scale(1.03); /* combination of lift and scale */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 15px var(--accent-glow); /* Hover-glow */
}

/* Icon Box Styling with Multi-Colors */
.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
    border: 1px solid transparent;
}

/* Force the FontAwesome icon to use the box's color */
.icon-box i {
    color: inherit; 
}

/* Updated color rules */
.icon-purple { color: var(--clr-purple); background: rgba(129, 140, 248, 0.1); border-color: rgba(129, 140, 248, 0.2); }
.icon-orange { color: var(--clr-orange); background: rgba(251, 146, 60, 0.1); border-color: rgba(251, 146, 60, 0.2); }
.icon-green  { color: var(--clr-green); background: rgba(74, 222, 128, 0.1); border-color: rgba(74, 222, 128, 0.2); }
.icon-yellow { color: var(--clr-yellow); background: rgba(250, 204, 21, 0.1); border-color: rgba(250, 204, 21, 0.2); }
.icon-blue   { color: var(--clr-blue); background: rgba(59, 130, 246, 0.1); border-color: rgba(59, 130, 246, 0.2); }
/* PLACE TO ADD: Near your other icon-box color classes */
.icon-red { 
    color: var(--clr-red); 
    background: rgba(239, 68, 68, 0.1); 
    border-color: rgba(239, 68, 68, 0.2); 
}


/* Card Content Typography */
.service-card h3 { font-family: 'Syne'; font-size: 22px; margin-bottom: 12px; }
.service-card p { color: var(--text-dim); font-size: 15px; margin-bottom: 20px; }

/* Feature Bullet List */
.feature-list {
    list-style: none; margin-bottom: 32px;
    font-size: 14px; color: var(--text-dim);
}
.feature-list li {
    margin-bottom: 8px; position: relative; padding-left: 20px;
}
.feature-list li::before {
    content: "•"; color: var(--accent); position: absolute; left: 0;
}

/* Learn More Link (Blue Accent) */
.learn-more {
    text-decoration: none; color: var(--accent);
    font-size: 14px; font-weight: 600;
    transition: var(--transition-smooth);
}
.learn-more i { margin-left: 5px; transition: var(--transition-smooth); }
.learn-more:hover i { transform: translateX(5px); }


/* About Section */
.about { padding: 100px 0; background: #080b11; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-img img { width: 100%; border-radius: 20px; border: 1px solid #1f2937; }
.stats { display: flex; gap: 40px; margin-top: 32px; }
.stat-item h3 { font-size: 32px; color: var(--accent); }

/* ── Fixing Section Visibility ─────────────────────── */
 section , footer {
    /* Rule #1: Every section MUST have a definitive background color */
    background-color: var(--bg-dark);
    padding: 80px 0; /* Professional breathing room */
    position: relative; /* Essential for z-index stack */
    z-index: 5;
    /* Optional: Subtle Glassmorphism Blur */
    backdrop-filter: blur(5px);
}

/* ── Main Footer Specifics (Matching FuturaSpark) ────── */
.main-footer {
    border-top: 1px solid var(--border);
    padding: 100px 0 20px; /* More top padding for final section */
}

.footer-content {
    /* Use 3 columns, with the Brand column being wider */
    display: grid;
    grid-template-columns: 2fr 1fr 1fr; 
    gap: 60px;
    margin-bottom: 60px;
}

/* Footer Brand and Socials */
.footer-brand p {
    color: var(--text-secondary);
    max-width: 380px;
    margin: 24px 0;
}

.footer-socials { display: flex; gap: 16px; }

.footer-socials a {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-socials a:hover {
    color: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 10px var(--accent-glow);
}

/* Footer Link Columns */
.footer-links h4 {
    font-size: 18px; font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.footer-links ul { list-style: none; }

.footer-links li { margin-bottom: 12px; }

.footer-links a {
    text-decoration: none;
    color: var(--text-dim);
    transition: var(--transition);
}

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

/* Footer Bottom Bar */
.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 32px;
    border-top: 1px solid #111827; /* Very Subtle border */
    color: #4b5563; /* Even more dim gray */
    font-size: 14px;
}

.footer-legal { display: flex; gap: 24px; }
.footer-legal a { text-decoration: none; color: inherit; }
.footer-legal a:hover { color: var(--accent); }

/* ── Mobile Responsiveness ──────────────────────────── */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 40px;
        text-align: center;
    }
    .footer-brand p { margin: 24px auto; }
    .footer-socials { justify-content: center; }
    .footer-bottom { flex-direction: column; gap: 16px; }
}
/* Contact Section Styles */
.contact-section { padding: 100px 0; background-color: var(--bg-dark); }

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 48px;
    margin-top: 60px;
}

.contact-form-card {
    background: var(--bg-card);
    padding: 32px;
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-group { margin-bottom: 24px; }

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-main);
    font-size: 14px;
    font-weight: 600;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    background: #111827;
    border: 1px solid #374151;
    padding: 12px 16px;
    border-radius: 8px;
    color: white;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus { border-color: var(--accent); box-shadow: 0 0 8px var(--accent-glow); }

.btn-submit {
    width: 100%;
    background: linear-gradient(90deg, #6366f1, var(--accent));
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

/* Sidebar Info Cards */
.info-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #0d1117;
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 16px;
    border: 1px solid #1f2937;
}

.icon-box {
    width: 48px;
    height: 48px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 20px;
}

/* Process List */
.process-box { margin-top: 40px; }
.process-list { list-style: none; margin-top: 24px; }
.process-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 24px;
    position: relative;
}

.process-list li span {
    background: var(--accent);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
}

/* Responsive Rules */
@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
}

/* Responsive */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { gap: 40px; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 40px; }
    .services-grid { grid-template-columns: 1fr; }
    .btn.secondary { margin-left: 0; margin-top: 10px; width: 100%; }
    .btn.primary { width: 100%; }
}