* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #0f0f15;
    color: #fff;
    line-height: 1.6;
    scroll-behavior: smooth;
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: rgba(15, 15, 21, 0.95);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #2a2a35;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    color: #8b5cf6;
    font-weight: 700;
}

nav {
    display: flex;
    gap: 40px;
}

nav a {
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
}

nav a:hover {
    color: #8b5cf6;
}

.hero {
    padding: 100px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.text h3 {
    font-size: 18px;
    color: #8b5cf6;
    margin-bottom: 10px;
}

.text h1 {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.text h2 {
    font-size: 28px;
    color: #8b5cf6;
    margin-bottom: 20px;
    font-weight: 600;
}

.text p {
    font-size: 18px;
    color: #ccc;
    margin-bottom: 30px;
    line-height: 1.8;
}

.buttons {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    display: inline-block;
    border: 2px solid #8b5cf6;
}

.btn {
    background: #8b5cf6;
    color: #fff;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

.btn.outline {
    background: transparent;
    color: #8b5cf6;
}

.btn.outline:hover {
    background: #8b5cf6;
    color: #fff;
}

.image img {
    width: 100%;
    border-radius: 20px;
}

section {
    padding: 80px 0;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 60px;
    text-align: center;
}

.about {
    background: #171720;
}

.about-text {
    font-size: 18px;
    color: #ccc;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.services {
    background: #0f0f15;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    background: #171720;
    padding: 40px;
    border-radius: 15px;
    border: 1px solid #2a2a35;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-8px);
    border-color: #8b5cf6;
}

.card h3 {
    margin-bottom: 15px;
    color: #8b5cf6;
    font-size: 22px;
}

.card p {
    color: #ccc;
    line-height: 1.7;
}

.portfolio {
    background: #171720;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.project {
    background: #0f0f15;
    border-radius: 20px;
    overflow: hidden;
    transition: 0.3s;
}

.project:hover {
    transform: scale(1.03);
}

.project img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.project-content {
    padding: 20px;
}

.project-content h3 {
    margin-bottom: 10px;
    color: #fff;
}

.project-content p {
    color: #ccc;
    margin-bottom: 15px;
    font-size: 14px;
}

.project-content a {
    color: #8b5cf6;
    text-decoration: none;
    font-weight: 600;
}

.contact {
    background: #0f0f15;
    text-align: center;
}

.contact p {
    margin: 10px 0;
    color: #ccc;
    font-size: 18px;
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
    }

    .text h1 {
        font-size: 42px;
    }

    nav {
        display: none;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}.footer {
  text-align: center;
  padding: 30px 20px;
  background: #111;
  color: #ccc;
}

.footer a {
  color: #8b5cf6;
  text-decoration: none;
}
