* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Arial, sans-serif;
}

body {
    background: linear-gradient(
        -45deg,
        #05070f,
        #0a0f1f,
        #0f172a,
        #111827
    );
    background-size: 400% 400%;
    animation: gradient 18s ease infinite;
    color: #e5e7eb;
}

/* ================= NAVBAR ================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(137, 148, 158, 0.144);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(88, 70, 70, 0.08);
    padding: 14px 0;
    z-index: 1000;
}

.nav-container {
    width: 90%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: #7c82ff;
    font-size: 20px;
    font-weight: 600;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 22px;
}

.nav-links a {
    color: #cbd5f5;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #7dd3fc;
}

/* ================= HERO ================= */
.hero {
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 70px;
}

.hero-content {
    text-align: center;
}

.hero-content h1 {
    font-size: 52px;
    background: linear-gradient(90deg, #7c83ff, #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: slideDown 1s ease forwards;
}

.hero-content p {
    margin-top: 14px;
    font-size: 18px;
    color: #b6bddb;
    animation: fadeIn 1.5s ease forwards;
}

/* ================= SOCIAL ICON BUTTONS ================= */
.social-links {
    margin-top: 28px;
    display: flex;
    justify-content: center;
    gap: 14px;
}

.social-links a {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c7d2fe;
    font-size: 18px;
    transition: all 0.35s ease;
}

.social-links a:hover {
    background: rgba(124, 131, 255, 0.25);
    color: #ffffff;
    transform: translateY(-4px);
}

/* ================= SECTIONS ================= */
.section {
    padding: 110px 10%;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.section.show {
    opacity: 1;
    transform: translateY(0);
}

.section h2 {
    margin-bottom: 36px;
    font-size: 36px;
    text-align: center;
    color: #7c83ff;
}

/* ================= ABOUT ================= */
.about-box {
    max-width: 820px;
    margin: auto;
    padding: 36px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
    line-height: 1.8;
}

.about-box span {
    color: #38bdf8;
    font-weight: 600;
}

/* ================= SKILLS ================= */
.skills-box-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    align-items: flex-start;
}

.skills-box {
    width: 360px;
    padding: 30px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.skills-box h3 {
    margin-bottom: 18px;
    color: #38bdf8;
}

.skills-box ul {
    list-style: none;
}

.skills-box li {
    padding: 10px 0;
    color: #cbd5f5;
    transition: transform 0.3s ease;
}

.skills-box li:hover {
    transform: translateX(6px);
    color: #ffffff;
}

/* ================= PROJECTS ================= */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 28px;
}

.project-card {
    padding: 26px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.35s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 35px rgba(124, 131, 255, 0.25);
}

.project-card h3 {
    margin-bottom: 10px;
}

.project-card p {
    color: #b6bddb;
}

.project-card a {
    display: inline-block;
    margin-top: 14px;
    color: #7dd3fc;
    font-weight: 600;
    text-decoration: none;
}

.hidden {
    display: none;
}

/* ================= BUTTON ================= */
button {
    margin: 45px auto 0;
    display: block;
    padding: 12px 34px;
    border-radius: 30px;
    border: none;
    background: linear-gradient(135deg, #6568f1, #7c83ff);
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease;
}

button:hover {
    transform: scale(1.05);
}

/* ================= ANIMATIONS ================= */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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