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

/* ================= BODY ================= */
body {
    font-family: 'Inter', sans-serif;
    background: #020617;
    color: white;
    line-height: 1.6;
}

/* ================= CONTAINER ================= */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* ================= SECTION ================= */
section {
    padding: 100px 0;
}

/* ================= TYPOGRAPHY ================= */
h1, h2, h3 {
    font-weight: 700;
}

h2 {
    font-size: 32px;
    margin-bottom: 30px;
}

/* ================= BUTTON ================= */
.btn-primary {
    padding: 12px 20px;
    background: #2563eb;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.btn-primary:hover {
    background: #1d4ed8;
}

.btn-secondary {
    padding: 12px 20px;
    border: 1px solid #334155;
    border-radius: 8px;
    color: white;
    text-decoration: none;
}

/* ================= CARD (GLASS EFFECT) ================= */
.card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 20px;

    backdrop-filter: blur(10px);
}

/* ================= NAVBAR ================= */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;

    backdrop-filter: blur(12px);
    background: rgba(15, 23, 42, 0.6);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
}

.nav-logo a {
    font-weight: 700;
    font-size: 20px;
    color: white;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
}

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

.nav-menu a:hover {
    color: white;
}

.nav-cta {
    padding: 8px 16px;
    border-radius: 8px;
    background: #2563eb;
    color: white !important;
}

/* ================= HERO ================= */
#hero {
    position: relative;
    height: 100vh;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #020617;
}

.hero-bg {
    position: absolute;
    width: 1200px;
    height: 1200px;

    background: radial-gradient(circle,
        rgba(59,130,246,0.6) 0%,
        rgba(59,130,246,0.4) 20%,
        rgba(59,130,246,0.2) 40%,
        rgba(59,130,246,0.05) 60%,
        transparent 75%
    );

    filter: blur(80px);

    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-bg::after {
    content: "";
    position: absolute;
    width: 800px;
    height: 800px;

    background: radial-gradient(circle,
        rgba(37,99,235,0.6),
        transparent 70%
    );

    filter: blur(100px);

    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-content {
    position: relative;
    text-align: center;
    z-index: 2;
    color: white;
    max-width: 800px;
}

.hero-tagline {
    font-size: 12px;
    letter-spacing: 2px;
    color: #94a3b8;
    margin-bottom: 10px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
}

.hero-subtitle {
    font-size: 16px;
    color: #cbd5f5;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* ================= SOCIAL ICON ================= */
.hero-social {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.hero-social a {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    border-radius: 50%;
    background: rgba(255,255,255,0.05);

    transition: 0.3s;
}

.hero-social a:hover {
    background: rgba(37,99,235,0.3);
    transform: translateY(-3px);
}

.hero-social img {
    width: 20px;
    height: 20px;
    filter: brightness(0.9);
}

/* ================= FOOTER ================= */
.footer {
    background: #020617;
    padding: 60px 40px 20px;
    color: #cbd5f5;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-left h3 {
    color: white;
}

.footer-links a {
    display: block;
    margin-bottom: 10px;
    color: #94a3b8;
    text-decoration: none;
}

.footer-links a:hover {
    color: white;
}

.footer-social img {
    width: 24px;
    margin-right: 15px;
    filter: brightness(0.8);
    transition: 0.3s;
}

.footer-social img:hover {
    filter: brightness(1.5);
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    font-size: 14px;
    color: #64748b;
}

/* ================= SKILSS ================= */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.skill-card {
    transition: 0.3s;
    cursor: pointer;
}

.skill-card h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.skill-card p {
    color: #94a3b8;
    font-size: 14px;
}

/* 🔥 Hover effect */
.skill-card:hover {
    transform: translateY(-5px) scale(1.02);
    border: 1px solid rgba(37,99,235,0.5);
}

.skill-card:hover {
    box-shadow: 0 0 30px rgba(37,99,235,0.3);
}

/* ================= PROJECTS ================= */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.project-card {
    overflow: hidden;
    transition: 0.3s;
}

.project-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
}

.project-content {
    margin-top: 15px;
}

.project-content h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.project-content p {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 15px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.project-tech span {
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 6px;
    background: rgba(255,255,255,0.05);
}

.project-links a {
    margin-right: 15px;
    text-decoration: none;
    color: #2563eb;
    font-size: 14px;
}

.project-card:hover {
    transform: translateY(-8px) scale(1.02);
    border: 1px solid rgba(37,99,235,0.4);
    box-shadow: 0 0 40px rgba(37,99,235,0.2);
}

/* ================= PROJECTS ================= */

.about-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    align-items: center;
    gap: 50px;
}

.about-image img {
    width: 100%;
    border-radius: 16px;

    border: 1px solid rgba(255,255,255,0.05);
}

.about-content p {
    color: #94a3b8;
    margin-bottom: 15px;
}

.about-highlight {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;

    margin: 20px 0;
}

.about-highlight div {
    padding: 10px;
    border-radius: 8px;
    background: rgba(255,255,255,0.03);
    font-size: 14px;
}

/* ================= EXPERIENCE ================= */
.timeline {
    position: relative;
    margin-top: 40px;
    padding-left: 20px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 0;
    width: 2px;
    height: 100%;
    background: rgba(255,255,255,0.1);
}

.timeline::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 0;
    width: 2px;
    height: 100%;
    background: rgba(255,255,255,0.1);
}

.timeline-dot {
    position: absolute;
    left: -2px;
    top: 5px;

    width: 12px;
    height: 12px;

    background: #2563eb;
    border-radius: 50%;

    box-shadow: 0 0 10px rgba(37,99,235,0.8);
}

.timeline-content span {
    font-size: 12px;
    color: #94a3b8;
}

.timeline-content p {
    margin-top: 10px;
    color: #94a3b8;
    font-size: 14px;
}

.timeline-content:hover {
    transform: translateX(5px);
    border: 1px solid rgba(37,99,235,0.4);
    transition: 0.3s;
}

/* ================= CONTACT ================= */
.contact-container {
    text-align: center;
}

.contact-subtitle {
    color: #94a3b8;
    margin-bottom: 40px;
}

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

.contact-card {
    padding: 25px;
    transition: 0.3s;
}

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

.contact-card p {
    color: #94a3b8;
    font-size: 14px;
}

.clickable {
    cursor: pointer;
    text-decoration: none;
    color: white;
}

.clickable:hover {
    transform: translateY(-5px) scale(1.02);
    border: 1px solid rgba(37,99,235,0.4);
    box-shadow: 0 0 30px rgba(37,99,235,0.2);
}

/* ================= REVEAL BASE ================= */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

/* ================= ACTIVE ================= */
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.nav-menu a.active {
    color: white;
    font-weight: 600;
}