@import url('https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&family=Poppins:wght@300;400;700&display=swap');

/*
  font-family: 'Space Mono', monospace;  -- For headings
  font-family: 'Poppins', sans-serif;    -- For body
*/

:root {
    --brand-dark: #0f0525; /* Deep Purple/Navy */
    --brand-purple: #8A2BE2; /* BlueViolet */
    --brand-skyblue: #87CEEB; /* SkyBlue */
    --brand-cyan: #00FFFF; /* Aqua/Cyan */
}

body {
    background-color: var(--brand-dark);
    font-family: 'Poppins', sans-serif;
}

h1, h2, h3, h4, .logo, .cta-button {
    font-family: 'Space Mono', monospace;
}

/* Holographic Grid Background */
.hero-grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--brand-dark);
    background-image:
        linear-gradient(var(--brand-purple), transparent 1px),
        linear-gradient(90deg, var(--brand-purple), transparent 1px);
    background-size: 50px 50px;
    opacity: 0.1;
    z-index: 0;
}

/* Navigation Link Styling */
.nav-link {
    color: #ccc;
    position: relative;
    padding-bottom: 4px;
}
.nav-link:hover {
    color: var(--brand-cyan);
}
.nav-link.active {
    color: var(--brand-cyan);
    font-weight: bold;
}
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--brand-cyan);
    box-shadow: 0 0 8px var(--brand-cyan);
}

/* Main CTA Button */
.cta-button {
    display: inline-block;
    border: 2px solid var(--brand-cyan);
    color: var(--brand-cyan);
    padding: 0.75rem 2rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: inset 0 0 8px 0 rgba(0, 255, 255, 0.5), 0 0 8px 0 rgba(0, 255, 255, 0.5);
}
.cta-button:hover {
    background-color: var(--brand-cyan);
    color: var(--brand-dark);
    box-shadow: inset 0 0 10px 0 rgba(0, 255, 255, 1), 0 0 20px 0 rgba(0, 255, 255, 1);
}

/* Glassmorphism Card Effect */
.glass-card {
    background-color: rgba(138, 43, 226, 0.05); /* very faint purple */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 8px;
}

/* Section Title */
.section-title {
    font-size: 2.5rem;
    color: white;
    font-weight: 700;
}

/* Featured Services Styling */
.service-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 400px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    cursor: pointer;
}
.service-image-container {
    width: 100%;
    height: 100%;
}
.service-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    /* Duotone effect using the purple/cyan palette */
    filter: grayscale(100%) contrast(1.2) sepia(100%) hue-rotate(180deg) saturate(3);
}
.service-item:hover .service-image-container img {
    transform: scale(1.1);
    filter: none; /* Reveal true color on hover */
}
.service-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to top, var(--brand-dark), transparent);
    color: white;
    text-align: center;
}
.service-content i {
    font-size: 2rem;
    color: var(--brand-cyan);
    margin-bottom: 0.5rem;
}
.service-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

/* ========================================= */
/* === ADDITIONAL STYLES FOR ABOUT.HTML === */
/* ========================================= */

/* History Timeline */
.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}
/* The central glowing line */
.timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--brand-purple);
    box-shadow: 0 0 10px var(--brand-purple);
    opacity: 0.3;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1.5px;
}
.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}
/* Position items on the left */
.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}
/* Position items on the right */
.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}
/* The glowing circle on the timeline */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    right: -8px;
    background-color: var(--brand-cyan);
    border: 3px solid var(--brand-dark);
    top: 28px;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 15px var(--brand-cyan);
}
.timeline-item:nth-child(even)::after {
    left: -8px;
}
.timeline-content {
    padding: 1.5rem;
}
.timeline-content h3 {
    color: var(--brand-skyblue);
    font-weight: bold;
}

/* Team Card */
.team-card {
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 8px;
    overflow: hidden;
    background: rgba(138, 43, 226, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.3);
}
.team-image-container img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.1);
    transition: filter 0.3s ease;
}
.team-card:hover .team-image-container img {
    filter: grayscale(0%);
}
.team-info {
    padding: 1.5rem;
    text-align: center;
}

