:root {
    --bg: #0a0b12;
    --surface: rgba(255,255,255,0.06);
    --glass: rgba(150, 120, 255, 0.10);
    --glass-border: rgba(150, 120, 255, 0.35);
}

html, body {
    height: 100%;
    background: var(--bg);
    color: #eae9ff;
    font-family: ui-sans-serif, system-ui, "Inter", "Segoe UI", Roboto, Arial, sans-serif;
    margin: 0;
}

.main-layout .body {
    min-height: 100svh;
}

.hero {
    position: relative;
    min-height: 100svh;
    display: grid;
    place-items: center;
    overflow: clip;
}

.galaxy-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* allow clicks to pass through */
}

.hero-inner {
    position: relative;
    text-align: center;
    padding-bottom: 22rem;
    z-index: 2;
    animation: fadeInUp 900ms ease both;
}

.hero-inner, .brand, .brand * {
    user-select: none; /* no text selection */
    outline: none; /* remove focus outline/frame */
    cursor: default; /* default cursor */
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    filter: drop-shadow(0 6px 24px rgba(160,120,255,0.55));
}

.logo {
    height: 70px;
    width: auto;
}

.brand-title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    margin: 0;
    line-height: 1.05;
    letter-spacing: 0.5px;
    text-shadow: 0 0 24px rgba(140,100,255,0.55);
}

.grad-text {
    background: linear-gradient(90deg, #362089, #66D1FF);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.tagline {
    margin: 0.75rem auto 1.8rem;
    max-width: 54ch;
    opacity: 0.9;
    font-size: clamp(1rem, 1.8vw, 1.2rem);
}

.cta {
    display: inline-block;
    padding: 0.95rem 1.6rem;
    border-radius: 999px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08), 0 8px 24px rgba(120, 80, 255, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.3px;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

    .cta:hover {
        transform: translateY(-2px);
        box-shadow: 0 14px 36px rgba(120,80,255,0.45);
    }

    .cta:active {
        transform: translateY(0);
    }

.content {
    padding: 4rem 1rem 6rem;
    background: radial-gradient(1200px 600px at 50% -200px, rgba(140,110,255,0.12), transparent 60%) var(--bg);  
  user-select: none;
}
    .content h2, p{
        color: antiquewhite;
      
    }

.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
    max-width: 1100px;
    margin: 0 auto;
    position: relative; /* ensure above canvas */
    z-index: 5;
    user-select: none; /* no text selection */
}

@media (max-width: 900px) {
    .cards {
        grid-template-columns: 1fr;
    }
}

.card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(150, 120, 255, 0.28);
    border-radius: 18px;
    padding: 1.25rem 1.2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
    transition: transform .2s ease, box-shadow .2s ease;
    cursor: pointer; /* change to pointer */
    user-select: none; /* no text selection */
}

    .card:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 40px rgba(100,60,220,0.25);
    }

    .card h3 {
        margin: 0 0 .35rem;
        font-size: 1.15rem;
        color: antiquewhite;
    }

    .card p {
        margin: 0;
        opacity: .85;
        color: antiquewhite;
    }

/* Modal Styles */
.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-content {
    background-color: #222;
    padding: 2rem;
    border-radius: 16px;
    max-width: 450px;
    color: #fff;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

/* Company & Contact Sections */
.company-history, .contact {
    padding: 6rem 1rem;
    background: var(--bg);
    text-align: center;
    color: #eae9ff;
}

    .company-history h2, .contact h2 {
        font-size: clamp(2rem, 4vw, 3rem);
        margin-bottom: 1.5rem;
        text-shadow: 0 0 16px rgba(140,100,255,0.35);
    }

    .company-history p, .contact p {
        max-width: 100ch;
        margin: 0 auto 1.5rem;
        font-size: clamp(1rem, 1.6vw, 1.2rem);
        line-height: 1.6;
        opacity: 0.9;
    }

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    max-width: 400px;
    margin: 0 auto;
    gap: 1rem;   
}

    .contact-form input,
    .contact-form textarea {
        padding: 0.75rem 1rem;
        border-radius: 12px;
        border: 1px solid var(--glass-border);
        background: var(--surface);
        color: #fff;
        font-size: 1rem;
        resize: vertical;
    }

    .contact-form textarea {
        min-height: 120px;
    }

    .contact-form button.cta {
        align-self: center;
        padding: 0.95rem 1.6rem;
        font-weight: 700;
    }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
