/* JS EFFECT CLASSES */
.show {
    animation: fadeUp 1s ease forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-links a.active {
    color: #38bdf8;
    border-bottom: 2px solid #38bdf8;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #38bdf8;
    border: none;
    padding: 12px 15px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: none;
}

.cursor-glow {
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(56,189,248,0.6);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    filter: blur(10px);
}

body.loaded {
    animation: fadeIn 1s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}





* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #0f172a;
    color: #fff;
}

header {
    background: #020617;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    padding: 15px 50px;
    align-items: center;
}

.logo {
    font-size: 24px;
}

.logo span {
    color: #38bdf8;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #38bdf8;
}

/* Hero */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 80px 50px;
}

.hero-content h1 span {
    color: #38bdf8;
}

.hero-img img {
    width: 350px;
    border-radius: 20px;
    box-shadow: 0 0 40px rgba(56,189,248,0.5);
}

.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background: #38bdf8;
    color: #020617;
    border-radius: 30px;
    text-decoration: none;
}

/* Sections */
section {
    padding: 80px 50px;
}

.section-title {
    font-size: 32px;
    margin-bottom: 20px;
    text-align: center;
}

.about p {
    max-width: 700px;
    margin: auto;
    text-align: center;
    color: #cbd5f5;
}

/* Skills */
.skill-box {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.skill {
    padding: 12px 25px;
    background: #020617;
    border-radius: 25px;
    border: 1px solid #38bdf8;
}

/* Projects */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.project-card {
    background: #020617;
    border-radius: 15px;
    overflow: hidden;
    transition: 0.3s;
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.project-card h3 {
    padding: 10px;
}

.project-card p {
    padding: 0 10px 15px;
    color: #94a3b8;
}

/* Contact */
.contact form {
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact input,
.contact textarea {
    padding: 12px;
    border-radius: 8px;
    border: none;
}

.contact button {
    padding: 12px;
    background: #38bdf8;
    border: none;
    border-radius: 25px;
    font-weight: bold;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background: #020617;
}
/* HERO LEFT FILL */
.badge {
    display: inline-block;
    background: rgba(56,189,248,0.15);
    color: #38bdf8;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 15px;
}

.hero-content p {
    max-width: 500px;
    margin: 15px 0 25px;
    color: #cbd5f5;
}

/* Stats */
.stats {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.stats h2 {
    color: #38bdf8;
    font-size: 28px;
}

.stats span {
    font-size: 14px;
    color: #94a3b8;
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.btn.outline {
    background: transparent;
    border: 2px solid #38bdf8;
    color: #38bdf8;
}

/* Socials */
.socials a {
    margin-right: 15px;
    font-size: 20px;
    color: #94a3b8;
    transition: 0.3s;
}

.socials a:hover {
    color: #38bdf8;
}

/* Typing text */
.typing {
    color: #38bdf8;
    font-weight: 600;
    height: 28px;
}
