:root {
    --bg-color: #050505;
    --neon-pink: #ff00ff;
    --neon-glow: rgba(255, 0, 255, 0.6);
    --text-color: #ffffff;
    --glass-bg: rgba(20, 20, 20, 0.6);
    --glass-border: rgba(255, 0, 255, 0.2);
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
}

.white-ai {
    color: #ffffff !important;
}

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

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

/* Canvas Background */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

#matrixCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    /* Behind particles */
    opacity: 0.3;
    /* Subtle blend */
    pointer-events: none;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 0, 255, 0.1);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--neon-pink);
    text-shadow: 0 0 10px var(--neon-glow);
}

.nav-slogan {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: var(--neon-pink);
    letter-spacing: 1px;
    position: static;
    /* Changed from absolute to flow naturally */
    transform: none;
    margin: 0 20px;
    text-align: center;
    animation: neonPulse 2s infinite alternate;
    font-weight: 600;
    white-space: nowrap;
    /* Prevent wrapping on slightly smaller screens */
}

.cursor {
    animation: blink 1s infinite;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    margin-left: 30px;
    font-size: 1.1rem;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a.active {
    color: var(--neon-pink);
    border-bottom: 2px solid var(--neon-pink);
    padding-bottom: 5px;
}

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

.btn-glow {
    padding: 10px 25px;
    border: 1px solid var(--neon-pink);
    border-radius: 4px;
    background: transparent;
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.2);
    transition: 0.3s;
}

.btn-glow:hover {
    background: var(--neon-pink);
    color: #000;
    box-shadow: 0 0 20px var(--neon-glow);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 20px;
    text-transform: uppercase;
    position: relative;
    color: #fff;
    text-shadow: 0 0 5px var(--neon-pink), 0 0 15px var(--neon-glow);
}

.subtitle {
    font-size: 1.5rem;
    color: #ccc;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.name-breakdown {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.breakdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s;
}

.breakdown-item:hover {
    transform: translateY(-5px);
}

.prefix {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--neon-pink);
    font-weight: 700;
    margin-bottom: 5px;
    text-shadow: 0 0 10px var(--neon-glow);
}

.desc {
    font-size: 1rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* General Sections */
section {
    padding: 100px 0;
}

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

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: #fff;
    text-transform: uppercase;
    border-bottom: 2px solid var(--neon-pink);
    display: inline-block;
    padding-bottom: 10px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

/* Meaning Section */
.meaning-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 12px;
    backdrop-filter: blur(5px);
    transition: 0.3s;
}

.glass-card:hover {
    border-color: var(--neon-pink);
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.1);
}

.glass-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--neon-pink);
    margin-bottom: 15px;
}

.positioning-box {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    border: 1px dashed var(--neon-pink);
    border-radius: 15px;
    background: rgba(255, 0, 255, 0.05);
}

.positioning-box h3 {
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

/* Themes Section */
.theme-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.theme-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.theme-item .icon {
    font-size: 2.5rem;
}

.theme-item h4 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--neon-pink);
    margin-bottom: 5px;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid #333;
    padding: 40px;
    border-radius: 8px;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

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

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 20px;
    border-bottom: 1px solid #444;
    padding-bottom: 15px;
}

.service-card ul {
    list-style: none;
}

.service-card ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.service-card ul li::before {
    content: '>';
    color: var(--neon-pink);
    position: absolute;
    left: 0;
}

.highlight-card {
    border: 1px solid var(--neon-pink);
    background: rgba(255, 0, 255, 0.05);
}

/* CTA Section */
.cta-section {
    padding: 150px 0;
    text-align: center;
}

.large-text {
    font-size: 1.8rem;
    margin: 20px 0 50px;
    opacity: 0.9;
}

.big {
    font-size: 1.5rem;
    padding: 15px 50px;
    border-radius: 5px;
}

/* Custom Form */
.custom-form-container {
    margin: 50px auto;
    max-width: 600px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid var(--neon-pink);
    border-radius: 12px;
    padding: 40px;
    position: relative;
    z-index: 10;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.1);
}

