:root {
    --color-dark: #1a0a0f;
    --color-neon-blue: #ff4dff;
    --color-neon-pink: #ffb84d;
    --color-text: #f0e0e0;
    --shadow-blue: 0 0 10px var(--color-neon-blue), 0 0 20px var(--color-neon-blue);
    --shadow-pink: 0 0 10px var(--color-neon-pink), 0 0 20px var(--color-neon-pink);
    --border-neon: 1px solid var(--color-neon-blue);
}

/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--color-dark);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--color-neon-blue);
    text-decoration: none;
    transition: color 0.3s, text-shadow 0.3s;
}

a:hover {
    color: white;
    text-shadow: var(--shadow-blue);
}

section {
    padding: 60px 5%;
    min-height: 80vh;
    position: relative;
    overflow: hidden;
}

h1, h2, h3 {
    margin-bottom: 20px;
}

.neon-text {
    color: var(--color-neon-blue);
    text-shadow: var(--shadow-blue);
}

.neon-button {
    background: transparent;
    color: var(--color-neon-blue);
    border: var(--border-neon);
    padding: 10px 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    box-shadow: var(--shadow-blue);
    transition: all 0.3s ease-in-out;
}

.neon-button:hover {
    background: var(--color-neon-blue);
    color: var(--color-dark);
    text-shadow: none;
    box-shadow: none;
}

/* 1. Header */
.neon-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background-color: rgba(10, 10, 26, 0.95); /* Semi-transparent dark */
    box-shadow: 0 0 15px rgba(255, 77, 255, 0.5); /* Floating neon shadow */
    backdrop-filter: blur(5px);
}

.neon-header .logo {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--color-neon-pink);
    text-shadow: var(--shadow-pink);
}

.neon-header .main-nav a {
    margin-left: 30px;
    font-size: 1.1em;
}

.menu-icon {
    display: none; /* Hide on desktop */
    background: transparent;
    border: none;
    color: var(--color-neon-blue);
    font-size: 1.5em;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    box-shadow: var(--shadow-blue);
    transition: transform 0.5s;
}

/* 2. Hero Section */
.hero-section {
    padding-top: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100vh;
    position: relative;
}

.neon-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(0deg, transparent 24px, rgba(255, 77, 255, 0.1) 25px), 
                      linear-gradient(90deg, transparent 24px, rgba(255, 77, 255, 0.1) 25px);
    background-size: 25px 25px;
    opacity: 0.3;
}

.hero-content {
    z-index: 1;
}

.hologram-text {
    font-size: 4em;
    text-transform: uppercase;
    letter-spacing: 5px;
    /* Futuristic Hologram Effect */
    color: var(--color-neon-blue);
    text-shadow: 
        0 0 5px rgba(255, 77, 255, 0.8),
        0 0 15px rgba(255, 77, 255, 0.6),
        0 0 25px rgba(255, 77, 255, 0.4),
        0 0 40px rgba(255, 77, 255, 0.2);
    animation: flicker 1.5s infinite alternate;
}

@keyframes flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.9; text-shadow: var(--shadow-blue); }
}


/* 3. About Preview */
.about-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.neon-card {
    background-color: rgba(25, 25, 45, 0.5);
    padding: 30px;
    border: var(--border-neon);
    box-shadow: var(--shadow-blue);
    transition: transform 0.3s, box-shadow 0.3s;
}

.neon-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 25px var(--color-neon-pink), 0 0 40px var(--color-neon-blue);
}

.progress-bar-container {
    height: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 10px 0;
}

.progress-bar {
    height: 100%;
    background-color: var(--color-neon-blue);
    box-shadow: var(--shadow-blue);
    transition: width 1s ease-out; /* For animation effect */
}

/* 4. Why Choose Us */
.rotating-highlights-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.highlight-item {
    width: 250px;
    height: 250px;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 3px solid var(--color-neon-pink);
    box-shadow: var(--shadow-pink);
    font-weight: bold;
    text-transform: uppercase;
    animation: rotateHighlight 10s linear infinite;
}

@keyframes rotateHighlight {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
/* Note: You'd apply a reverse animation to every other item for better effect */


/* 5. Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}

.service-item {
    background-color: rgba(25, 25, 45, 0.5);
    padding: 30px;
    border: 1px solid transparent;
    transition: all 0.3s;
}

.service-item:hover {
    border-color: var(--color-neon-blue);
    box-shadow: var(--shadow-blue);
    transform: scale(1.05);
}

.neon-icon {
    font-size: 3em;
    color: var(--color-neon-pink);
    text-shadow: var(--shadow-pink);
    margin-bottom: 15px;
}

/* 6. Client Testimonials */
.timeline-slider {
    display: flex;
    overflow-x: auto;
    gap: 50px;
    padding: 20px 0;
    margin-top: 40px;
}

.testimonial-slide {
    min-width: 400px;
    background-color: rgba(25, 25, 45, 0.5);
    padding: 30px;
    border-left: 3px solid var(--color-neon-blue);
    position: relative;
}

.glow-dot::before {
    content: '';
    position: absolute;
    left: -18px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--color-neon-pink);
    box-shadow: var(--shadow-pink);
}

.testimonial-slide span {
    display: block;
    margin-top: 15px;
    font-style: italic;
    color: var(--color-neon-pink);
}


/* 7. FAQ */
.faq-container {
    margin-top: 40px;
}

.faq-item {
    border: 1px solid rgba(255, 77, 255, 0.3);
    margin-bottom: 15px;
    cursor: pointer;
    overflow: hidden;
}

.faq-question {
    padding: 15px 20px;
    font-weight: bold;
    background-color: rgba(255, 77, 255, 0.1);
    color: var(--color-neon-blue);
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: rgba(255, 77, 255, 0.2);
}

