@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Fira+Code:wght@400;500&display=swap');

/* CSS Variables - Modern 2026 Palette */
:root {
    --primary-color: #64ffda;
    /* Teal Accent */
    --secondary-color: #8892b0;
    /* Slate */
    --dark-bg: #0a192f;
    /* Deep Navy */
    --card-bg: rgba(17, 34, 64, 0.7);
    /* Glass-morphic Card */
    --text-color: #ccd6f6;
    /* Light Slate */
    --text-light: #a8b2d1;
    /* Lighter Slate */
    --border-color: rgba(100, 255, 218, 0.1);
    --transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
}

/* Reset & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-color);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
    font-size: 16px;
}

.container {
    max-width: 1100px;
    /* Tighter container for reading */
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation - Glassmorphism */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(12px);
    padding: 1.2rem 0;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    /* Subtle border */
    box-shadow: none;
    /* Removed heavy shadow */
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
    background: none;
    -webkit-text-fill-color: initial;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    /* Increased spacing */
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    /* Smaller, cleaner font */
    font-weight: 500;
    font-family: 'Fira Code', monospace;
    /* Tech feel for links */
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    display: none;
    /* Removing the underline animation for cleaner numerical indicator style (optional, or keeping simple hover) */
}

.nav-link:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 2px;
    /* Thinner lines */
    background: var(--primary-color);
    margin: 4px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    /* Left align for modern look */
    padding: 0;
    padding-top: 50px;
}

.hero-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-text {
    animation: fadeInUp 1s ease;
}

.hello {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 400;
    font-family: 'Fira Code', monospace;
    margin-bottom: 1.2rem;
    display: block;
    letter-spacing: 0.5px;
}

.name {
    font-size: 4rem;
    /* Slightly smaller for elegance */
    font-weight: 600;
    color: #e6f1ff;
    margin: 0;
    line-height: 1.1;
    letter-spacing: -1px;
}

.title {
    font-size: 3rem;
    /* Large secondary title */
    color: var(--text-light);
    margin: 0.5rem 0 1.5rem;
    font-weight: 600;
    line-height: 1.1;
    opacity: 0.8;
}

.description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 500px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 1.75rem;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    font-weight: 400;
    font-family: 'Fira Code', monospace;
    line-height: 1;
}

.btn-primary {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-primary:hover {
    background: rgba(100, 255, 218, 0.1);
    transform: translateY(-2px);
}

.btn-secondary {
    display: none;
    /* Removing secondary button from hero for minimalism, simplify CTA */
}

/* Keeping buttons simple */
.btn-outline {
    background: transparent;
    border: 1px solid var(--text-color);
    color: var(--text-color);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}


.hero-image {
    position: relative;
    z-index: 1;
    mix-blend-mode: normal;
    /* No blend mode for cleaner image */
}

.hero-image::after {
    content: "";
    /* Classic offset border */
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 4px;
    border: 2px solid var(--primary-color);
    top: 20px;
    left: 20px;
    z-index: -1;
    transition: var(--transition);
}

.hero-image:hover::after {
    top: 10px;
    left: 10px;
}

.hero-image img {
    width: 100%;
    height: auto;
    max-width: 350px;
    border-radius: 4px;
    filter: grayscale(100%) contrast(1.1);
    /* Stylized B&W */
    transition: var(--transition);
    display: block;
}

.hero-image:hover img {
    filter: none;
    /* Color on hover */
}

.scroll-indicator {
    display: none;
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #e6f1ff;
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    width: 100%;
}

.section-title::before {
    content: counter(section) ".";
    /* Requires CSS counter set up, skipping for simplicity */
    content: "0" counter(item) ".";
    /* Placeholder visual */
    content: "";
    /* Keeping simple line */
    margin-right: 10px;
    color: var(--primary-color);
    font-family: 'Fira Code', monospace;
    font-weight: 400;
    font-size: 1.4rem;
}

/* Redoing line for section title */
.section-title::after {
    content: "";
    display: block;
    width: 200px;
    height: 1px;
    background-color: #233554;
    margin-left: 20px;
    position: relative;
    top: 2px;
}

.section-subtitle {
    display: none;
    /* Removed for minimalism */
}

/* Glass-morphic Card Base (for reuse) */
.glass-card {
    background: var(--card-bg);
    border-radius: 4px;
    padding: 2rem;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.7);
    border-color: var(--primary-color);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    /* More space for text */
    gap: 50px;
}

.about-text p {
    margin-bottom: 15px;
    font-size: 1.05rem;
}

/* Skills Section - Minimalist Tags */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    /* Auto-fill for responsiveness */
    gap: 20px;
}

.skill-category {
    padding: 0;
}