/* Why Choose Us Section */
.why-us-image {
    border: 1px solid rgba(0, 255, 255, 0.3);
    box-shadow: 0 0 30px rgba(138, 43, 226, 0.2);
}
.usp-list {
    list-style: none;
    padding: 0;
}
.usp-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
}
.usp-list i {
    color: var(--brand-cyan);
}

/* ========================================= */
/* == ADDITIONAL STYLES FOR SERVICES.HTML == */
/* ========================================= */

/* Service Detail Section Styles */
.service-detail-image {
    padding: 0.5rem;
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 8px;
}
.service-detail-image img {
    /* Applying the duotone filter by default */
    filter: grayscale(100%) contrast(1.2) sepia(100%) hue-rotate(180deg) saturate(3);
    transition: filter 0.4s ease;
}
.service-detail-image:hover img {
    filter: none; /* Reveal true color on hover */
}

.service-heading {
    font-size: 2.5rem;
    color: white;
    font-weight: 700;
}
.service-heading span {
    color: var(--brand-cyan);
    font-size: 1.5rem;
    margin-right: 0.25rem;
}

/* Process Workflow Section Styles */
.process-step {
    position: relative;
    padding: 2.5rem 1.5rem;
    text-align: center;
    border: 1px solid rgba(138, 43, 226, 0.2);
    background-color: rgba(15, 5, 37, 0.5); /* bg-brand-dark with alpha */
    border-radius: 8px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.process-step:hover {
    transform: translateY(-10px);
    background-color: rgba(138, 43, 226, 0.1);
    border-color: rgba(0, 255, 255, 0.4);
}

.process-icon {
    font-size: 2.5rem;
    color: var(--brand-cyan);
    margin-bottom: 1rem;
}

.process-number {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 3rem;
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.05);
    z-index: -1;
}

/* ========================================= */
/* == ADDITIONAL STYLES FOR CONTACT.HTML === */
/* ========================================= */

/* Contact Form Styling */
.contact-label {
    font-family: 'Space Mono', monospace;
    color: var(--brand-cyan);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    display: block;
}

.contact-input {
    width: 100%;
    background-color: rgba(138, 43, 226, 0.1); /* Faint purple */
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 4px;
    padding: 0.75rem 1rem;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: inset 0 0 8px rgba(138, 43, 226, 0.2);
}

.contact-input:focus {
    outline: none;
    border-color: var(--brand-cyan);
    background-color: rgba(15, 5, 37, 1);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

textarea.contact-input {
    resize: vertical;
}

/* Google Map Container Styling */
.google-map-container {
    position: relative;
    background-color: var(--brand-dark); /* Fallback color */
    flex-grow: 1; /* Make it take up available space */
}

.google-map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* This filter creates the dark, holographic map effect */
    filter: grayscale(100%) invert(90%) contrast(80%);
}

/* ========================================= */
/* ===   RESPONSIVE NAVIGATION STYLES    === */
/* ========================================= */

/* Base style for the mobile menu panel */
.mobile-nav-menu {
    position: fixed;
    /* Start off-screen to the right */
    transform: translateX(100%);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* The "Holographic Glass" effect */
    background-color: rgba(15, 5, 37, 0.85); /* var(--brand-dark) with alpha */
    backdrop-filter: blur(15px);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 40; /* Below the header items but above the main content */
}

/* When the menu is open, bring it into view */
.mobile-nav-menu.menu-open {
    transform: translateX(0);
}

/* On medium screens and up, revert to the desktop layout */
@media (min-width: 768px) { /* Corresponds to Tailwind's 'md' breakpoint */
    .mobile-nav-menu {
        position: static;
        transform: translateX(0);
        background-color: transparent;
        backdrop-filter: none;
        width: auto;
        height: auto;
        display: block;
        z-index: auto;
    }
}