:root {
    --bg-color: #030305;
    --text-color: #ffffff;
    --primary: #00f2ff;
    --secondary: #7000ff;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-head: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; cursor: none; }
body { background-color: var(--bg-color); color: var(--text-color); font-family: var(--font-body); overflow-x: hidden; }

/* Custom Cursor */
.cursor-dot, .cursor-outline { position: fixed; top: 0; left: 0; transform: translate(-50%, -50%); border-radius: 50%; z-index: 9999; pointer-events: none; }
.cursor-dot { width: 8px; height: 8px; background-color: var(--primary); }
.cursor-outline { width: 40px; height: 40px; border: 1px solid var(--primary); transition: width 0.2s, height 0.2s, background-color 0.2s; }

#webgl-canvas { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; z-index: -1; opacity: 0.6; }

/* Typography & Layout */
h1, h2, h3 { font-family: var(--font-head); text-transform: uppercase; }
.gradient-text { background: linear-gradient(90deg, var(--primary), var(--secondary)); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.container { max-width: 1400px; margin: 0 auto; padding: 0 2rem; }
section { padding: 100px 0; position: relative; }

/* Nav */
nav { position: fixed; top: 0; width: 100%; padding: 1.5rem 2rem; display: flex; justify-content: space-between; align-items: center; z-index: 1000; background: rgba(3, 3, 5, 0.8); backdrop-filter: blur(10px); border-bottom: 1px solid var(--glass-border); }

/* --- New Logo Styles --- */
.logo-container {
    display: flex;
    align-items: center;
    gap: 12px; /* Space between image and text */
    cursor: pointer;
}

.logo-img {
    height: 50px; /* Adjust size to fit navbar */
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 900;
    font-family: var(--font-head);
    letter-spacing: 2px;
    display: flex; /* Ensures letters line up perfectly */
}

/* Specific Letter Colors */
.char-purple { color: #9d00ff; text-shadow: 0 0 10px rgba(157, 0, 255, 0.5); }
.char-grey { color: #C0C0C0; text-shadow: 0 0 5px rgba(255, 255, 255, 0.2); }
.char-white { color: #ffffff; text-shadow: 0 0 5px rgba(255, 255, 255, 0.5); }

/* Nav Links & CTA */
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { text-decoration: none; color: var(--text-color); font-weight: 500; font-size: 1.1rem; transition: 0.3s; }
.nav-links a:hover { color: var(--primary); }

.cta-btn { padding: 10px 25px; background: transparent; border: 1px solid var(--primary); color: var(--primary); font-family: var(--font-head); font-weight: 700; transition: 0.4s; text-decoration: none; display: inline-block; }
.cta-btn:hover { background: var(--primary); color: #000; box-shadow: 0 0 20px var(--primary); }

/* Hero */
.hero { height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; flex-direction: column; }
.hero h1 { font-size: 5rem; line-height: 1.1; margin-bottom: 1.5rem; opacity: 0; transform: translateY(50px); }
.hero p { font-size: 1.5rem; max-width: 800px; margin-bottom: 2.5rem; color: #ccc; opacity: 0; transform: translateY(50px); }
.hero-btns { opacity: 0; transform: translateY(50px); }
.scroll-indicator { position: absolute; bottom: 30px; animation: bounce 2s infinite; }
@keyframes bounce { 0%, 20%, 50%, 80%, 100% {transform: translateY(0);} 40% {transform: translateY(-10px);} 60% {transform: translateY(-5px);} }

/* Services */
.services-header { text-align: center; margin-bottom: 4rem; }
.services-header h2 { font-size: 3rem; margin-bottom: 1rem; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.service-card { background: var(--glass); border: 1px solid var(--glass-border); padding: 2.5rem; border-radius: 15px; transition: 0.4s; position: relative; overflow: hidden; backdrop-filter: blur(5px); }
.service-card:hover { transform: translateY(-10px); border-color: var(--primary); box-shadow: 0 10px 30px rgba(0, 242, 255, 0.1); }
.service-icon { font-size: 2.5rem; color: var(--primary); margin-bottom: 1.5rem; }

/* --- Process Section --- */
.process-step {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6rem; /* Spacing between steps */
    gap: 4rem;
}

/* This flips every second step (Step 02) to the right side */
.process-step:nth-child(even) {
    flex-direction: row-reverse;
    text-align: right;
}

/* The Big Outline Numbers */
.step-number {
    font-size: 8rem;
    font-weight: 900;
    color: transparent; /* See-through inside */
    -webkit-text-stroke: 2px var(--glass-border); /* The Outline */
    font-family: var(--font-head);
    line-height: 1;
    transition: 0.3s;
}

/* Glow effect when hovering over a step */
.process-step:hover .step-number {
    -webkit-text-stroke: 2px var(--primary);
    text-shadow: 0 0 20px rgba(0, 242, 255, 0.3);
}

.step-content h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.step-content p {
    color: #ccc;
    font-size: 1.1rem;
    max-width: 500px;
    line-height: 1.6;
}

/* Marquee */
.marquee { width: 100%; overflow: hidden; background: var(--glass); padding: 2rem 0; margin: 2rem 0; border: 1px solid var(--glass-border); }
.marquee-content { display: flex; width: 200%; animation: scroll 20s linear infinite; }
.marquee-item { flex: 1; text-align: center; font-size: 1.5rem; font-weight: 700; color: #555; text-transform: uppercase; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Contact */
.contact-form { max-width: 600px; margin: 0 auto; background: var(--glass); padding: 3rem; border-radius: 20px; border: 1px solid var(--glass-border); }
.form-group { margin-bottom: 1.5rem; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 15px; background: rgba(0,0,0,0.5); border: 1px solid #333; color: white; font-family: var(--font-body); border-radius: 5px; }
.form-group input:focus { outline: none; border-color: var(--primary); }

/* Footer */
footer { border-top: 1px solid #222; padding: 4rem 2rem; background: #000; }
.footer-content { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 3rem; }
.footer-col h4 { color: white; margin-bottom: 1.5rem; font-family: var(--font-head); }
.footer-col ul { list-style: none; }
.footer-col ul li a { color: #888; text-decoration: none; }

/* =========================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================= */

/* --- 1. Tablet & Small Laptops (Max Width: 1024px) --- */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero h1 {
        font-size: 4rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }

    .service-card {
        padding: 2rem;
    }
}

/* --- 2. Mobile Devices & Tablets Portrait (Max Width: 768px) --- */
@media (max-width: 768px) {
    
    /* Navigation: Hide links, keep logo and CTA */
    nav {
        padding: 0.8rem 1rem; /* Smaller padding for mobile nav */
    }
    
    .nav-links {
        display: none;
    }
    
    /* --- FIX: Make Logo Smaller & Aligned --- */
    .logo-container {
        gap: 8px; /* Reduce gap between image and text */
    }

    .logo-img {
        height: 28px; /* Much smaller height for mobile */
        width: auto;
    }

    .logo-text {
        font-size: 1.2rem; /* Reduce text size to balance with the image */
        letter-spacing: 1px;
    }

    /* Hero Section */
    .hero h1 {
        font-size: 3rem;
        padding: 0 10px;
    }
    
    .hero p {
        padding: 0 1rem;
        margin-bottom: 2rem;
    }

    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 300px;
    }

    .hero-btns .cta-btn {
        margin-right: 0 !important;
        width: 100%;
        text-align: center;
    }

    /* --- FIX: Process Section for Mobile (Neon Look) --- */
    .process-step,
    .process-step:nth-child(even) {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        margin-bottom: 4rem;
    }

    /* 1. Force the Number to be Hollow & Cyan */
    .step-number {
        font-size: 6rem; /* Big size */
        font-family: var(--font-head);
        color: transparent; /* This makes the inside see-through */
        -webkit-text-stroke: 2px var(--primary); /* This creates the Cyan Outline */
        text-shadow: 0 0 20px rgba(0, 242, 255, 0.4); /* Adds the Glow */
        line-height: 1;
        margin-bottom: 0.5rem;
        display: block; /* Ensures it sits on its own line */
    }
    
    /* 2. Force the Title to be Cyan */
    .step-content h3 {
        font-size: 2rem;
        color: var(--primary); /* Forces Cyan Color */
        text-transform: uppercase;
        margin-bottom: 0.5rem;
    }
    
    .step-content p {
        padding: 0 1rem;
        color: #ddd; /* Make description slightly brighter on mobile */
    }
    
    .process-step h3 {
        font-size: 1.8rem;
    }
}
/* --- 3. Small Mobile Phones (Max Width: 480px) --- */
@media (max-width: 480px) {

    /* DISABLE Custom Cursor on Touch Devices */
    .cursor-dot, 
    .cursor-outline {
        display: none !important;
    }
    
    * {
        cursor: auto !important;
    }

    /* Typography adjustments */
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .services-header h2 {
        font-size: 2rem;
    }

    /* Contact Form */
    .contact-form {
        padding: 1.5rem;
    }

    .form-group input, 
    .form-group select, 
    .form-group textarea {
        font-size: 16px; 
    }

    /* Footer adjustments */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-col .logo-container {
        justify-content: center;
    }
}