html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", system-ui, sans-serif;
    background: #050816;
    color: #f5f5f5;
    line-height: 1.6;
}

section {
    padding: 80px 10%;
}

.section {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.section-header p {
    font-size: 0.95rem;
    opacity: 0.8;
}
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(5, 8, 22, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 10%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo span {
    color: #4f46e5;
    margin-left: 4px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    font-size: 0.95rem;
    opacity: 0.85;
    transition: opacity 0.2s ease, color 0.2s ease;
    color: #f5f5f5;
}

.nav-links a:hover {
    opacity: 1;
    color: #a5b4fc;
}

.contact-btn {
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid #4f46e5;
    background: rgba(79, 70, 229, 0.15);
}
.hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 10% 80px;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}

.hero-text {
    animation: fadeInUp 0.7s ease-out;
}

.tagline {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #a5b4fc;
    margin-bottom: 10px;
}

.hero h2 {
    font-size: 2.4rem;
    margin-bottom: 12px;
}

.hero h2 span {
    color: #4f46e5;
}

.hero-description {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 10px;
}

.hero-extra {
    font-size: 0.95rem;
    opacity: 0.85;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 16px 0 20px;
}

.social-links a {
    font-size: 0.9rem;
    text-decoration: none;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 6px 14px;
    opacity: 0.85;
    transition: background 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
    color: #f5f5f5;
}

.social-links a:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-1px);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hire-btn,
.secondary-btn {
    display: inline-block;
    cursor: pointer;
    border-radius: 999px;
    padding: 10px 22px;
    font-size: 0.95rem;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.hire-btn {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #f5f5f5;
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.4);
}

.secondary-btn {
    background: transparent;
    color: #e5e7eb;
    border-color: rgba(229, 231, 235, 0.45);
}

.hire-btn:hover,
.secondary-btn:hover {
    transform: translateY(-2px);
}
.hero-image {
    text-align: center;
}

.image-frame {
    width: 260px;
    height: 260px;
    margin: 0 auto;
    border-radius: 999px;
    padding: 6px;
    background: conic-gradient(from 200deg, #4f46e5, #ec4899, #22c55e, #4f46e5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-frame img {
    width: 100%;
    height: 100%;
    border-radius: 999px;
    object-fit: cover;
    border: 4px solid #050816;
}

.hero-caption {
    margin-top: 12px;
    font-size: 0.85rem;
    opacity: 0.8;
}
.education-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.edu-card {
    background: radial-gradient(circle at top left, rgba(79, 70, 229, 0.2), transparent),
                rgba(15, 23, 42, 0.85);
    border-radius: 16px;
    padding: 18px 20px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.8);
}

.edu-year {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #a5b4fc;
}

.edu-card h3 {
    margin: 8px 0;
    font-size: 1.1rem;
}

.edu-school {
    font-size: 0.95rem;
    opacity: 0.95;
}

.edu-detail {
    margin: 6px 0;
}

.edu-note {
    font-size: 0.9rem;
    opacity: 0.8;
}
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.skill {
    background: rgba(15, 23, 42, 0.9);
    border-radius: 16px;
    padding: 18px 20px;
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.progress {
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: rgba(30, 64, 175, 0.5);
    overflow: hidden;
    margin-bottom: 6px;
}

.progress > div {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(135deg, #4f46e5, #ec4899);
}

.skill-note {
    font-size: 0.9rem;
    opacity: 0.85;
}
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.project-card {
    background: rgba(15, 23, 42, 0.9);
    border-radius: 16px;
    padding: 18px 20px;
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.project-card h3 {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.project-card p {
    font-size: 0.92rem;
    opacity: 0.9;
    margin-bottom: 8px;
}

.project-card ul {
    list-style: disc;
    padding-left: 18px;
    font-size: 0.9rem;
    opacity: 0.9;
}
.contact-section {
    padding-bottom: 100px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
    gap: 30px;
    align-items: flex-start;
}

.contact-info h3 {
    margin-bottom: 8px;
}

.contact-info p {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.contact-info a {
    color: #a5b4fc;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-extra {
    margin-top: 16px;
}

.contact-extra h4 {
    font-size: 0.95rem;
    margin-bottom: 6px;
}

.contact-extra ul {
    list-style: disc;
    padding-left: 18px;
    font-size: 0.9rem;
    opacity: 0.9;
}
.contact-form-area {
    position: relative;
}

.contact-form {
    background: rgba(15, 23, 42, 0.9);
    border-radius: 16px;
    padding: 20px 22px;
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.form-row {
    margin-bottom: 12px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: rgba(15, 23, 42, 0.95);
    padding: 10px 12px;
    font-size: 0.92rem;
    color: #f5f5f5;
    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #4f46e5;
}

.contact-form textarea {
    min-height: 110px;
    resize: vertical;
}

.submit-btn {
    display: inline-block;
    text-align: center;
    cursor: pointer;
    width: 100%;
    border-radius: 999px;
    padding: 10px 0;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    border: none;
    color: white;
    font-weight: 500;
    font-size: 0.95rem;
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.5);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.submit-btn:hover {
    transform: translateY(-1px);
}
.popup {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.85);
    opacity: 0;
    pointer-events: none;
    transform: scale(0.96);
    transition: opacity 0.2s ease, transform 0.2s ease;
}
#show-popup:checked ~ .popup {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.popup-box {
    max-width: 360px;
    width: 100%;
    background: #020617;
    border-radius: 18px;
    padding: 24px 22px 18px;
    text-align: center;
    border: 1px solid rgba(148, 163, 184, 0.5);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
}

.popup-box h3 {
    margin-bottom: 8px;
    font-size: 1.3rem;
}

.popup-box p {
    font-size: 0.95rem;
    margin-bottom: 14px;
}

.close-btn {
    display: inline-block;
    margin-top: 4px;
    padding: 8px 22px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    cursor: pointer;
    font-size: 0.9rem;
}
footer {
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    padding: 18px 10%;
    text-align: center;
    font-size: 0.85rem;
    background: rgba(5, 8, 22, 0.98);
}

footer span {
    color: #a5b4fc;
}

.back-to-top {
    display: inline-block;
    margin-top: 4px;
    font-size: 0.85rem;
    text-decoration: none;
    color: #a5b4fc;
}
