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

/* ================= GLOBAL ================= */
html {
    scroll-behavior: smooth;
}

body {
    background: #eef2f6;
    color: #1e293b;
}

/* ================= NAVBAR ================= */
.navbar {
    background: linear-gradient(90deg, #0f172a, #1e293b, #334155);
    padding: 16px 0;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar a {
    color: #e5e7eb;
    margin: 0 18px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    position: relative;
    transition: 0.3s;
}

.navbar a:hover,
.navbar a.active {
    color: #38bdf8;
}

.navbar a::after {
    content: '';
    width: 0;
    height: 2px;
    background: #38bdf8;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.3s;
}

.navbar a:hover::after,
.navbar a.active::after {
    width: 100%;
}

/* ================= HOME (PROFESSIONAL BG) ================= */
.hero {
    height: 100vh;
    background: linear-gradient(
        135deg,
        #020617,
        #020617,
        #0f172a,
        #1e293b
    );
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-box {
    max-width: 720px;
    animation: fadeUp 1s ease;
}

.hero-box h1 {
    font-size: 52px;
    color: #f8fafc;
    margin-bottom: 10px;
}

.hero-box h1 span {
    color: #38bdf8;
}

.hero-box p {
    font-size: 18px;
    color: #cbd5f5;
    margin-bottom: 30px;
}

/* ================= PROFILE IMAGE (TILT + GLOW) ================= */
.profile-img {
    width: 165px;
    height: 165px;
    border-radius: 50%;
    border: 4px solid #38bdf8;
    margin-bottom: 25px;
    object-fit: cover;
    box-shadow: 0 0 35px rgba(56,189,248,0.6);
    transition: 0.5s;
}

.profile-img:hover {
    transform: rotate(-3deg) scale(1.07);
    box-shadow: 0 0 55px rgba(56,189,248,0.9);
}

/* ================= BUTTONS ================= */
.btn {
    padding: 14px 36px;
    background: #38bdf8;
    color: #020617;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    margin: 10px;
    display: inline-block;
    transition: 0.3s;
}

.btn:hover {
    background: #0ea5e9;
    transform: translateY(-4px);
}

/* ================= INNER PAGES ================= */
.page {
    min-height: 85vh;
    background: linear-gradient(to right, #eef2f6, #f8fafc);
    padding: 90px 0;
    animation: fadeUp 0.8s ease;
}

.container {
    background: #ffffff;
    width: 70%;
    margin: auto;
    padding: 55px;
    border-radius: 16px;
    box-shadow: 0 18px 35px rgba(0,0,0,0.08);
    text-align: center;
}

.container h2 {
    font-size: 30px;
    margin-bottom: 22px;
    color: #0f172a;
}

.container p {
    font-size: 16px;
    line-height: 1.9;
    color: #334155;
}

/* ================= CARDS (CLICK + TILT) ================= */
.card-wrap {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.card {
    background: linear-gradient(to bottom right, #e0f2fe, #f8fafc);
    width: 230px;
    padding: 28px;
    border-radius: 16px;
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
    transition: 0.4s;
}

.card:hover {
    transform: translateY(-10px) rotate(-2deg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    background: linear-gradient(to bottom right, #38bdf8, #e0f2fe);
}

/* ================= SOCIAL ICONS ================= */
.social-icons {
    margin-top: 25px;
}

.social-icons a {
    display: inline-block;
    margin: 0 12px;
    width: 46px;
    height: 46px;
    line-height: 46px;
    background: #0f172a;
    color: #38bdf8;
    border-radius: 50%;
    font-size: 18px;
    transition: 0.3s;
}

.social-icons a:hover {
    background: #38bdf8;
    color: #020617;
    box-shadow: 0 0 20px #38bdf8;
    transform: translateY(-5px);
}

/* ================= FOOTER ================= */
.footer {
    background: #020617;
    color: #cbd5e1;
    text-align: center;
    padding: 18px;
    font-size: 14px;
}

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

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    .hero-box h1 {
        font-size: 36px;
    }

    .container {
        width: 90%;
        padding: 38px;
    }
}
