/* Custom Properties / Variables */
:root {
    --bg-color: #0a192f;
    --bg-secondary: #112240;
    --bg-tertiary: #233554;
    --accent-color: #64ffda;
    --accent-transparent: rgba(100, 255, 218, 0.1);
    --text-main: #ccd6f6;
    --text-secondary: #8892b0;
    --font-sans: 'Inter', sans-serif;
    --font-mono: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
    --transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--text-secondary) var(--bg-color);
}

body {
    background-color: var(--bg-color);
    color: var(--text-secondary);
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-main);
    font-weight: 600;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

ul {
    list-style: none;
}

section {
    padding: 100px 0;
    max-width: 1000px;
    margin: 0 auto;
    width: 90%;
}

/* Typography Utilities */
.section-title {
    display: flex;
    align-items: center;
    font-size: clamp(26px, 5vw, 32px);
    margin-bottom: 40px;
    white-space: nowrap;
}

.section-title::before {
    margin-right: 10px;
    color: var(--accent-color);
    font-family: var(--font-mono);
    font-size: clamp(16px, 3vw, 20px);
    font-weight: 400;
}

.section-title::after {
    content: "";
    display: block;
    height: 1px;
    width: 300px;
    background-color: var(--bg-tertiary);
    margin-left: 20px;
}

/* Buttons */
.btn-primary {
    color: var(--accent-color);
    background-color: transparent;
    border: 1px solid var(--accent-color);
    border-radius: 4px;
    padding: 1rem 1.75rem;
    font-size: 14px;
    font-family: var(--font-mono);
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary:hover {
    background-color: var(--accent-transparent);
}

.btn-outline {
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 13px;
    font-family: var(--font-mono);
}

.btn-outline:hover {
    background-color: var(--accent-transparent);
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    background-color: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(10px);
    z-index: 100;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links li a {
    color: var(--text-main);
    font-size: 14px;
}

.nav-links li a:hover {
    color: var(--accent-color);
}

.hamburger {
    display: none;
    cursor: pointer;
    color: var(--accent-color);
    font-size: 24px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 80px;
}

.hero-content {
    max-width: 600px;
}

.greeting {
    color: var(--accent-color);
    font-family: var(--font-mono);
    margin-bottom: 20px;
    font-size: 16px;
}

.name {
    font-size: clamp(40px, 8vw, 70px);
    line-height: 1.1;
    margin-bottom: 10px;
}

.title {
    font-size: clamp(30px, 6vw, 50px);
    color: var(--text-secondary);
    line-height: 1.1;
    margin-bottom: 20px;
}

.tagline {
    font-size: 18px;
    max-width: 500px;
    margin-bottom: 40px;
}

.location {
    margin-top: 20px;
    font-family: var(--font-mono);
    font-size: 14px;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.social-links a {
    color: var(--text-secondary);
    font-size: 24px;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

/* Hero Image Placeholder with modern border design */
.hero-image-container {
    position: relative;
    max-width: 300px;
    width: 100%;
    margin-left: 50px;
}

.image-wrapper {
    position: relative;
    border-radius: 4px;
    z-index: 1;
}

.profile-img {
    width: 100%;
    border-radius: 4px;
    display: block;
    transition: var(--transition);
}

.image-wrapper::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-color);
    border-radius: 4px;
    top: 20px;
    left: 20px;
    z-index: -1;
    transition: var(--transition);
}

.image-wrapper:hover::after {
    top: 15px;
    left: 15px;
}

/* About Section */
.about-content {
    display: flex;
    gap: 50px;
}

.about-text p {
    margin-bottom: 15px;
    font-size: 18px;
}

/* Education Section */
.resume-item {
    background-color: var(--bg-secondary);
    padding: 30px;
    border-radius: 4px;
    border-left: 4px solid var(--accent-color);
    box-shadow: 0 10px 30px -15px rgba(2,12,27,0.7);
}

.resume-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 5px;
}

.resume-header h3 {
    font-size: 22px;
}

.date {
    font-family: var(--font-mono);
    color: var(--accent-color);
    font-size: 14px;
}

.institution {
    color: var(--text-secondary);
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 15px;
}

.education-details li {
    margin-bottom: 5px;
}

/* Highlighted Project */
.featured-card {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    align-items: center;
}

.featured-content {
    grid-column: 1 / 8;
    grid-row: 1;
    position: relative;
    z-index: 2;
}

.overline {
    color: var(--accent-color);
    font-family: var(--font-mono);
    font-size: 14px;
    margin-bottom: 10px;
}

.featured-title {
    font-size: clamp(24px, 5vw, 28px);
    margin-bottom: 20px;
}

.featured-description {
    background-color: var(--bg-secondary);
    padding: 25px;
    border-radius: 4px;
    box-shadow: 0 10px 30px -15px rgba(2,12,27,0.7);
    color: var(--text-main);
    font-size: 16px;
}

.featured-description p {
    margin-bottom: 15px;
}

.highlight-text {
    color: var(--accent-color);
    font-weight: 500;
}

.tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-secondary);
}