.neon-form .form-group {
    margin-bottom: 20px;
}

.neon-form input,
.neon-form select {
    width: 100%;
    padding: 15px;
    background: rgba(20, 20, 20, 0.9);
    border: 1px solid #444;
    border-radius: 6px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: 0.3s;
}

.neon-form input:focus,
.neon-form select:focus {
    outline: none;
    border-color: var(--neon-pink);
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.3);
}

.neon-form select {
    appearance: none;
    cursor: pointer;
}

.partner-section {
    position: relative;
    z-index: 10;
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 10px;
    display: inline-block;
}

.partner-section h3 {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 1.5rem;
    /* Larger title */
    margin-bottom: 10px;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.partner-section p {
    color: #fff;
    /* White text for visibility */
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.cta-buttons .btn-glow {
    font-size: 1.2rem;
    /* Make buttons slightly bigger text */
    font-weight: 600;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    /* Semi-transparent bg to pop against canvas */
}

@keyframes neonPulse {

    0%,
    100% {
        text-shadow: 0 0 10px rgba(255, 0, 255, 0.7), 0 0 20px rgba(255, 0, 255, 0.5), 0 0 30px rgba(255, 0, 255, 0.3);
        color: #ff00ff;
    }

    50% {
        text-shadow: 0 0 20px rgba(255, 0, 255, 1), 0 0 30px rgba(255, 0, 255, 0.8), 0 0 40px rgba(255, 0, 255, 0.6);
        color: #ff80ff;
        /* Slightly lighter pink peak */
    }
}

.animated-brand-text {
    color: var(--neon-pink);
    animation: neonPulse 2s infinite alternate;
}

/* Footer */
footer {
    padding: 40px 0;
    background: #000;
    border-top: 1px solid #222;
}

.social-icons {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.social-icons a {
    color: #fff;
    font-size: 1.5rem;
    transition: 0.3s;
    text-decoration: none;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icons a:hover {
    color: var(--neon-pink);
    border-color: var(--neon-pink);
    box-shadow: 0 0 15px var(--neon-glow);
    transform: translateY(-3px);
}

/* Animations */
@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* Hide slogan on smaller screens to prevent overlap with nav buttons */
@media (max-width: 1250px) {
    .nav-slogan {
        display: none;
    }
}

@media (max-width: 1024px) {
    .logo {
        font-size: 1.5rem;
    }

    .nav-links a {
        margin-left: 15px;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {

    /* Navbar Adjustment */
    .navbar {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        background: rgba(0, 0, 0, 0.85);
        /* Darker background for readability */
    }

    .nav-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .nav-links a {
        margin-left: 0;
        margin: 0 5px;
        font-size: 1rem;
    }

    /* Hero */
    .hero-content h1 {
        font-size: 2.2rem;
        /* Smaller for mobile */
        word-wrap: break-word;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    /* Name Breakdown */
    .name-breakdown {
        flex-direction: column;
        gap: 20px;
    }

    /* Grids */
    .theme-list {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
        /* Full width cards on mobile */
    }

    .meaning-grid {
        grid-template-columns: 1fr;
    }

    /* General Layout */
    .container {
        padding: 0 15px;
    }

    section {
        padding: 60px 0;
    }

    .custom-form-container {
        width: 100%;
        padding: 25px;
        margin: 30px auto;
    }

    .partner-section h3 {
        font-size: 1.2rem;
    }

    /* Adjust font size to prevent overflow */
    html {
        font-size: 14px;
    }
}

@media (max-width: 480px) {

    /* Navbar compact for very small screens */
    .logo {
        font-size: 1.5rem;
    }

    .nav-slogan {
        display: none;
        /* Hide slogan on very small screens to save space */
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .btn-glow {
        padding: 8px 15px;
        width: 100%;
        /* Full width buttons */
        display: block;
        text-align: center;
        margin-bottom: 10px;
    }
}