.skill-category h3 {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.skill-tags {
    gap: 12px;
}

.skill-tag {
    background: rgba(17, 34, 64, 0.8);
    color: var(--primary-color);
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-family: 'Fira Code', monospace;
    margin: 0;
    transition: var(--transition);
    border: 1px solid transparent;
}

.skill-tag::before {
    display: none;
    /* Removing arrow for cleaner tag look */
}

.skill-tag:hover {
    background: rgba(100, 255, 218, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Experience Section */
.experience-content {
    display: grid;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.experience-card {
    position: relative;
    border-left: 3px solid var(--primary-color);
}

.exp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    gap: 10px;
}

.experience-card h3 {
    color: #e6f1ff;
    font-size: 1.25rem;
    font-weight: 600;
}

.experience-card h4 {
    color: var(--primary-color);
    font-size: 1rem;
    font-family: 'Fira Code', monospace;
    margin-bottom: 1rem;
}

.exp-date {
    color: var(--text-light);
    font-family: 'Fira Code', monospace;
    font-size: 0.85rem;
}

/* Certifications Section */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.cert-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.cert-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.cert-card h3 {
    font-size: 1.1rem;
    color: #e6f1ff;
    margin-bottom: 0.5rem;
}

.cert-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: auto;
}

.cert-date {
    margin-top: 1rem;
    font-size: 0.8rem;
    font-family: 'Fira Code', monospace;
    color: var(--text-light);
    opacity: 0.7;
}

/* Projects Section - 2026 Style Cards */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.project-card {
    background: var(--card-bg);
    border-radius: 6px;
    padding: 2rem 1.75rem;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 30px -10px rgba(2, 12, 27, 0.7);
    border-color: rgba(100, 255, 218, 0.3);
}

.project-card h3 {
    color: #e6f1ff;
    font-size: 1.35rem;
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.project-card h3:hover {
    color: var(--primary-color);
}

.project-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.key-learning {
    font-size: 0.85rem !important;
    background: rgba(100, 255, 218, 0.05);
    padding: 10px;
    border-radius: 4px;
    border-left: 3px solid var(--primary-color);
    margin-bottom: 1.5rem !important;
    color: var(--text-color) !important;
}

.key-learning strong {
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.project-tags {
    margin-top: auto;
    gap: 15px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.project-tags span {
    font-size: 0.8rem;
    color: var(--text-light);
    font-family: 'Fira Code', monospace;
}

.project-links {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    padding: 0;
}

.project-link {
    padding: 0;
    color: #e6f1ff;
    font-size: 1.2rem;
    /* Icons larger */
    margin: 0;
}

.project-link:hover {
    color: var(--primary-color);
}

/* Refined Contact Section */
.contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    width: 100%;
}

.contact-text p {
    margin-bottom: 2rem;
    color: var(--text-light);
    font-size: 1.15rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border-radius: 5px;
    /* Boxier, more tech/dev feel */
    border: 1px solid var(--text-light);
    text-decoration: none;
    transition: var(--transition);
    color: var(--text-light);
    background: transparent;
}

.social-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    background: rgba(100, 255, 218, 0.05);
}

.social-btn i {
    font-size: 1.4rem;
}

.location p {
    color: var(--text-light);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: "SF Mono", "Fira Code", monospace;
}

.location i {
    color: var(--primary-color);
}

/* Focus Section */
.focus {
    padding: 50px 0;
    text-align: center;
}

.focus p {
    margin: 10px 0;
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Footer */
.footer {
    background-color: transparent;
    padding: 2rem 0;
    text-align: center;
    color: var(--text-light);
    font-family: "SF Mono", "Fira Code", monospace;
    font-size: 0.9rem;
}

.footer p {
    margin-bottom: 0.5rem;
}

.footer i {
    color: var(--primary-color);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .name {
        font-size: 2.5rem;
    }

    .description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .social-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-grid,
    .skills-grid {
        grid-template-columns: 1fr;
    }
}





/* Education Section - Minimal */
.education-content {
    max-width: 800px;
    margin: 0 auto;
}

.education-card {
    background: transparent;
    padding: 0;
    border: none;
    border-left: 2px solid var(--border-color);
    padding-left: 2rem;
    display: block;
    transition: var(--transition);
}

.education-card:hover {
    transform: translateX(10px);
    border-left-color: var(--primary-color);
    box-shadow: none;
}

.edu-icon {
    display: none;
    /* Removing icon for pure text minimalism */
}

.edu-details h3 {
    font-size: 1.3rem;
    color: #e6f1ff;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.edu-details h4 {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-weight: 400;
}

.institution {
    color: var(--primary-color);
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.duration,
.grade {
    color: var(--text-light);
    font-size: 0.85rem;
    font-family: 'Fira Code', monospace;
    opacity: 0.7;
}

/* Contact Section - Centered & Clean */
.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 100px auto;
}

.contact-text p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.social-links {
    gap: 30px;
}

.social-btn {
    width: auto;
    height: auto;
    border: none;
    padding: 0;
    color: var(--text-light);
    transition: var(--transition);
}

.social-btn i {
    font-size: 1.5rem;
}

.social-btn:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
    background: transparent;
}