html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1e293b;
    background-color: #f8fafc;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 90%;
    max-width: 1120px;
    margin: auto;
    padding: 20px 0;
}

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: #ffffff;
}

.text-center {
    text-align: center;
}

.tag {
    display: inline-block;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #0284c7;
    margin-bottom: 8px;
}

.section-header {
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.025em;
}

header {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(12px);
    color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: -0.05em;
}

.logo span {
    color: #38bdf8;
}

nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 28px;
}

nav ul li a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

nav ul li a:hover {
    color: #ffffff;
}

.nav-btn {
    background: #0284c7;
    color: #ffffff !important;
    padding: 8px 18px;
    border-radius: 6px;
    transition: background 0.2s ease, transform 0.2s ease !important;
}

.nav-btn:hover {
    background: #0369a1;
    transform: translateY(-1px);
}

.hero {
    background: radial-gradient(circle at 10% 20%, #1e293b 0%, #0f172a 90%);
    color: white;
    padding: 100px 0 110px 0;
}

.flex-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    flex-wrap: wrap;
}

.profile-img-wrapper {
    position: relative;
    flex-shrink: 0;
}

.profile-card-frame {
    position: relative;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    backdrop-filter: blur(8px);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-card-frame::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.6), transparent 60%, rgba(2, 132, 199, 0.4));
    z-index: -1;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.profile-img {
    width: 220px;
    height: 260px;
    object-fit: cover;
    object-position: top;
    border-radius: 12px;
    display: block;
    filter: brightness(1.02) contrast(1.02);
}

.profile-card-frame:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 25px 50px -12px rgba(2, 132, 199, 0.35);
}

.profile-card-frame:hover::before {
    opacity: 1;
}

.status-badge {
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #0f172a;
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: #e2e8f0;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 20px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981;
}

.hero-text {
    max-width: 600px;
}

.greeting {
    font-size: 0.9rem;
    color: #38bdf8;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-text h2 {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 6px 0 12px 0;
    letter-spacing: -0.03em;
}

.subtitle {
    font-size: 1.2rem;
    color: #94a3b8;
    font-weight: 500;
    margin-bottom: 16px;
}

.description {
    color: #cbd5e1;
    font-size: 1rem;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-primary {
    background: #0284c7;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4);
}

.btn-primary:hover {
    background: #0369a1;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transform: translateY(-2px);
}

.objective-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-left: 5px solid #0284c7;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
}

.objective-header h2 {
    font-size: 1.5rem;
    color: #0f172a;
    margin-bottom: 12px;
}

.objective-text {
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.7;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.card {
    background: #ffffff;
    padding: 32px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.timeline-card {
    position: relative;
}

.card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
    text-transform: uppercase;
}

.card h3 {
    font-size: 1.25rem;
    color: #0f172a;
    margin-bottom: 6px;
}

.institution, .company {
    color: #0284c7;
    font-weight: 600;
    font-size: 0.95rem;
}

.date {
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 4px;
}

.experience-stack {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.exp-card {
    border-left: 4px solid #0284c7;
}

.exp-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.date-pill {
    background: #f1f5f9;
    color: #475569;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
}

.custom-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.custom-bullets li {
    position: relative;
    padding-left: 24px;
    color: #334155;
    font-size: 0.95rem;
}

.custom-bullets li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #0284c7;
    font-weight: bold;
}

.skills-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.skill-category h3 {
    font-size: 1.2rem;
    color: #0f172a;
    margin-bottom: 16px;
}

.pills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pill {
    background: #f1f5f9;
    color: #334155;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.pill:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.pill-accent {
    background: #e0f2fe;
    color: #0369a1;
    border-color: #bae6fd;
}

.pill-accent:hover {
    background: #bae6fd;
    color: #0284c7;
}

.contact-box {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 20px;
    padding: 60px 40px;
    color: #ffffff;
}

.contact-box .section-header h2 {
    color: #ffffff;
}

.contact-sub {
    color: #94a3b8;
    font-size: 0.95rem;
    margin-top: 8px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 28px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.2s ease, background 0.2s ease;
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
}

.contact-card .icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.contact-card h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #38bdf8;
    margin-bottom: 4px;
}

.contact-card p {
    font-size: 0.95rem;
    color: #e2e8f0;
    font-weight: 500;
}

footer {
    background: #0a0f1d;
    color: #64748b;
    padding: 30px 0;
    text-align: center;
    font-size: 0.875rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 868px) {
    .flex-hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-actions {
        justify-content: center;
    }

    .exp-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 600px) {
    nav ul {
        gap: 16px;
    }

    .hero-text h2 {
        font-size: 2rem;
    }

    .contact-box {
        padding: 40px 20px;
    }
}
