:root {
    --primary-color: #64ffda;
    --text-color: #ccd6f6;
    --secondary-text-color: #8892b0;
    --background-color: #0a192f;
    --secondary-background: #112240;
    --font-mono: 'Roboto Mono', 'Source Code Pro', 'Consolas', monospace;
    --font-sans: 'Calibre', 'Inter', 'San Francisco', 'SF Pro Text', -apple-system, system-ui, sans-serif;
    --font-alt: 'Poppins', 'Montserrat', 'Open Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 150px;
    position: relative; /* Ensure proper positioning */
    z-index: 1; /* Ensure content is above background */
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    transition: transform 0.3s ease;
}

header.scroll-down {
    transform: translateY(-100%);
}

header.scroll-up {
    transform: translateY(0);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 150px;
}

.logo {
    font-family: var(--font-mono);
    font-size: 24px;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 14px;
    padding: 10px;
    transition: color 0.3s ease;
}

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

/* Hero Section */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1000px;
    animation: fadeIn 1s ease-out;
    z-index: 2;
}

.hero-animation {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    z-index: 1;
}

/* Code Window Animation */
.code-window {
    background-color: var(--secondary-background);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: var(--font-mono);
    font-size: 14px;
    line-height: 1.5;
    animation: fadeIn 1s ease-out;
}

.window-header {
    background-color: #1e1e1e;
    padding: 10px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #333;
}

.window-buttons {
    display: flex;
    gap: 6px;
    margin-right: 10px;
}

.window-button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.window-button:nth-child(1) {
    background-color: #ff5f56;
}

.window-button:nth-child(2) {
    background-color: #ffbd2e;
}

.window-button:nth-child(3) {
    background-color: #27c93f;
}

.window-title {
    color: #aaa;
    font-size: 12px;
}

.code-content {
    padding: 15px;
    color: #d4d4d4;
    position: relative;
    height: calc(100% - 40px);
    overflow: hidden;
}

.code-line {
    margin-bottom: 5px;
    opacity: 0;
    animation: fadeIn 0.5s ease-out forwards;
}

.indent {
    padding-left: 20px;
}

.indent-2 {
    padding-left: 40px;
}

.code-keyword {
    color: #569cd6;
}

.code-variable {
    color: #9cdcfe;
}

.code-property {
    color: #9cdcfe;
}

.code-string {
    color: #ce9178;
}

.code-number {
    color: #b5cea8;
}

.code-function {
    color: #dcdcaa;
}

.code-comment {
    color: #6a9955;
}

.code-class {
    color: #4ec9b0;
}

.indent-3 {
    padding-left: 60px;
}

.cursor {
    display: inline-block;
    width: 2px;
    height: 18px;
    background-color: var(--primary-color);
    margin-left: 5px;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Animation delays for code lines */
.code-line:nth-child(1) { animation-delay: 0.1s; }
.code-line:nth-child(2) { animation-delay: 0.2s; }
.code-line:nth-child(3) { animation-delay: 0.3s; }
.code-line:nth-child(4) { animation-delay: 0.4s; }
.code-line:nth-child(5) { animation-delay: 0.5s; }
.code-line:nth-child(6) { animation-delay: 0.6s; }
.code-line:nth-child(7) { animation-delay: 0.7s; }
.code-line:nth-child(8) { animation-delay: 0.8s; }
.code-line:nth-child(9) { animation-delay: 0.9s; }
.code-line:nth-child(10) { animation-delay: 1.0s; }
.code-line:nth-child(11) { animation-delay: 1.1s; }
.code-line:nth-child(12) { animation-delay: 1.2s; }
.code-line:nth-child(13) { animation-delay: 1.3s; }
.code-line:nth-child(14) { animation-delay: 1.4s; }
.code-line:nth-child(15) { animation-delay: 1.5s; }
.code-line:nth-child(16) { animation-delay: 1.6s; }
.code-line:nth-child(17) { animation-delay: 1.7s; }
.code-line:nth-child(18) { animation-delay: 1.8s; }
.code-line:nth-child(19) { animation-delay: 1.9s; }
.code-line:nth-child(20) { animation-delay: 2.0s; }

@media (max-width: 1500px) {
    .hero-animation {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        top: auto;
        transform: none;
        width: 100%;
        height: 350px;
        margin-top: 0;
        display: block;
        z-index: 1;
    }
    
    .code-window {
        font-size: 11px;
        height: 100%;
        border-radius: 0;
    }
    
    .code-content {
        padding: 8px;
        height: calc(100% - 35px);
        overflow-y: auto;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
    }
    
    .code-content::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    
    .code-line {
        margin-bottom: 2px;
    }
    
    .indent {
        padding-left: 12px;
    }
    
    .indent-2 {
        padding-left: 24px;
    }
    
    .hero-content {
        margin-bottom: 370px;
    }
}

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

.name {
    font-size: 72px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.subtitle {
    font-size: 72px;
    line-height: 1.1;
    color: var(--secondary-text-color);
    margin-bottom: 20px;
}

.description {
    max-width: 540px;
    color: var(--secondary-text-color);
    font-size: 20px;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--background-color);
    border: none;
    border-radius: 4px;
    padding: 12px 24px;
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(100, 255, 218, 0.3);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.cta-button:hover {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(100, 255, 218, 0.4);
}

.cta-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.cta-button:hover::after {
    left: 100%;
}

/* Sections */
section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 32px;
    margin-bottom: 40px;
    color: var(--text-color);
    animation: slideIn 0.8s ease-out;
    position: relative;
}

/* General section title style */
.section-title::after {
    content: "";
    display: block;
    width: 70px;
    height: 1px;
    background-color: var(--primary-color);
    margin-top: 10px;
}

/* Center alignment for contact section title */
#contact .section-title {
    text-align: center;
}

