:root {
    --bg-color: #000000;
    --surface-color: #121212;
    --primary-color: #ffffff;
    --accent-color: #00e5ff;
    --text-secondary: #a0a0a0;
    --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--primary-color);
    font-family: var(--font-main);
    line-height: 1.6;
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #222;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo img {
    height: 50px; /* Adjust based on your logo */
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

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

/* Layout Sections */
section {
    padding: 120px 5% 20px;
    max-width: 1400px;
    margin: 0 auto;
}

h1, h2, h3 {
    font-weight: 700;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    border-left: 4px solid var(--accent-color);
    padding-left: 1rem;
    margin-bottom: 2rem;
}

p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80vh;
    gap: 4rem;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    letter-spacing: 2px;
    line-height: 1.2;
}

.hero-content .tagline {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
}

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

/* .hero-image {
    position: relative;
    display: flex;
    justify-content: center;
} */
 
.hero-image img {
    max-width: 100%;
    height: auto;
    
    /* The CSS Mask magic */
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 100%);
    mask-image: radial-gradient(ellipse at center, black 50%, transparent 70%);
}

.hero-image-solutions img {
    max-width: 100%;
    height: auto;

    -webkit-mask-image: radial-gradient(ellipse at center, black 50%, transparent 100%);
    mask-image: radial-gradient(ellipse at center, black 80%, transparent 100%);
}

.responsive-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Feature Grid */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background-color: var(--surface-color);
    padding: 2.5rem;
    border: 1px solid #222;
    border-radius: 8px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.btn {
    display: inline-block;
    padding: 10px 24px;
    background-color: transparent;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    text-decoration: none;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: var(--accent-color);
    color: var(--bg-color);
}

footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid #222;
    color: var(--text-secondary);
    margin-top: 4rem;
}

footer p {
    font-size: 0.8rem;
    margin-bottom: 0; 
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    
    /* Change the hero section to stack vertically */
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 140px; /* Gives the fixed header breathing room */
        gap: 2rem;
        min-height: auto;
    }

    /* Adjust the text sizing for mobile screens */
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content .tagline {
        font-size: 1.2rem;
    }

    /* Center and properly scale the hero image */
    .hero-image {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .responsive-img {
        max-width: 90%; /* Leaves a nice margin on the edges of the phone */
        height: auto;
        margin: 0 auto;
    }

    /* Ensure the feature cards stack in a single column */
    .grid-container {
        grid-template-columns: 1fr;
    }

    .menu-toggle {
        display: flex; /* Show the hamburger icon */
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(5, 5, 5, 0.98);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        border-bottom: 1px solid #222;
        
        /* Hide it by default off-screen or using opacity */
        display: none; 
    }

    /* When the active class is added via JavaScript */
    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        margin-bottom: 1.5rem;
    }
}

/* --- Solutions Flow List --- */
.flow-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    max-width: 900px;
    margin: 0 auto;
}

.flow-list {
    list-style: none;
    position: relative;
    padding-left: 30px;
}

/* The vertical connecting line */
.flow-list::before {
    content: '';
    position: absolute;
    top: 8px;
    bottom: 8px; /* Stops the line at the last item */
    left: 4px;
    width: 2px;
    background-color: var(--primary-color);
}

.flow-list li {
    position: relative;
    padding-bottom: 4.5rem;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 1.5px;
    line-height: 1.4;
}

.flow-list li:last-child {
    padding-bottom: 0;
}

/* The square bullets */
.flow-list li::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 4px;
    width: 10px;
    height: 10px;
    background-color: var(--primary-color);
}

.product-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    padding: 80px 5%;
    max-width: 1400px;
    margin: 0 auto;
    border-bottom: 1px solid #1a1a1a;
}

.product-section:last-of-type {
    border-bottom: none;
}

.product-content {
    flex: 1;
}

.product-content h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    border-left: 4px solid var(--accent-color);
    padding-left: 1rem;
    margin-bottom: 1.5rem;
}

.product-content h3 {
    color: var(--accent-color);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.product-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Reverse layout for alternating sections */
.reverse-layout {
    flex-direction: row-reverse;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.feature-grid li {
    list-style: none;
    position: relative;
    padding-left: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.feature-grid li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .product-section, .product-section.reverse-layout {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .product-content h2 {
        border-left: none;
        border-bottom: 2px solid var(--accent-color);
        padding-left: 0;
        padding-bottom: 0.5rem;
        display: inline-block;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        text-align: left;
        max-width: 300px;
        margin: 2rem auto 0;
    }
}

.contact-wrapper {
    padding: 60px 5% 100px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 4rem;
}

/* Form Styling */
.contact-form {
    background-color: var(--surface-color);
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid #222;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.form-group label {
    color: var(--accent-color);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input, 
.form-group textarea {
    background-color: #0a0a0a;
    border: 1px solid #333;
    border-radius: 4px;
    padding: 14px 15px;
    color: var(--primary-color);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.1);
}

/* Company Details Styling */
.contact-details {
    padding: 1rem 0;
}

.contact-details h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    border-left: 4px solid var(--accent-color);
    padding-left: 1rem;
}

.detail-item {
    margin-bottom: 2rem;
}

.detail-item strong {
    display: block;
    color: var(--accent-color);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.detail-item p {
    margin-bottom: 0;
    color: var(--primary-color);
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .contact-form {
        padding: 2rem 1.5rem;
    }
}