/* Brutalist Portfolio - Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* Hide scrollbar for Chrome, Safari and Opera */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
}

html::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

body {
    font-family: 'Courier New', monospace;
    line-height: 1.4;
    color: #000;
    background-color: #fff;
    overflow-x: hidden;
    cursor: crosshair;
    /* Hide scrollbar for Chrome, Safari and Opera */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
}

body::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Brutalist Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Courier New', monospace;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Navigation - Brutalist Style */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #000;
    z-index: 1000;
    border-bottom: 8px solid #fff;
    box-shadow: 0 8px 0 #000;
}
.nav-logo {
    display: flex;
    align-items: center;
    margin-right: auto;
    text-decoration: none;
}

.logo-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff; /* change as needed */
    border-radius: 50%;
    width: 40px;  /* Adjust size */
    height: 40px; /* Adjust size */
    padding: 5px;
    box-shadow: 0 0 5px rgba(0,0,0,0.1); /* Optional shadow */
}

.logo-img {
    width: 160%;
    height: auto;
    border-radius: 50%; /* If you want the image itself round too */
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 80px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
}

.nav-link {
    text-decoration: none;
    color: #fff;
    font-weight: 900;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 20px 24px;
    border-right: 2px solid #fff;
    transition: all 0.2s ease;
    background: #000;
}

.nav-link:hover {
    background: #fff;
    color: #000;
    transform: translateY(-4px);
    box-shadow: 0 4px 0 #000;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 10px;
}

.bar {
    width: 30px;
    height: 4px;
    background: #fff;
    transition: all 0.2s ease;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Hero Section - Brutalist */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    position: relative;
    border-bottom: 12px solid #000;
    padding: 120px 0 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(0, 0, 0, 0.02) 10px,
            rgba(0, 0, 0, 0.02) 20px
        );
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    width: 100%;
}

.hero-left {
    flex: 1;
    text-align: left;
}

.hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-photo {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    width: clamp(300px, 30vw, 450px);
    height: clamp(300px, 30vw, 450px);
    object-fit: cover;
    object-position: center;
    border-radius: 20px;
    border: none;
    transition: all 0.3s ease;
    transform: rotate(-3deg);
    box-shadow: 0 0 0 transparent;
}

.hero-image:hover {
    transform: rotate(0deg) translate(-8px, -8px);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 6rem);
    font-weight: 900;
    line-height: 0.9;
    color: #000;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 4px;
    white-space: nowrap;
}

.hero-role {
    font-size: clamp(1.5rem, 4vw, 4rem);
    font-weight: 900;
    line-height: 0.8;
    color: #000;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.role-line {
    display: block;
    transform: skew(2deg);
    margin: 5px 0;
}

.role-line:nth-child(2) {
    transform: skew(-2deg);
    margin-left: 20px;
}

