css

/* ==========================================================================
   Base Styles
   ========================================================================== */
:root {
    --primary-color: #c71585;
    /* Neon purple */
    --secondary-color: #00f7ff;
    /* Neon cyan */
    --bg-dark: #0f0f1a;
    --text-light: #e0e0e0;
    --text-muted: #a0a0a0;
    --neon-glow: 0 0 10px rgba(199, 21, 133, 0.5), 0 0 20px rgba(199, 21, 133, 0.3);
    --neon-glow-cyan: 0 0 10px rgba(0, 247, 255, 0.5), 0 0 20px rgba(0, 247, 255, 0.3);
    --transition-standard: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-dark, #0f0f1a);
    color: var(--text-light, #e0e0e0);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* ==========================================================================
   Particle Animation
   ========================================================================== */
.hero-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    /* Behind content, above hero background */
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 5px;
    height: 5px;
    background: var(--secondary-color, #00f7ff);
    border-radius: 50%;
    opacity: 0.5;
    /* Increased opacity for better visibility */
    animation: drift 12s infinite linear;
}

@keyframes drift {
    0% {
        transform: translateY(0);
        opacity: 0.5;
    }

    50% {
        opacity: 0.8;
    }

    100% {
        transform: translateY(200vh);
        opacity: 0;
    }
}

/* ==========================================================================
   Header and Navigation
   ========================================================================== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 0;
    background: rgba(15, 15, 26, 0.9);
    backdrop-filter: blur(8px);
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color, #c71585);
    text-shadow: var(--neon-glow);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--secondary-color, #00f7ff);
    font-size: 1.5rem;
    cursor: pointer;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links li a {
    color: var(--text-light, #e0e0e0);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: var(--transition-standard);
}

.nav-links li a:hover,
.nav-links li a:focus {
    color: var(--secondary-color, #00f7ff);
    text-shadow: var(--neon-glow-cyan);
}

.nav-links li a:focus {
    outline: none;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color, #00f7ff);
    transition: width 0.3s ease;
}

.nav-links li a:hover::after,
.nav-links li a:focus::after {
    width: 100% !important;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    /* Above particles */
}

.hero-content {
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color, #c71585);
    text-shadow: var(--neon-glow);
    animation: neon-pulse 2s ease-in-out infinite;
}

@keyframes neon-pulse {

    0%,
    100% {
        text-shadow: var(--neon-glow);
    }

    50% {
        text-shadow: 0 0 15px rgba(199, 21, 133, 0.8), 0 0 30px rgba(199, 21, 133, 0.5);
    }
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-muted, #a0a0a0);
    margin-bottom: 2rem;
}

.hero .cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    border: 2px solid var(--secondary-color, #00f7ff);
    color: var(--secondary-color, #00f7ff);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.hero .cta-button:hover,
.hero .cta-button:focus {
    background: var(--secondary-color, #00f7ff) !important;
    color: var(--bg-dark, #0f0f1a) !important;
    box-shadow: var(--neon-glow-cyan);
    transform: translateY(-3px);
}

/* ==========================================================================
   General Section Styles
   ========================================================================== */
.section {
    padding: 5rem 0;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    /* Above particles */
}

.container {
    padding: 0 2rem;
}

.section h2 {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-color, #c71585);
    text-shadow: var(--neon-glow);
    margin-bottom: 3rem;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(199, 21, 133, 0.2);
    transition: var(--transition-standard);
    position: relative;
    overflow: hidden;
}

.service-card:hover,
.service-card:focus {
    transform: translateY(-10px);
    border-color: var(--secondary-color, #00f7ff);
    box-shadow: var(--neon-glow-cyan);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color, #c71585);
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--text-light, #e0e0e0);
}

.service-card p {
    color: var(--text-muted, #a0a0a0);
    font-size: 0.95rem;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text {
    font-size: 1rem;
    color: var(--text-muted, #a0a0a0);
    line-height: 1.7;
}

.about-image {
    text-align: center;
}

.profile-placeholder {
    width: 220px;
    height: 220px;
    border-radius: 12px;
    background: linear-gradient(45deg, var(--primary-color, #c71585), var(--secondary-color, #00f7ff));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 3rem;
    color: var(--text-light, #e0e0e0);
    box-shadow: var(--neon-glow);
}

/* ==========================================================================
   Blog Section
   ========================================================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(199, 21, 133, 0.2);
    transition: var(--transition-standard);
}

.blog-card:hover,
.blog-card:focus {
    transform: translateY(-5px);
    border-color: var(--secondary-color, #00f7ff);
    box-shadow: var(--neon-glow-cyan);
}

.blog-image {
    height: 160px;
    background: linear-gradient(45deg, var(--primary-color, #c71585), var(--secondary-color, #00f7ff));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light, #e0e0e0);
    font-size: 2.5rem;
}

.blog-content {
    padding: 1.5rem;
}

.blog-content h3 {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-light, #e0e0e0);
}

.blog-content p {
    color: var(--text-muted, #a0a0a0);
    font-size: 0.9rem;
}

.blog-date {
    color: var(--secondary-color, #00f7ff);
    font-size: 0.85rem;
    margin-top: 1rem;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(199, 21, 133, 0.2);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--secondary-color, #00f7ff);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid rgba(199, 21, 133, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light, #e0e0e0);
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color, #00f7ff) !important;
    box-shadow: var(--neon-glow-cyan) !important;
}

.form-group select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%2300f7ff" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 0.7rem top 50%;
    background-size: 1.2rem;
}

.form-group select option {
    background: #1c1c2e;
    color: var(--text-light, #e0e0e0);
}

#form-message {
    margin-bottom: 1rem;
    color: var(--secondary-color, #00f7ff);
}

#form-message.error {
    color: #ff4d4d;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: transparent;
    border: 2px solid var(--secondary-color, #00f7ff);
    color: var(--secondary-color, #00f7ff);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.submit-btn:hover,
.submit-btn:focus {
    background: var(--secondary-color, #00f7ff) !important;
    color: var(--bg-dark, #0f0f1a) !important;
    box-shadow: var(--neon-glow-cyan);
}

/* ==========================================================================
   Contact Info
   ========================================================================== */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(199, 21, 133, 0.2);
    transition: var(--transition-standard);
}

.contact-item:hover,
.contact-item:focus {
    border-color: var(--secondary-color, #00f7ff);
    box-shadow: var(--neon-glow-cyan);
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--primary-color, #c71585);
    min-width: 30px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid var(--secondary-color, #00f7ff);
    color: var(--secondary-color, #00f7ff);
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.social-link:hover,
.social-link:focus {
    background: var(--secondary-color, #00f7ff) !important;
    color: var(--bg-dark, #0f0f1a) !important;
    box-shadow: var(--neon-glow-cyan);
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    background: rgba(15, 15, 26, 0.9);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(199, 21, 133, 0.2);
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   Scroll Top Button
   ========================================================================== */
.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--secondary-color, #00f7ff);
    border: 2px solid var(--secondary-color, #00f7ff);
    color: var(--bg-dark, #0f0f1a);
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    display: none;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
    z-index: 1000;
}

.scroll-top.visible {
    display: block;
    opacity: 1;
}

.scroll-top:hover,
.scroll-top:focus {
    background: var(--primary-color, #c71585) !important;
    border-color: var(--primary-color, #c71585) !important;
    color: var(--text-light, #e0e0e0) !important;
    box-shadow: var(--neon-glow);
}

/* ==========================================================================
   Accessibility
   ========================================================================== */
a:focus:not(.nav-links li a),
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--secondary-color, #00f7ff);
    outline-offset: 2px;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: rgba(15, 15, 26, 0.95);
        padding: 1rem 0;
    }

    .nav-links.active {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Scroll Animations
   ========================================================================== */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.services-grid .fade-in:nth-child(2) {
    transition-delay: 0.1s;
}

.services-grid .fade-in:nth-child(3) {
    transition-delay: 0.2s;
}

.services-grid .fade-in:nth-child(4) {
    transition-delay: 0.3s;
}

.services-grid .fade-in:nth-child(5) {
    transition-delay: 0.4s;
}

.services-grid .fade-in:nth-child(6) {
    transition-delay: 0.5s;
}

.blog-grid .fade-in:nth-child(2) {
    transition-delay: 0.1s;
}

.blog-grid .fade-in:nth-child(3) {
    transition-delay: 0.2s;
}

.contact-info .fade-in:nth-child(2) {
    transition-delay: 0.1s;
}

.contact-info .fade-in:nth-child(3) {
    transition-delay: 0.2s;
}