/* ============================= */
/* GLOBAL BACKGROUND */
/* ============================= */
body {
    background: #000;
    color: #fff;
    overflow-x: hidden;
    position: relative;
}

/* Purple glow */
body::before {
    content: '';

    position: fixed;
    top: -300px;
    left: -300px;

    width: 800px;
    height: 800px;

    border-radius: 50%;

    background: rgba(139, 92, 255, 0.18);

    filter: blur(220px);

    pointer-events: none;
    z-index: -2;
}

/* Blue glow */
body::after {
    content: '';

    position: fixed;
    bottom: -350px;
    right: -350px;

    width: 900px;
    height: 900px;

    border-radius: 50%;

    background: rgba(0, 191, 255, 0.12);

    filter: blur(260px);

    pointer-events: none;
    z-index: -2;
}

/* ============================= */
/* HERO SECTION */
/* ============================= */
.hero {
    padding: 7rem 2rem 4rem;
    text-align: center;
    align-content: center;
}

.hero-heading {
    font-family: 'Michroma', sans-serif;
    letter-spacing: 2px;
    font-size: clamp(2.4rem, 3.8vw, 3rem);
    line-height: 1.4;
    text-transform: uppercase;
    margin-bottom: 1.6rem;
}

.hero-heading span {
    background: linear-gradient(90deg, #9b35ff, #1fc8ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text {
    justify-self: center;
    font-size: 1.4rem;
    color: #d6d6d6;
    line-height: 1.7;
    max-width: 640px;
    margin-bottom: 2.2rem;
}

.hero-buttons {
    justify-self: center;
    display: flex;
    gap: 1.2rem;
    margin-bottom: 3.5rem;
}

.primary-btn,
.secondary-btn {
    padding: 1rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    color: white;
    font-size: 1rem;
    transition: 0.3s ease;
}

.primary-btn {
    background: linear-gradient(90deg, #8b2cff, #20bfff);
    box-shadow: 0 0 25px rgba(138, 43, 226, 0.5);
}

.secondary-btn {
    border: 1px solid #8b5cff;
}

.primary-btn:hover,
.secondary-btn:hover {
    transform: translateY(-6px);
    border-color: rgba(139,92,255,0.4);
    box-shadow:
        0 0 20px rgba(139,92,255,0.15),
        0 0 50px rgba(139,92,255,0.1);
}

/* ============================= */
/* TABLET */
/* ============================= */
@media (max-width: 992px) {

    .hero {
        padding: 6rem 1.5rem 3rem;
    }

    .hero-heading {
        font-size: clamp(2rem, 5vw, 2.6rem);
        line-height: 1.3;
    }

    .hero-text {
        font-size: 1.2rem;
        max-width: 90%;
    }
}

/* ============================= */
/* MOBILE */
/* ============================= */
@media (max-width: 768px) {

    .hero {
        padding: 5rem 1rem 2.5rem;
    }

    .hero-heading {
        font-size: 1.8rem;
        line-height: 1.3;
        letter-spacing: 1px;
    }

    .hero-text {
        font-size: 1rem;
        line-height: 1.6;
        max-width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

/* ============================= */
/* SMALL PHONES */
/* ============================= */
@media (max-width: 480px) {

    .hero {
        padding-top: 4rem;
    }

    .hero-heading {
        font-size: 1.5rem;
        line-height: 1.2;
    }

    .hero-text {
        font-size: 0.95rem;
    }

    .primary-btn,
    .secondary-btn {
        padding: 0.9rem 1.4rem;
        font-size: 0.95rem;
    }
}



/* ============================= */
/* SERVICES SECTION */
/* ============================= */
.services-section {
    padding: 1rem 2rem;
    background: transparent;
}

.services-container {
    max-width: 1300px;
    margin: 0 auto;
    text-align: center;
    justify-self: center;
}

.section-subtitle {
    display: block;
    margin-bottom: 0.8rem;

    color: #8b5cff;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.section-title {
    margin-bottom: 3rem;

    color: #fff;
    font-size: clamp(2.5rem, 3.4vw, 3rem);
    font-weight: 700;

    text-shadow:
        0 0 20px rgba(139,92,255,0.3),
        0 0 40px rgba(139,92,255,0.15);
}

/* ============================= */
/* GRID */
/* ============================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* ============================= */
/* CARD */
/* ============================= */
.service-card {
    position: relative;
    overflow: hidden;

    padding: 1.4rem;
    max-width: 400px;

    background: rgba(255,255,255,0.03);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;

    transition: all 0.35s ease;
}

.service-card::before {
    content: '';

    position: absolute;
    top: -80px;
    left: -80px;

    width: 180px;
    height: 180px;

    background: rgba(139,92,255,0.15);
    border-radius: 50%;

    filter: blur(80px);
}

.service-card:hover {
    transform: translateY(-10px);

    border-color: rgba(139,92,255,0.4);

    box-shadow:
        0 0 20px rgba(139,92,255,0.15),
        0 0 50px rgba(139,92,255,0.1);
}

/* ============================= */
/* ICON */
/* ============================= */
.service-icon {
    width: 60px;
    height: 60px;

    margin: 0 auto 1.5rem;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 18px;

    background: linear-gradient(
        135deg,
        rgba(139,92,255,0.2),
        rgba(0,191,255,0.15)
    );

    border: 1px solid rgba(139,92,255,0.25);

    color: #fff;
    font-size: 1.7rem;

    box-shadow:
        0 0 25px rgba(139,92,255,0.2);
}

.service-card h3 {
    margin-bottom: 1rem;

    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
}

.service-card p {
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ============================= */
/* RESPONSIVE */
/* ============================= */
@media (max-width: 992px) {

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .services-section {
        padding: 5rem 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        margin-bottom: 3rem;
    }
}



/* ============================= */
/* WHY SECTION */
/* ============================= */
.why-section {
    padding: 4rem 2rem;
    background: transparent;
}

.why-container {
    max-width: 1300px;
    margin: 0 auto;
    text-align: center;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
}

.why-card {
    padding: 2rem 1rem;
    border-radius: 20px;

    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.08);

    transition: 0.35s ease;
}

.why-card:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 92, 255, 0.45);

    box-shadow:
        0 0 20px rgba(139, 92, 255, 0.18),
        0 0 55px rgba(139, 92, 255, 0.1);
}

.why-icon {
    color: #8b5cff;
    font-size: 2rem;
    margin-bottom: 1.2rem;
}

.why-card h3 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 0.8rem;
}

.why-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-size: 0.9rem;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    .why-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 700px) {
    .why-section {
        padding: 5rem 1rem;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }
}