.hero-buttons {
    display: flex;
    gap: 0;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn {
    display: inline-block;
    padding: 20px 40px;
    text-decoration: none;
    font-weight: 900;
    font-size: clamp(12px, 2vw, 18px);
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.2s ease;
    border: 6px solid #000;
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: #000;
    color: #fff;
    margin-right: -6px;
}

.btn-primary:hover {
    background: #fff;
    color: #000;
    transform: translate(-8px, -8px);
    box-shadow: 8px 8px 0 #000;
    z-index: 2;
    position: relative;
}

.btn-secondary {
    background: #fff;
    color: #000;
}

.btn-secondary:hover {
    background: #000;
    color: #fff;
    transform: translate(8px, -8px);
    box-shadow: -8px 8px 0 #000;
    z-index: 1;
    position: relative;
}

/* Sections - Brutalist */
.section {
    padding: 100px 0;
    position: relative;
    border-bottom: 8px solid #000;
}

.section-dark {
    background: #000;
    color: #fff;
}

.section-dark .section-title {
    color: #000;
    background: #fff;
    text-shadow: none;
    box-shadow: 10px 10px 0 #fff;
    border-color: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

.section-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 3px;
    transform: skew(-2deg);
    display: inline-block;
    border: 6px solid #000;
    padding: 15px 30px;
    background: #fff;
    box-shadow: 10px 10px 0 #000;
    color: #000;
}

.skills-title {
    font-size: clamp(1.5rem, 4vw, 3rem);
    padding: 12px 24px;
    margin-bottom: 20px;
}

.section-line {
    width: 150px;
    height: 6px;
    background: #000;
    margin: 0 auto;
    transform: skew(-8deg);
}

.section-dark .section-line {
    background: #fff;
}

/* About Section - Brutalist */
.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-intro {
    margin-bottom: 60px;
}

.intro-text {
    background: #000;
    color: #fff;
    padding: 40px;
    border: 6px solid #000;
    transform: rotate(1deg);
    margin-bottom: 40px;
}

.intro-title {
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 900;
    margin-bottom: 20px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 3px;
    border-bottom: 4px solid #fff;
    padding-bottom: 10px;
}

.intro-description {
    font-size: clamp(0.8rem, 2vw, 1.2rem);
    line-height: 1.6;
    color: #fff;
    font-weight: 600;
    letter-spacing: 1px;
}

.skills-section {
    margin-top: 40px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.skill-category {
    background: #fff;
    border: 8px solid #000;
    padding: 30px;
    transition: all 0.2s ease;
    position: relative;
    transform: rotate(-1deg);
}

.skill-category:nth-child(2) {
    transform: rotate(1deg);
}

.skill-category:nth-child(3) {
    transform: rotate(-0.5deg);
}

.skill-category:hover {
    transform: translate(-6px, -6px) rotate(0deg);
    box-shadow: 6px 6px 0 #000;
}

.skill-category h3 {
    font-size: clamp(1rem, 2.5vw, 1.6rem);
    font-weight: 900;
    margin-bottom: 25px;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 4px solid #000;
    padding-bottom: 8px;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    background: #000;
    color: #fff;
    padding: 10px 16px;
    font-size: clamp(0.7rem, 1.5vw, 0.9rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 3px solid #000;
}

.skill-tag:hover {
    background: #fff;
    color: #000;
    transform: translate(-2px, -2px);
    box-shadow: 2px 2px 0 #000;
}

/* Experience Timeline - Brutalist */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 6px;
    background: #fff;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    border: 2px solid #000;
}

.timeline-item {
    padding: 30px;
    position: relative;
    background-color: inherit;
    width: 50%;
    margin-bottom: 30px;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -16px;
    background: #fff;
    border: 5px solid #000;
    top: 30px;
    transform: rotate(45deg);
}

.timeline-item:nth-child(even)::before {
    left: -16px;
}

.timeline-content {
    padding: 30px;
    background: #fff;
    border: 6px solid #000;
    transition: all 0.2s ease;
    position: relative;
    transform: skew(-1deg);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.timeline-content:hover {
    transform: translate(-6px, -6px) skew(0deg);
    box-shadow: 6px 6px 0 #000;
}

.section-dark .timeline-content {
    background: #000;
    color: #fff;
    border-color: #fff;
}

.section-dark .timeline-content:hover {
    box-shadow: 6px 6px 0 #fff;
}

.timeline-date {
    font-size: clamp(0.8rem, 1.5vw, 1.1rem);
    font-weight: 900;
    color: #000;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 3px solid #000;
    padding: 6px 12px;
    display: inline-block;
    background: #fff;
}

.section-dark .timeline-date {
    color: #fff;
    background: #000;
    border-color: #fff;
}

.timeline-title {
    font-size: clamp(1.1rem, 2.5vw, 1.8rem);
    font-weight: 900;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 2px;
    word-wrap: break-word;
}

.timeline-company {
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    word-wrap: break-word;
}

.timeline-description {
    line-height: 1.6;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: clamp(0.8rem, 1.5vw, 1rem);
    word-wrap: break-word;
}

/* Projects Grid - Brutalist */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.project-card {
    background: #fff;
    border: 8px solid #000;
    transition: all 0.2s ease;
    position: relative;
    transform: rotate(-1deg);
}

.project-card:nth-child(even) {
    transform: rotate(1deg);
}

.project-card:hover {
    transform: translate(-8px, -8px) rotate(0deg);
    box-shadow: 8px 8px 0 #000;
}

.project-content {
    padding: 30px;
}

.project-title {
    font-size: clamp(1.1rem, 2.5vw, 1.8rem);
    font-weight: 900;
    margin-bottom: 15px;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 4px solid #000;
    padding-bottom: 8px;
}

.project-description {
    color: #000;
    line-height: 1.6;
    margin-bottom: 25px;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: clamp(0.8rem, 1.5vw, 1rem);
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 25px;
}

.tech-tag {
    background: #000;
    color: #fff;
    padding: 6px 12px;
    font-size: clamp(0.6rem, 1.2vw, 0.8rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid #000;
    transition: all 0.2s ease;
}

.tech-tag:hover {
    background: #fff;
    color: #000;
    transform: translate(-2px, -2px);
    box-shadow: 2px 2px 0 #000;
}

.project-links {
    display: flex;
    gap: 0;
    flex-wrap: wrap;
}

.project-link {
    color: #fff;
    background: #000;
    text-decoration: none;
    font-weight: 900;
    padding: 12px 20px;
    border: 4px solid #000;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: clamp(0.7rem, 1.5vw, 0.9rem);
    margin-right: -4px;
    margin-bottom: 8px;
}

.project-link:hover {
    background: #fff;
    color: #000;
    transform: translate(-3px, -3px);
    box-shadow: 3px 3px 0 #000;
    z-index: 2;
    position: relative;
}

/* Education Section - Brutalist */
.education-content {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.education-item {
    background: #fff;
    border: 8px solid #fff;
    padding: 40px;
    transition: all 0.2s ease;
    transform: rotate(-1deg);
}

.education-item:nth-child(even) {
    transform: rotate(1deg);
}

.education-item:hover {
    transform: translate(-8px, -8px) rotate(0deg);
    box-shadow: 8px 8px 0 #fff;
}

.education-degree {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 900;
    margin-bottom: 10px;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 4px solid #000;
    padding-bottom: 8px;
}

.education-school {
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 700;
    margin-bottom: 15px;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.education-date {
    font-size: clamp(0.8rem, 1.5vw, 1rem);
    font-weight: 900;
    color: #fff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 3px solid #000;
    padding: 8px 16px;
    display: inline-block;
    background: #000;
}

.education-description {
    line-height: 1.6;
    font-weight: 600;
    letter-spacing: 1px;
    color: #000;
    font-size: clamp(0.8rem, 1.5vw, 1rem);
}

/* Contact Section - Brutalist */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-description {
    font-size: clamp(1rem, 2vw, 1.4rem);
    line-height: 1.6;
    margin-bottom: 40px;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

.contact-link {
    display: block;
    color: #000;
    background: #fff;
    text-decoration: none;
    padding: 20px;
    border: 4px solid #fff;
    transition: all 0.2s ease;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: clamp(0.8rem, 1.5vw, 1rem);
}

.contact-link:hover {
    background: #000;
    color: #fff;
    transform: translate(-4px, -4px);
    box-shadow: 4px 4px 0 #fff;
}

.contact-form {
    background: #fff;
    padding: 30px;
    border: 8px solid #fff;
    transform: rotate(1deg);
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px;
    background: #fff;
    border: 4px solid #000;
    color: #000;
    font-size: clamp(0.8rem, 1.5vw, 1.1rem);
    font-weight: 700;
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    transform: translate(-3px, -3px);
    box-shadow: 3px 3px 0 #000;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Footer - Brutalist */
.footer {
    background: #000;
    color: #fff;
    padding: 50px 0;
    border-top: 8px solid #fff;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 900;
    font-size: clamp(0.7rem, 1.5vw, 1rem);
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 0;
    flex-wrap: wrap;
}

.footer-links a {
    color: #000;
    background: #fff;
    text-decoration: none;
    padding: 12px 20px;
    border: 3px solid #fff;
    transition: all 0.2s ease;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-right: -3px;
    margin-bottom: 8px;
    font-size: clamp(0.7rem, 1.2vw, 0.9rem);
}

.footer-links a:hover {
    background: #000;
    color: #fff;
    transform: translate(-2px, -2px);
    box-shadow: 2px 2px 0 #fff;
    z-index: 2;
    position: relative;
}

/* Responsive Design - Enhanced */
@media screen and (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }

    .nav-container {
        padding: 0 15px;
    }

    .hero-container {
        padding: 0 15px;
    }

    .hero-content {
        gap: 40px;
    }

    .hero-image {
        width: clamp(300px, 30vw, 400px);
        height: clamp(300px, 30vw, 400px);
    }

    .contact-content {
        gap: 30px;
    }

    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }

    .education-content {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }

    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 20px;
    }
}

@media screen and (max-width: 900px) {
    .hamburger {
        display: flex;
        z-index: 1001;
        position: absolute;
        right: 20px;
    }

    .nav-container {
        padding: 0 15px;
        height: 70px;
        justify-content: center;
        position: relative;
    }
    .logo-circle {
        width: 45px;
        height: 45px;
        margin-right: 10px;
    }
    
    .logo-img {
        width: 100%;
        height: auto;
    }
    .hamburger {
        width: 40px;
        height: 40px;
        padding: 8px;
    }

    .bar {
        width: 24px;
        height: 3px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: #000;
        width: 100%;
        text-align: center;
        transition: all 0.3s ease;
        border-top: 4px solid #fff;
        padding: 20px 0;
        gap: 0;
        height: calc(100vh - 70px);
        overflow-y: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        z-index: 1000;
    }

    .nav-menu::-webkit-scrollbar {
        display: none;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        border-right: none;
        border-bottom: 2px solid #fff;
        width: 100%;
        padding: 20px 15px;
        font-size: 16px;
        letter-spacing: 1px;
        display: block;
    }

    .hero {
        padding: 90px 0 60px;
        min-height: auto;
        text-align: center;
    }

    .hero-container {
        padding: 0 15px;
    }

    .hero-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .hero-left {
        text-align: center;
    }

    .hero-image {
        width: clamp(270px, 40vw, 270px);
        height: clamp(270px, 40vw, 270px);
    }

    .hero-title {
        white-space: normal;
        word-break: break-word;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-bottom: 30px;
        justify-content: center;
    }

    .btn {
        margin-right: 0;
        margin-bottom: 0;
        width: 100%;
        max-width: 280px;
        text-align: center;
        padding: 15px 25px;
        font-size: 14px;
        letter-spacing: 1px;
    }

    .section {
        padding: 50px 0;
        text-align: center;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .timeline {
        max-width: 100%;
        padding: 0;
        margin: 0;
    }

    .timeline::before {
        display: none;
    }

    .timeline-item {
        width: 100%;
        left: 0;
        padding: 0;
        text-align: left;
        margin-bottom: 20px;
        position: static;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        left: 0;
        width: 100%;
        text-align: left;
    }

    .timeline-item::before {
        display: none;
    }

    .timeline-content {
        padding: 20px;
        text-align: left;
        transform: none;
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .timeline-content:hover {
        transform: translate(-4px, -4px);
        box-shadow: 4px 4px 0 #000;
    }

    .section-dark .timeline-content:hover {
        box-shadow: 4px 4px 0 #fff;
    }

    .timeline-date {
        font-size: 12px;
        padding: 4px 8px;
        margin-bottom: 10px;
    }

    .timeline-title {
        font-size: 16px;
        line-height: 1.2;
        margin-bottom: 6px;
    }

    .timeline-company {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .timeline-description {
        font-size: 13px;
        line-height: 1.5;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .contact-form {
        padding: 20px;
        transform: rotate(0deg);
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 6px;
    }

    .footer-links a {
        margin-right: 0;
        margin-bottom: 0;
    }

    .skills-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .skill-category {
        transform: rotate(0deg);
        padding: 20px;
        text-align: center;
    }

    .about-intro {
        margin-bottom: 30px;
        text-align: center;
    }

    .intro-text {
        padding: 20px;
        transform: rotate(0deg);
        text-align: center;
    }

    .education-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .education-item {
        padding: 25px;
        transform: rotate(0deg);
        text-align: center;
    }

    .about-content {
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .nav-container {
        padding: 0 10px;
        height: 60px;
    }
    .logo-circle {
        width: 30px;
        height: 30px;
    }
    
    .logo-img {
        width: 100%;
        height: auto;
    }
    
    .hero-container {
        padding: 0 10px;
    }

    .hamburger {
        width: 35px;
        height: 35px;
        padding: 6px;
        right: 15px;
    }

    .bar {
        width: 20px;
        height: 2px;
    }

    .nav-menu {
        top: 60px;
        height: calc(100vh - 60px);
        padding: 15px 0;
    }

    .nav-link {
        padding: 15px 10px;
        font-size: 14px;
    }

    .hero {
        padding: 80px 0 50px;
    }

    .hero-image {
        width: clamp(240px, 50vw, 300px);
        height: clamp(240px, 50vw, 300px);
    }

    .btn {
        padding: 12px 20px;
        font-size: 12px;
        letter-spacing: 1px;
        max-width: 250px;
    }

    .section {
        padding: 40px 0;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .timeline {
        padding: 0;
        margin: 0;
    }

    .timeline-item {
        padding: 0;
        margin-bottom: 15px;
        width: 100%;
    }

    .timeline-content {
        padding: 15px;
        width: 100%;
        margin: 0;
    }

    .timeline-date {
        font-size: 10px;
        padding: 3px 6px;
    }

    .timeline-title {
        font-size: 14px;
    }

    .timeline-company {
        font-size: 12px;
    }

    .timeline-description {
        font-size: 11px;
    }

    .contact-form {
        padding: 15px;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px;
    }

    .project-content {
        padding: 15px;
    }

    .skill-category {
        padding: 15px;
    }

    .intro-text {
        padding: 15px;
    }

    .skills-list {
        gap: 6px;
        justify-content: center;
    }

    .skill-tag {
        padding: 6px 10px;
    }

    .project-tech {
        gap: 4px;
        justify-content: center;
    }

    .tech-tag {
        padding: 4px 8px;
    }

    .project-links {
        flex-direction: column;
        gap: 6px;
        align-items: center;
    }

    .project-link {
        margin-right: 0;
        margin-bottom: 0;
        text-align: center;
        width: 100%;
        max-width: 200px;
    }

    .contact-links {
        gap: 10px;
        align-items: center;
    }

    .contact-link {
        padding: 12px;
        text-align: center;
    }

    .education-item {
        padding: 20px;
    }
}

@media screen and (max-width: 320px) {
    .nav-container {
        height: 55px;
    }

    .hamburger {
        width: 30px;
        height: 30px;
        padding: 5px;
        right: 10px;
    }
    .logo-circle {
        width: 25px;
        height: 25px;
    }
    
    .logo-img {
        width: 100%;
        height: auto;
    }
    
    .bar {
        width: 18px;
        height: 2px;
    }

    .nav-menu {
        top: 55px;
        height: calc(100vh - 55px);
    }

    .nav-link {
        padding: 12px 8px;
        font-size: 12px;
    }

    .hero-image {
        width: clamp(200px, 40vw, 300px);
        height: clamp(200px, 40vw, 300px);
    }

    .btn {
        padding: 10px 15px;
        font-size: 11px;
        max-width: 200px;
    }

    .timeline-item {
        padding: 0;
        margin-bottom: 12px;
        width: 100%;
    }

    .timeline-content {
        padding: 12px;
        width: 100%;
        margin: 0;
    }

    .timeline-date {
        font-size: 9px;
        padding: 2px 4px;
    }

    .timeline-title {
        font-size: 12px;
    }

    .timeline-company {
        font-size: 11px;
    }

    .timeline-description {
        font-size: 10px;
    }

    .education-item {
        padding: 15px;
    }

    .skill-category {
        padding: 12px;
    }

    .intro-text {
        padding: 12px;
    }

    .project-content {
        padding: 12px;
    }

    .contact-form {
        padding: 12px;
    }
}