.featured-image {
    grid-column: 6 / -1;
    grid-row: 1;
    position: relative;
    z-index: 1;
}

.img-placeholder {
    width: 100%;
    height: 350px;
    background-color: var(--bg-tertiary);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: var(--text-secondary);
    opacity: 0.8;
    transition: var(--transition);
}

.featured-card:hover .img-placeholder {
    opacity: 1;
    color: var(--accent-color);
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.skill-category {
    background-color: var(--bg-secondary);
    padding: 25px;
    border-radius: 4px;
    transition: var(--transition);
}

.skill-category:hover {
    transform: translateY(-5px);
}

.skill-category h3 {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    color: var(--accent-color);
}

.skill-category ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.skill-category li {
    font-size: 15px;
    display: flex;
    align-items: center;
}

.skill-category li::before {
    content: "▹";
    color: var(--accent-color);
    line-height: 12px;
    margin-right: 10px;
    font-size: 18px;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.project-card {
    background-color: var(--bg-secondary);
    padding: 30px;
    border-radius: 4px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-top {
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.folder-icon {
    font-size: 40px;
    color: var(--accent-color);
}

.project-title {
    font-size: 20px;
    margin-bottom: 15px;
}

.project-desc {
    font-size: 15px;
    flex-grow: 1;
    margin-bottom: 20px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-family: var(--font-mono);
    font-size: 12px;
}

/* Leadership Timeline */
.timeline {
    border-left: 2px solid var(--bg-tertiary);
    padding-left: 30px;
    margin-left: 10px;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -37px;
    top: 5px;
    width: 12px;
    height: 12px;
    background-color: var(--accent-color);
    border-radius: 50%;
    outline: 4px solid var(--bg-color);
}

.timeline-title {
    font-size: 20px;
    margin-bottom: 5px;
}

.timeline-org {
    color: var(--accent-color);
    font-family: var(--font-mono);
    font-size: 14px;
    margin-bottom: 12px;
    font-weight: 500;
}

/* Contact */
.contact {
    text-align: center;
    max-width: 600px;
}

.contact .title {
    font-size: clamp(40px, 5vw, 60px);
    margin-bottom: 20px;
}

.contact-desc {
    margin-bottom: 30px;
    font-size: 18px;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.contact-link {
    font-size: 16px;
    font-family: var(--font-mono);
}

.btn-large {
    padding: 1.25rem 2rem;
    font-size: 16px;
}

/* Footer */
.footer {
    text-align: center;
    padding: 30px;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 900px) {
    .section-title::after {
        width: 100%;
        max-width: 200px;
    }
    
    .hero {
        flex-direction: column;
        justify-content: center;
        text-align: left;
    }
    
    .hero-image-container {
        margin-left: 0;
        margin-top: 50px;
        align-self: center;
    }

    .featured-card {
        display: flex;
        flex-direction: column;
    }

    .featured-content {
        grid-column: 1 / -1;
        padding: 30px;
        background-color: var(--bg-secondary);
        z-index: 2;
    }

    .featured-description {
        box-shadow: none;
        padding: 0;
        background-color: transparent;
    }

    .featured-image {
        display: none;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
        z-index: 101;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70vw;
        height: 100vh;
        background-color: var(--bg-secondary);
        flex-direction: column;
        justify-content: center;
        transition: var(--transition);
        box-shadow: -10px 0px 30px -15px rgba(2, 12, 27, 0.7);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 20px 0;
    }

    .resume-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .contact-info {
        flex-direction: column;
        gap: 15px;
    }
}
