/* Variables & Reset */
:root {
    --primary-color: #00f3ff; /* Neon Cyan */
    --secondary-color: #7000ff; /* Neon Purple */
    --bg-dark: #050505;
    --bg-card: #0f0f0f;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
    --transition: all 0.3s ease;
}

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

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Custom Cursor */
.cursor, .cursor2 {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    display: none; /* Hidden on mobile */
}

@media (min-width: 992px) {
    .cursor {
        display: block;
        width: 8px;
        height: 8px;
        background-color: var(--primary-color);
        transition: 0.1s;
    }
    .cursor2 {
        display: block;
        width: 40px;
        height: 40px;
        border: 1px solid var(--primary-color);
        transition: 0.2s;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 700;
}

.highlight {
    color: var(--primary-color);
}

.subtitle {
    color: var(--primary-color);
    letter-spacing: 3px;
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: inline-block;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 1px;
}

.nav-list {
    display: flex;
    gap: 40px;
}

.nav-list a {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: var(--transition);
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-list a:hover::after,
.nav-list a.active::after {
    width: 100%;
}

.nav-list a:hover {
    color: var(--primary-color);
}

.header-btn {
    display: block;
}

.btn-glitch {
    padding: 10px 25px;
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.btn-glitch:hover {
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.5);
}

/* Burger Menu */
.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 30px;
    height: 2px;
    background-color: #fff;
    margin: 6px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: 100px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.circle-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 243, 255, 0.15) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
}

.grid-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

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

.hero-text {
    flex: 1;
    z-index: 2;
}

.hero-text h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    position: relative;
}

.text-outline {
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 500px;
    margin-bottom: 40px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.btn-primary {
    padding: 15px 35px;
    background: var(--primary-color);
    color: #000;
    font-weight: 700;
    font-family: var(--font-heading);
    clip-path: polygon(10% 0, 100% 0, 100% 70%, 90% 100%, 0 100%, 0 30%);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 243, 255, 0.3);
}

.btn-secondary {
    padding: 15px 35px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-weight: 700;
    font-family: var(--font-heading);
    clip-path: polygon(10% 0, 100% 0, 100% 70%, 90% 100%, 0 100%, 0 30%);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.robot-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.robot-img {
    max-width: 100%;
    max-height: 100%;
    z-index: 2;
    filter: drop-shadow(0 0 30px rgba(0, 243, 255, 0.2));
    animation: float 6s ease-in-out infinite;
}

.tech-ring {
    position: absolute;
    width: 500px;
    height: 500px;
    border: 1px dashed rgba(0, 243, 255, 0.3);
    border-radius: 50%;
    animation: spin 20s linear infinite;
    z-index: 1;
}

.tech-card {
    position: absolute;
    background: rgba(15, 15, 15, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 25px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 3;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.tech-card i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.tech-card span {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
}

.floating-card-1 {
    top: 20%;
    left: 0;
    animation: float 5s ease-in-out infinite 1s;
}

.floating-card-2 {
    bottom: 20%;
    right: 0;
    animation: float 7s ease-in-out infinite 0.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

/* About Section */
.section {
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.about-card {
    background: var(--bg-card);
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 243, 255, 0.2);
}

.about-card:hover::before {
    transform: scaleX(1);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(0, 243, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    margin-bottom: 25px;
}

.icon-box i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.about-card p {
    color: var(--text-muted);
}

/* Services Section */
.services {
    background-color: #0a0a0a;
}

.services-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-box {
    background: var(--bg-card);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
}

.service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.service-img {
    height: 200px;
    background: #1a1a1a;
    position: relative;
    overflow: hidden;
}

.img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #1a1a1a 25%, #222 25%, #222 50%, #1a1a1a 50%, #1a1a1a 75%, #222 75%, #222 100%);
    background-size: 20px 20px;
    opacity: 0.5;
}

.p2 { background: linear-gradient(135deg, #1a1a1a 25%, #222 25%, #222 50%, #1a1a1a 50%, #1a1a1a 75%, #222 75%, #222 100%); background-size: 20px 20px; }
.p3 { background: radial-gradient(#222 15%, transparent 16%) 0 0, radial-gradient(#222 15%, transparent 16%) 8px 8px; background-color: #1a1a1a; background-size: 16px 16px; }

.service-content {
    padding: 30px;
}

.service-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.service-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 5px;
}

.read-more i {
    transition: var(--transition);
}

.read-more:hover i {
    transform: translateX(5px);
}

/* Contact Section */
.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-top: 50px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info .section-title {
    font-size: 3rem;
    line-height: 1.1;
}

.contact-info > p {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.info-item h5 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.info-item p {
    color: var(--text-muted);
}

.contact-form-container {
    flex: 1.5;
    min-width: 350px;
    background: var(--bg-card);
    padding: 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.contact-form-container::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 100px;
    height: 100px;
    border-bottom: 2px solid var(--primary-color);
    border-right: 2px solid var(--primary-color);
    z-index: 1;
}

.modern-form .input-group {
    position: relative;
    margin-bottom: 30px;
}

.modern-form input,
.modern-form textarea,
.modern-form select {
    width: 100%;
    padding: 15px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.modern-form select {
    color: var(--text-muted);
}

.modern-form select option {
    background: var(--bg-card);
    color: #fff;
}

.modern-form input:focus,
.modern-form textarea:focus,
.modern-form select:focus {
    outline: none;
    border-bottom-color: var(--primary-color);
}

.modern-form label {
    position: absolute;
    top: 15px;
    left: 0;
    color: var(--text-muted);
    pointer-events: none;
    transition: var(--transition);
}

.modern-form input:focus ~ label,
.modern-form input:not(:placeholder-shown) ~ label,
.modern-form textarea:focus ~ label,
.modern-form textarea:not(:placeholder-shown) ~ label {
    top: -10px;
    font-size: 0.8rem;
    color: var(--primary-color);
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    border: none;
    color: #000;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.btn-submit:hover {
    background: #fff;
}

/* Footer */
.footer {
    background: #000;
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 50px;
}

.footer-logo p {
    color: var(--text-muted);
    margin-top: 10px;
}

.footer-links ul {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--text-muted);
    transition: var(--transition);
}

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

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    color: #000;
    border-color: var(--primary-color);
}

.copyright {
    text-align: center;
    color: #555;
    font-size: 0.9rem;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-text h1 {
        font-size: 3.5rem;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 50px;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-text p {
        margin: 0 auto 40px;
    }

    .contact-wrapper {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .header-btn {
        display: none;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: #0a0a0a;
        flex-direction: column;
        justify-content: center;
        transition: 0.4s ease;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav.nav-active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .burger {
        display: block;
        z-index: 1001;
    }

    .burger.toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    .burger.toggle .line2 {
        opacity: 0;
    }
    .burger.toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .robot-container {
        height: 400px;
    }

    .tech-ring {
        width: 300px;
        height: 300px;
    }
}