.faq-answer {
    padding: 0 20px;
    height: 0; /* Controlled by JS */
    opacity: 0; /* Controlled by JS */
    transition: height 0.3s ease, opacity 0.3s ease;
}

.faq-item.active .faq-answer {
    height: auto; /* Example for JS implementation */
    padding: 15px 20px;
    opacity: 1;
}


/* 8. Contact Form */
.neon-form {
    max-width: 600px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.neon-form input, .neon-form textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 77, 255, 0.3);
    padding: 15px;
    color: var(--color-text);
    box-shadow: 0 0 5px rgba(255, 77, 255, 0.2);
}

.neon-form input:focus, .neon-form textarea:focus {
    outline: none;
    border-color: var(--color-neon-blue);
    box-shadow: var(--shadow-blue);
}

/* Glowing Modal for Success Message */
.glowing-modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: var(--color-dark);
    padding: 40px;
    text-align: center;
    border: 2px solid var(--color-neon-pink);
    box-shadow: 0 0 40px var(--color-neon-pink);
    animation: pulseGlow 1.5s infinite alternate;
}

@keyframes pulseGlow {
    from { box-shadow: 0 0 20px var(--color-neon-pink); }
    to { box-shadow: 0 0 35px var(--color-neon-pink), 0 0 10px rgba(255, 0, 119, 0.5); }
}

.success-message {
    font-size: 1.5em;
    color: var(--color-neon-blue);
    margin-bottom: 20px;
    text-shadow: var(--shadow-blue);
}

.close-modal {
    background: var(--color-neon-pink);
    color: var(--color-dark);
    padding: 10px 20px;
    border: none;
    cursor: pointer;
}

/* 9. Footer */
.neon-footer {
    padding: 30px 5%;
    text-align: center;
    border-top: 1px solid var(--color-neon-blue);
    box-shadow: 0 0 10px rgba(255, 77, 255, 0.5);
}

.footer-links a {
    margin: 0 15px;
    color: var(--color-neon-pink);
}

.footer-links a:hover {
    color: white;
    text-shadow: var(--shadow-pink);
}

/* 10. Modules (Popups) */
.module-popup {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
}

.module-content {
    background-color: var(--color-dark);
    padding: 40px;
    max-width: 500px;
    width: 90%;
    border: 2px solid var(--color-neon-blue);
    box-shadow: var(--shadow-blue);
}

.module-content h3 {
    color: var(--color-neon-pink);
    text-shadow: var(--shadow-pink);
    margin-bottom: 20px;
}

#newsletter-form input {
    display: block;
    width: 100%;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 77, 255, 0.3);
    padding: 10px;
    color: var(--color-text);
}

#newsletter-form label {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

#newsletter-form input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

.hidden-message {
    display: none;
    margin-top: 20px;
    color: var(--color-neon-pink);
    text-shadow: var(--shadow-pink);
    font-weight: bold;
}

/* Media Queries (Responsive Design - Hiding Nav for Mobile) */
@media (max-width: 768px) {
    .neon-header .main-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background-color: rgba(10, 10, 26, 0.98);
        width: 100%;
        padding: 20px;
        box-shadow: 0 10px 15px rgba(255, 77, 255, 0.5);
        text-align: center;
    }

    .neon-header .main-nav.active {
        display: flex;
    }
    
    .neon-header .main-nav a {
        margin: 10px 0;
    }

    .menu-icon {
        display: block; /* Show menu icon */
    }

    .hologram-text {
        font-size: 2.5em;
    }

    .about-cards, .services-grid {
        grid-template-columns: 1fr;
    }

    .rotating-highlights-container {
        flex-direction: column;
        align-items: center;
    }

    .testimonial-slide {
        min-width: 80vw;
    }
}

.contact-section {
    padding: 60px 20px;
    background: #0d0d0d;
    color: #fff;
    font-family: Arial, sans-serif;
}

.contact-section h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
}

.neon-text {
    color: rgb(255, 0, 200);
    text-shadow: 0 0 5px rgb(255, 0, 200), 0 0 10px rgb(255, 0, 200), 0 0 20px rgb(255, 0, 200);
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}

.contact-details, .contact-form {
    flex: 1 1 400px;
    background: #111;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgb(255, 0, 200)33c33;
}

.contact-details h3 {
    margin-bottom: 20px;
    color: rgb(255, 0, 200);
}

.contact-details p {
    margin: 10px 0;
}

.neon-form input,
.neon-form textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 2px solid rgb(255, 0, 200);
    border-radius: 6px;
    background: #000;
    color: #fff;
    outline: none;
}

.neon-form input:focus,
.neon-form textarea:focus {
    box-shadow: 0 0 10px rgb(255, 0, 200), 0 0 20px rgb(255, 0, 200);
}

.neon-form textarea {
    resize: vertical;
    min-height: 120px;
}

.neon-button {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid rgb(255, 0, 200);
    border-radius: 6px;
    background: transparent;
    color: rgb(255, 0, 200);
    cursor: pointer;
    font-size: 1em;
    transition: 0.3s;
}

.neon-button:hover {
    background: rgb(255, 0, 200);
    color: #000;
    box-shadow: 0 0 10px rgb(255, 0, 200), 0 0 20px rgb(255, 0, 200);
}

/* Modal */
.glowing-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: #111;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 0 20px rgb(255, 0, 200);
}

.close-modal {
    margin-top: 20px;
    padding: 10px 20px;
    border: 2px solid rgb(255, 0, 200);
    background: transparent;
    color: rgb(255, 0, 200);
    cursor: pointer;
    border-radius: 5px;
}

.close-modal:hover {
    background: rgb(255, 0, 200);
    color: #000;
}