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

html {
    scroll-behavior: smooth;
}

body {
    background-color: #000;
    color: #fff;
    font-family: "Poppins", sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(19, 9, 20, 0.95);
    z-index: 1000;
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(188, 111, 241, 0.2);
    transition: all 0.3s ease;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 40px;
}

.logo {
    background: linear-gradient(
        135deg,
        #BC6FF1 0%,
        #892CDC 25%,
        #52057B 75%,
        #764ada 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 300% 300%;
    animation: textShine 3s ease-in-out infinite alternate;
    text-decoration: none;
    font-size: 28px;
    font-weight: 700;
    white-space: nowrap;
}

@keyframes textShine {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.link {
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    font-size: 16px;
    position: relative;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #BC6FF1, #892CDC);
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.link:hover {
    color: #BC6FF1;
}

.link:hover::after {
    width: 100%;
}

.contact {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    border-radius: 12px;
    padding: 12px 24px;
    white-space: nowrap;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #52057B 0%, #892CDC 50%, #BC6FF1 100%);
    box-shadow: 0 4px 15px rgba(188, 111, 241, 0.3);
    position: relative;
    overflow: hidden;
}

.contact::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: left 0.5s ease;
}

.contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(188, 111, 241, 0.4);
}

.contact:hover::before {
    left: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse at center, rgba(82, 5, 123, 0.3) 0%, rgba(0, 0, 0, 1) 70%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="0.5" fill="%23BC6FF1" opacity="0.1"/><circle cx="75" cy="75" r="0.3" fill="%23892CDC" opacity="0.1"/><circle cx="50" cy="10" r="0.4" fill="%23764ada" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #BC6FF1, #892CDC, #52057B);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    0% { filter: drop-shadow(0 0 5px rgba(188, 111, 241, 0.3)); }
    100% { filter: drop-shadow(0 0 20px rgba(188, 111, 241, 0.6)); }
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #BC6FF1, #892CDC);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(188, 111, 241, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(188, 111, 241, 0.5);
}

/* Section Styles */
.section {
    padding: 100px 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 40px;
    padding-right: 40px;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #BC6FF1, #892CDC);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.skills {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
}

.skill {
    background: rgba(188, 111, 241, 0.1);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(188, 111, 241, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.skill:hover {
    background: rgba(188, 111, 241, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(188, 111, 241, 0.3);
}

.skill-name {
    font-weight: 600;
    color: #BC6FF1;
}

/* make last 3 red */
.skill.special .skill-name {
    color: #ff4d4d;
}

/* keep last 3 in one line */
.skills {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.skill.special {
    grid-column: span 1;
    background-color: rgba(241, 111, 111, 0.1);
    border: 1px solid rgba(241, 111, 111, 0.3);
}

.skills .special:nth-last-child(3) {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.project-card {
    background: rgba(19, 9, 20, 0.8);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(188, 111, 241, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #BC6FF1, #892CDC);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(188, 111, 241, 0.3);
    border-color: rgba(188, 111, 241, 0.6);
}

.project-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #BC6FF1;
}

.project-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.tech-tag {
    background: rgba(137, 44, 220, 0.3);
    color: #BC6FF1;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid rgba(137, 44, 220, 0.5);
}

.project-link {
    color: #BC6FF1;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: #892CDC;
}

/* Reviews Section */
.reviews-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background: rgba(19, 9, 20, 0.6);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(188, 111, 241, 0.2);
    position: relative;
}

.review-stars {
    color: #ffd700;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.review-text {
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
}

.reviewer {
    color: #BC6FF1;
    font-weight: 600;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    align-items: center;
    justify-items: center;
}

.client-logo {
    width: 150px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 10px;
    background: #ffffff00;
    padding: 10px;
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.more {
    text-align: center;
    color: #4d4d4d;
    margin-top: 50px;
}

/* Contact Section */
.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.contact-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #BC6FF1, #892CDC);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #BC6FF1;
    margin-bottom: 5px;
}

.contact-details p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

.contact-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.primary-button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: linear-gradient(135deg, #7C3AED, #A855F7);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
}
/* Stats Section */
.stats-section {
    background: rgba(19, 9, 20, 0.3);
    border-radius: 30px;
    border: 1px solid rgba(188, 111, 241, 0.2);
    margin: 50px auto;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 50px;
}
.stat-card {
    text-align: center;
    padding: 40px 20px;
    border-radius: 20px;
    background: rgba(188, 111, 241, 0.05);
    border: 1px solid rgba(188, 111, 241, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #BC6FF1, #892CDC);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}
.stat-card:hover::before {
    transform: scaleX(1);
}
.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(188, 111, 241, 0.1);
    border-color: rgba(188, 111, 241, 0.3);
}
.stat-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #BC6FF1, #892CDC);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px rgba(188, 111, 241, 0.3);
}
.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #BC6FF1, #892CDC);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
    line-height: 1;
}
.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}