#contact .section-title::after {
    margin: 10px auto 0;
}

/* Enhanced About Section */
.about-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 50px;
    align-items: start;
    animation: fadeIn 1s ease-out;
}

.about-intro {
    margin-bottom: 40px;
    position: relative;
    padding-left: 60px;
}

.about-icon {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background-color: rgba(100, 255, 218, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 24px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.about-intro:hover .about-icon {
    transform: scale(1.1);
    background-color: rgba(100, 255, 218, 0.2);
}

.about-intro h3 {
    color: var(--text-color);
    font-size: 24px;
    margin-bottom: 15px;
}

.about-achievements {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.achievement-item {
    background-color: var(--secondary-background);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.achievement-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.achievement-icon {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.achievement-content h4 {
    font-size: 28px;
    color: var(--text-color);
    margin-bottom: 5px;
}

.achievement-content p {
    font-size: 14px;
    color: var(--secondary-text-color);
}

.tech-stack {
    margin-top: 0;
}

.tech-stack h3 {
    color: var(--text-color);
    font-size: 24px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tech-stack h3 i {
    color: var(--primary-color);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.tech-item {
    background-color: var(--background-color);
    border-radius: 8px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-5px);
    background-color: rgba(100, 255, 218, 0.05);
}

.tech-item i {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.tech-item span {
    font-size: 14px;
    color: var(--text-color);
    text-align: center;
}

#skills {
    padding: 100px 0;
    background-color: var(--secondary-background);
}

#skills .section-title {
    text-align: center;
    margin-bottom: 60px;
}

#skills .section-title::after {
    margin: 10px auto 0;
}

.about-details-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.education-section {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.education-section h3 {
    color: var(--text-color);
    font-size: 24px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.education-section h3 i {
    color: var(--primary-color);
}

.education-timeline {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.education-item {
    display: flex;
    gap: 20px;
    background-color: var(--background-color);
    padding: 20px;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.education-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.education-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(100, 255, 218, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 20px;
    flex-shrink: 0;
}

.education-content {
    flex-grow: 1;
}

.education-content h4 {
    color: var(--text-color);
    font-size: 18px;
    margin-bottom: 5px;
}

.education-content .institution {
    color: var(--primary-color);
    font-size: 14px;
    margin-bottom: 5px;
}

.education-content .year {
    color: var(--secondary-text-color);
    font-size: 14px;
    margin-bottom: 5px;
}

.education-content .grade {
    color: var(--secondary-text-color);
    font-size: 14px;
    font-style: italic;
}

@media (max-width: 768px) {
    #skills {
        padding: 60px 20px;
    }

    .about-details-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 10px;
    }

    .education-timeline {
        padding: 0 10px;
    }

    .education-item {
        padding: 15px;
    }

    .education-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    #skills {
        padding: 40px 15px;
    }

    .about-details-container {
        padding: 0 10px;
    }

    .tech-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 0 5px;
    }

    .education-timeline {
        padding: 0 5px;
    }

    .education-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* Experience Section */
.experience-content {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 50px;
    animation: fadeIn 1s ease-out;
    position: relative;
    min-height: 300px; /* Add minimum height to prevent content jumping */
}

.tabs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tab-button {
    background: transparent;
    border: none;
    color: var(--secondary-text-color);
    font-family: var(--font-alt);
    font-size: 15px;
    padding: 10px 15px;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 2px solid transparent;
}

.tab-button:hover {
    color: var(--primary-color);
    background-color: rgba(100, 255, 218, 0.05);
}

.tab-button.active {
    color: var(--primary-color);
    background-color: rgba(100, 255, 218, 0.1);
    border-left: 2px solid var(--primary-color);
}

.tab-content {
    position: absolute;
    top: 0;
    left: calc(20% + 30px);
    width: calc(80% - 30px);
    opacity: 0;
    visibility: hidden;
    display: none;
    transition: all 0.3s ease;
    transform: translateY(10px);
    pointer-events: none;
}

.tab-content.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    display: block;
    transform: translateY(0);
    pointer-events: auto;
}

.tab-content h3 {
    color: var(--text-color);
    font-size: 20px;
    margin-bottom: 10px;
}

.tab-content h3 span {
    color: var(--primary-color);
}

.tab-content .date {
    font-family: var(--font-alt);
    font-size: 14px;
    color: var(--secondary-text-color);
    margin-bottom: 10px;
}

.tab-content .location {
    font-family: var(--font-alt);
    font-size: 14px;
    color: var(--secondary-text-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-content .location i {
    color: var(--primary-color);
    font-size: 12px;
}

.tab-content ul {
    list-style: none;
}

.tab-content ul li {
    color: var(--secondary-text-color);
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.tab-content ul li::before {
    content: "▹";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* Projects Section */
#projects {
    padding: 100px 0;
    background-color: var(--background-color);
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.project-card {
    background-color: var(--secondary-background);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.project-image {
    position: relative;
    width: 100%;
    height: 200px;
    background-color: var(--secondary-background);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
}

.project-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}

.project-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.project-title-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.project-title-overlay h3 {
    color: #0a192f;
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    padding: 0 20px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.project-card:hover .project-icon img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-links {
    display: flex;
    gap: 20px;
}

.project-link {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--background-color);
    font-size: 18px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.project-link:hover {
    transform: translateY(-3px);
    background-color: var(--text-color);
}

.project-content {
    padding: 20px;
}

.project-title {
    color: var(--text-color);
    font-size: 20px;
    margin-bottom: 10px;
}

.project-description {
    color: var(--secondary-text-color);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.project-tech span {
    background-color: rgba(100, 255, 218, 0.1);
    color: var(--primary-color);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-family: var(--font-mono);
}

@media (max-width: 768px) {
    .projects-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .project-image {
        height: 180px;
    }

    .project-content {
        padding: 15px;
    }

    .project-title {
        font-size: 18px;
    }

    .project-description {
        font-size: 13px;
    }
}

/* Contact Section */
#contact {
    text-align: center;
    padding: 100px 0;
}

.contact-description {
    max-width: 600px;
    margin: 0 auto 40px;
    color: var(--secondary-text-color);
    font-size: 18px;
}

.contact-email {
    margin-bottom: 40px;
}

.email-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-family: var(--font-mono);
    font-size: 18px;
    text-decoration: none;
    padding: 15px 25px;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    transition: all 0.3s ease;
    background-color: rgba(100, 255, 218, 0.05);
}

.email-link:hover {
    background-color: rgba(100, 255, 218, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(100, 255, 218, 0.2);
}

.email-link i {
    margin-right: 10px;
    font-size: 20px;
}

.contact-social {
    margin-top: 30px;
}

.contact-social p {
    color: var(--secondary-text-color);
    margin-bottom: 15px;
    font-size: 16px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icons a {
    color: var(--text-color);
    font-size: 22px;
    transition: all 0.3s ease;
    display: inline-block;
}

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

/* Footer */
footer {
    text-align: center;
    padding: 20px 0;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.social-links a {
    color: var(--text-color);
    font-size: 18px;
    transition: all 0.3s ease;
    display: inline-block;
}

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

.copyright {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--secondary-text-color);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { transform: translateX(-20px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Mobile menu styles */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100vh;
    background-color: var(--background-color);
    padding: 100px 40px 40px;
    transition: right 0.3s ease;
    z-index: 99;
}

.mobile-menu.active {
    right: 0;
    display: block;
}

.mobile-menu .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Responsive Design */
@media (max-width: 1080px) {
    .container {
        padding: 0 100px;
    }
    
    nav {
        padding: 0 100px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
        margin-bottom: 40px;
    }
    
    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 50px;
    }
    
    nav {
        padding: 0 50px;
    }
    
    .name, .subtitle {
        font-size: 48px;
    }
    
    .about-content,
    .experience-content,
    .project {
        grid-template-columns: 1fr;
    }
    
    .project {
        gap: 30px;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .email-link {
        font-size: 16px;
        padding: 12px 20px;
    }
    
    .social-icons a {
        font-size: 20px;
    }
    
    .experience-content {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .tab-content {
        position: relative;
        left: 0;
        width: 100%;
        margin-top: 15px;
    }
    
    .cursor-follower {
        display: none;
    }
    
    .about-achievements {
        grid-template-columns: 1fr;
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-details-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .education-section {
        margin-top: 40px;
        padding-top: 40px;
        border-top: 1px solid rgba(100, 255, 218, 0.1);
    }

    .education-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .education-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 25px;
    }
    
    nav {
        padding: 0 25px;
    }
    
    .name, .subtitle {
        font-size: 32px;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu {
        width: 100%;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .cta-button {
        padding: 12px 18px;
        font-size: 12px;
    }
    
    .email-link {
        font-size: 14px;
        padding: 10px 15px;
    }
    
    .email-link i {
        font-size: 16px;
    }
    
    .social-icons a {
        font-size: 18px;
    }
    
    .cursor-follower {
        display: none;
    }
}

/* Cursor follower */
.cursor-follower {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

.cursor-circle {
    position: fixed;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
    mix-blend-mode: difference;
}

.cursor-circle.outer {
    width: 1000px;
    height: 1000px;
    background-color: rgba(100, 255, 218, 0.05);
}

.cursor-circle.middle {
    width: 500px;
    height: 500px;
    background-color: rgba(100, 255, 218, 0.07);
    left: 50%;
    top: 50%;
}

.cursor-circle.inner {
    width: 200px;
    height: 200px;
    background-color: rgba(100, 255, 218, 0.3);
    left: 50%;
    top: 50%;
}

/* Hide cursor follower on mobile */
@media (max-width: 768px) {
    .cursor-follower {
        display: none;
    }
}

/* Remove cursor hiding for interactive elements */
a, button, .tab-button, input, textarea {
    cursor: pointer;
}

/* Creative Animation in About Section */
.creative-animation {
    width: 300px;
    height: 300px;
    position: relative;
    background-color: var(--secondary-background);
    border-radius: 5px;
    overflow: hidden;
}

.animation-circle {
    position: absolute;
    border-radius: 50%;
    background: var(--primary-color);
    opacity: 0.1;
    animation: float 8s infinite ease-in-out;
}

.circle-1 {
    width: 150px;
    height: 150px;
    top: -75px;
    left: -75px;
    animation-delay: 0s;
}

.circle-2 {
    width: 100px;
    height: 100px;
    top: 50%;
    right: -50px;
    animation-delay: 1s;
}

.circle-3 {
    width: 80px;
    height: 80px;
    bottom: -40px;
    left: 50%;
    animation-delay: 2s;
}

.circle-4 {
    width: 120px;
    height: 120px;
    top: 20%;
    left: 20%;
    animation-delay: 3s;
}

.circle-5 {
    width: 60px;
    height: 60px;
    bottom: 20%;
    right: 20%;
    animation-delay: 4s;
}

.animation-dots {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 8px;
}

.animation-dots span {
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
    animation: pulse 2s infinite ease-in-out;
}

.animation-dots span:nth-child(2) { animation-delay: 0.2s; }
.animation-dots span:nth-child(3) { animation-delay: 0.4s; }
.animation-dots span:nth-child(4) { animation-delay: 0.6s; }
.animation-dots span:nth-child(5) { animation-delay: 0.8s; }

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(20px, 20px) rotate(90deg);
    }
    50% {
        transform: translate(0, 40px) rotate(180deg);
    }
    75% {
        transform: translate(-20px, 20px) rotate(270deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.5);
        opacity: 1;
    }
}

/* Career Timeline */
.career-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.career-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: var(--primary-color);
    opacity: 0.3;
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background-color: var(--primary-color);
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 0 4px rgba(100, 255, 218, 0.1);
}

.timeline-content {
    width: 45%;
    padding: 20px;
    background-color: var(--secondary-background);
    border-radius: 5px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 55%;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 55%;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.timeline-date {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.timeline-content h3 {
    color: var(--text-color);
    font-size: 20px;
    margin-bottom: 10px;
}

.timeline-content h3 span {
    color: var(--primary-color);
}

.timeline-content .location {
    font-family: var(--font-alt);
    font-size: 14px;
    color: var(--secondary-text-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.timeline-content .location i {
    color: var(--primary-color);
    font-size: 12px;
}

.timeline-content ul {
    list-style: none;
}

.timeline-content ul li {
    color: var(--secondary-text-color);
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.timeline-content ul li::before {
    content: "▹";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* Responsive adjustments for career timeline */
@media (max-width: 768px) {
    .career-timeline::before {
        left: 30px;
    }
    
    .timeline-dot {
        left: 30px;
    }
    
    .timeline-content {
        width: 80%;
        margin-left: 60px !important;
        margin-right: 0 !important;
    }
}

/* Enhanced Creative Photo Display */
.photo-container {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
    perspective: 1000px;
}

.photo-frame {
    position: relative;
    width: 250px;
    height: 250px;
    margin: 25px auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 2;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    transform-style: preserve-3d;
}

.photo-frame:hover {
    transform: scale(1.05) rotateY(5deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: brightness(0.9);
}

.photo-frame:hover .profile-photo {
    transform: scale(1.1);
    filter: brightness(1);
}

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10, 25, 47, 0.9), transparent);
    padding: 20px 10px 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
}

.photo-frame:hover .photo-overlay {
    opacity: 1;
}

.overlay-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--primary-color);
}

.overlay-content i {
    font-size: 24px;
    margin-bottom: 5px;
}

.overlay-content span {
    font-family: var(--font-mono);
    font-size: 14px;
    text-align: center;
}

.photo-decoration {
    position: absolute;
    background-color: var(--primary-color);
    opacity: 0.15;
    z-index: 1;
    animation: float 8s infinite ease-in-out;
    border-radius: 50%;
}

.decoration-1 {
    width: 100px;
    height: 100px;
    top: 0;
    left: 0;
    animation-delay: 0s;
}

.decoration-2 {
    width: 70px;
    height: 70px;
    bottom: 20px;
    right: 0;
    animation-delay: 1s;
}

.decoration-3 {
    width: 50px;
    height: 50px;
    bottom: 0;
    left: 50px;
    animation-delay: 2s;
}

.decoration-4 {
    width: 40px;
    height: 40px;
    top: 50px;
    right: 50px;
    animation-delay: 3s;
}

.decoration-5 {
    width: 30px;
    height: 30px;
    top: 150px;
    left: 20px;
    animation-delay: 4s;
}

.decoration-6 {
    width: 20px;
    height: 20px;
    bottom: 50px;
    right: 20px;
    animation-delay: 5s;
}

.tech-badge {
    position: absolute;
    width: 40px;
    height: 40px;
    background-color: var(--secondary-background);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 3;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: pulse 3s infinite ease-in-out;
}

.tech-badge:hover {
    transform: scale(1.2);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.badge-1 {
    top: 20px;
    right: 20px;
    animation-delay: 0s;
}

.badge-2 {
    bottom: 20px;
    left: 20px;
    animation-delay: 0.5s;
}

.badge-3 {
    bottom: 70px;
    right: 70px;
    animation-delay: 1s;
}

.photo-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    opacity: 0.3;
    z-index: 1;
    animation: rotate 10s linear infinite;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(10px, 15px) rotate(5deg);
    }
    50% {
        transform: translate(0, 20px) rotate(0deg);
    }
    75% {
        transform: translate(-10px, 15px) rotate(-5deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Responsive adjustments for photo display */
@media (max-width: 768px) {
    .photo-container {
        width: 250px;
        height: 250px;
    }
    
    .photo-frame {
        width: 200px;
        height: 200px;
    }
    
    .tech-badge {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
} 