/* ============================= */
/* FEATURED PROJECTS */
/* ============================= */
.featured-section {
    padding: 2rem 2rem;
    background: transparent;
}

.featured-container {
    max-width: 1300px;
    margin: 0 auto;
    text-align: center;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.project-card {
    overflow: hidden;
    text-align: left;

    background: rgba(255, 255, 255, 0.035);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border: 1px solid rgba(139, 92, 255, 0.25);
    border-radius: 24px;

    transition: 0.35s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: rgba(139, 92, 255, 0.65);

    box-shadow:
        0 0 22px rgba(139, 92, 255, 0.25),
        0 0 55px rgba(0, 191, 255, 0.12);
}

.project-image {
    width: 100%;
    height: auto;
    padding: 0;
    background: transparent;
}

.project-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 22px 22px 0 0;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-content {
    padding: 1.7rem;
}

.project-content h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

.project-content p {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 1.3rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-bottom: 1.5rem;
}

.project-tags span {
    color: #b985ff;
    font-size: 0.8rem;
    font-weight: 600;

    padding: 0.45rem 0.75rem;

    border: 1px solid rgba(139, 92, 255, 0.45);
    border-radius: 999px;

    background: rgba(139, 92, 255, 0.08);
}

.project-link {
    color: #8b5cff;
    text-decoration: none;
    font-weight: 600;

    transition: 0.3s ease;
}

.project-link:hover {
    color: #00bfff;
    text-shadow: 0 0 12px rgba(0, 191, 255, 0.5);
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .featured-section {
        padding: 5rem 1rem;
    }

    .featured-grid {
        grid-template-columns: 1fr;
    }

    .project-image {
        height: 200px;
    }
}