/* Black Theme Styles */
:root {
    --primary: #000000;
    --secondary: #111111;
    --accent: #ff00ff;
    --text: #ffffff;
    --text-light: #aaaaaa;
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--primary);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

.read-more-link {
    color: var(--accent);
    cursor: pointer;
}

/* Particle Background */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background-color: var(--primary);
}

/* Glow Effects */
.glow {
    text-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
}

/* Header */
header {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    z-index: 100;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(90deg, #ff00ff, #ff69b4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
}

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

nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

nav a:hover {
    color: var(--text);
}

nav a.active {
    color: var(--text);
}

nav a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #ff00ff, #ff69b4);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, #ffffff, #ffccff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards 0.3s;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 600px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards 0.5s;
}

.features {
    margin: 2.5rem 0;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards 0.7s;
}

.features ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.05rem;
}

.features li::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
}

/* Services Section */
.services {
    padding: 6rem 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ff00ff, #ff69b4);
    margin: 1.5rem auto 0;
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(17, 17, 17, 0.8);
    border-radius: 16px;
    padding: 2.5rem;
    transition: var(--transition);
    transform: translateY(50px);
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.1), transparent);
    z-index: 1;
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 0, 255, 0.2);
}

.card-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 10px rgba(255, 0, 255, 0.3));
    transition: var(--transition);
}

.service-card:hover .card-img {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 6px 15px rgba(255, 0, 255, 0.5));
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #ffffff, #ffccff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.learn-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(90deg, #ff00ff, #ff69b4);
    color: #000;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(255, 0, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.learn-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.learn-more-btn:hover::before {
    left: 100%;
}

.learn-more-btn:hover {
    box-shadow: 0 6px 20px rgba(255, 0, 255, 0.5);
    transform: translateY(-2px);
}

.learn-more-btn i {
    transition: var(--transition);
}

.learn-more-btn:hover i {
    transform: translateX(4px);
}

/* Portfolio Section */
.portfolio {
    padding: 4rem 0;
    text-align: center;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.portfolio-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    background: rgba(17, 17, 17, 0.8);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 0, 255, 0.3);
}

.portfolio-img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 10px rgba(255, 0, 255, 0.3));
}

.portfolio-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.portfolio-category {
    font-size: 0.9rem;
    color: var(--accent);
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: rgba(17, 17, 17, 0.95);
    border-radius: 16px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(50px);
    transition: var(--transition);
    box-shadow: 0 20px 50px rgba(255, 0, 255, 0.2);
    border: 1px solid rgba(255, 0, 255, 0.1);
    backdrop-filter: blur(10px);
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: var(--text-light);
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.close-modal:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text);
    transform: rotate(90deg);
}

.modal-content {
    padding: 3rem;
}

.modal-header {
    margin-bottom: 2rem;
    position: relative;
}

.modal-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #ffffff, #ffccff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.modal-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #ff00ff, #ff69b4);
    border-radius: 2px;
}

.modal-body {
    line-height: 1.8;
}

.service-details h3 {
    font-size: 1.25rem;
    margin: 1.5rem 0 0.75rem;
    color: var(--text);
}

.service-details p {
    margin-bottom: 1rem;
}

.service-details ul,
.service-details ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-details li {
    margin-bottom: 0.5rem;
    position: relative;
}

.service-details ul li::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    margin-right: 0.5rem;
    position: relative;
    top: -2px;
}

/* Process Section */
.process {
    padding: 4rem 0;
    text-align: center;
}

.process-steps {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    background: rgba(17, 17, 17, 0.8);
    border-radius: 16px;
    padding: 2rem;
    width: 250px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 0, 255, 0.1);
}

.process-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ff00ff, #ff69b4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: 700;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Animation Delays */
.service-card:nth-child(1) {
    animation-delay: 0.2s;
}

.service-card:nth-child(2) {
    animation-delay: 0.3s;
}

.service-card:nth-child(3) {
    animation-delay: 0.4s;
}

.service-card:nth-child(4) {
    animation-delay: 0.5s;
}

.service-card:nth-child(5) {
    animation-delay: 0.6s;
}

.service-card:nth-child(6) {
    animation-delay: 0.7s;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .features ul {
        grid-template-columns: 1fr;
    }

    nav ul {
        gap: 1rem;
    }

    .modal-content {
        padding: 2rem 1.5rem;
    }

    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .process-steps {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .service-card {
        padding: 1.5rem;
    }

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