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

body {
    font-family: 'Space Grotesk', sans-serif;
    color: #111111;
    line-height: 1.6;
    overflow-x: hidden;
    height: 100vh;
}

.container {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

.section {
    padding: 2rem;
    position: relative;
}

.green {
    background-color: #C1E8C5;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.purple {
    background-color: #E0C1E8;
    height: 100vh;
    overflow-y: auto;
}

/* Navigation */
.nav-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
    border: 2px solid #111111;
    padding: 1rem 2rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 6px 6px 0 #111111;
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #111111;
    font-weight: 600;
    position: relative;
    transition: transform 0.2s;
}

.nav-links a:hover {
    transform: rotate(-2deg);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #111111;
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: right;
}

.nav-links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-links li:nth-child(odd) a:hover {
    color: #FF6B6B;
}

.nav-links li:nth-child(even) a:hover {
    color: #FFD166;
}

/* Content Styling */
.content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 50vh;
    position: relative;
    z-index: 1;
}

.title {
    font-size: 5.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    position: relative;
    text-shadow: 3px 3px 0px rgba(0,0,0,0.1);
}

.highlight {
    background-color: #111111;
    color: white;
    padding: 0 10px;
    border-radius: 4px;
    display: inline-block;
    transform: rotate(-1deg);
    box-shadow: 4px 4px 0 rgba(0,0,0,0.2);
}

.hand-drawn-underline {
    display: none;
}

.section-title .hand-drawn-underline {
    display: none;
}

.subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    max-width: 600px;
}

/* Buttons */
.button-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 17px;
    padding-left: 30px;
}

.button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    font-weight: 700;
    text-decoration: none;
    border: 3px solid #111111;
    border-radius: 12px;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-align: center;
    transform: rotate(-1deg);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.primary-button, .secondary-button {
    font-size: 1.25rem;
    padding: 1.2rem 2rem;
}

.primary-button {
    background-color: #111111;
    color: white;
    box-shadow: 8px 8px 0 #FF6B6B;
}

.secondary-button {
    background-color: white;
    color: #111111;
    box-shadow: 8px 8px 0 #FFD166;
}

.project-button {
    background-color: #111111;
    color: white;
    box-shadow: 4px 4px 0 #FFD166;
    font-size: 0.8rem;
    padding: 0.7rem 1.3rem;
}

.button:hover {
    transform: translate(-5px, -5px) rotate(-1deg);
    box-shadow: 12px 12px 0 rgba(0,0,0,0.8);
}

.button:active {
    transform: translate(3px, 3px);
    box-shadow: 3px 3px 0 rgba(0,0,0,0.8);
}

/* Icon Bar */
.icon-bar {
    display: flex;
    gap: 2rem;
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.icon {
    width: 60px;
    height: 60px;
    border: 2px solid #111111;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    cursor: pointer;
    transform: rotate(0deg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 3px 3px 0 #111111;
    position: relative;
    overflow: visible;
    z-index: 10;
}

.icon svg {
    width: 24px;
    height: 24px;
    overflow: visible;
}

.icon:hover {
    transform: rotate(-10deg);
}

.icon:hover:after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #111111;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.8rem;
    white-space: nowrap;
    z-index: 20;
    width: max-content;
}

.icon:hover:before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent #111111 transparent;
    z-index: 10;
}

.pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.15;
    pointer-events: none;
}

.pattern-dot {
    fill: #111;
    opacity: 0.5;
}

/* Projects Section */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    position: relative;
}

.projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.project-card {
    border: 3px solid #111111;
    padding: 2.5rem;
    border-radius: 12px;
    background-color: white;
    transform: rotate(1deg);
    box-shadow: 8px 8px 0 #111111;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, #FF6B6B, #FFD166, #06D6A0);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.project-card:hover:before {
    transform: scaleX(1);
}

.project-card:hover {
    transform: rotate(-2deg) translateY(-10px);
    box-shadow: 12px 12px 0 #111111;
}

.project-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    opacity: 0.2;
}

.project-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.project-card p {
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

/* About Section */
.about-section {
    margin: 6rem 0;
}

.about-text {
    font-size: 1.3rem;
    max-width: 800px;
    border-left: 4px solid #111;
    padding-left: 2rem;
}

/* Contact Section */
.contact-info {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.social-icon {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    width: auto;
    height: auto;
    padding: 0.9rem 1.3rem;
    border: 3px solid #111111;
    border-radius: 12px;
    background-color: white;
    color: #111111;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 6px 6px 0 #111111;
    transform: rotate(-2deg);
    overflow: visible;
    z-index: 1;
}

.social-icon svg {
    width: 24px;
    height: 24px;
    min-width: 24px;
    overflow: visible;
}

.social-icon span {
    font-weight: 600;
}

.social-icon:hover {
    transform: rotate(3deg) translateY(-5px);
    box-shadow: 9px 9px 0 #111111;
}

.website-link {
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
}

.website-link a {
    color: #111111;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    padding-bottom: 2px;
}

.website-link a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #111111;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.website-link a:hover:after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Skills Section */
.skills-section {
    margin: 3rem 0;
}

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

.skill-category {
    background-color: white;
    border: 3px solid #111111;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 6px 6px 0 #111111;
    transform: rotate(-1deg);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-bottom: 20px;
    opacity: 1 !important;
    transform: rotate(-1deg) translateY(0) !important;
}

.skill-category:hover {
    transform: rotate(2deg) translateY(-8px);
    box-shadow: 10px 10px 0 #111111;
}

.skill-category h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-align: center;
    border-bottom: 2px solid #111111;
    padding-bottom: 0.5rem;
}

.skill-list {
    list-style: none;
}

.skill-item {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.skill-item:before {
    content: '→';
    position: absolute;
    left: 0;
    color: #111111;
    font-weight: bold;
}

/* Media Queries for Responsive Design */
/* Desktop (1025px and above) */
@media (min-width: 1025px) {
    .container {
        flex-direction: row;
    }
    
    .section {
        width: 50%;
    }
    
    .green .content {
        padding-left: 4rem;
    }
    
    .button-container {
        padding-left: 30px;
        margin-top: 2rem;
    }
    
    .primary-button, .secondary-button {
        font-size: 1.5rem;
        padding: 1.2rem 2.5rem;
    }
    
    .icon-bar {
        position: absolute;
        bottom: 2rem;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .icon:hover:after {
        bottom: 110%;
        left: 50%;
        transform: translateX(-50%);
        z-index: 100;
    }
    
    .icon:hover:before {
        bottom: 100%;
        z-index: 100;
    }
}

/* Medium screens (between tablet and desktop: 1025px to 1280px) */
@media (min-width: 1025px) and (max-width: 1280px) {
    .title {
        font-size: 4.5rem;
    }
    
    .green .content {
        padding-left: 2rem;
    }
    
    .primary-button, .secondary-button {
        font-size: 1.3rem;
        padding: 1.1rem 2rem;
    }
    
    .button-container {
        padding-left: 20px;
    }
    
    .projects {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet (768px to 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .container {
        flex-direction: column;
        height: auto;
    }
    
    .section {
        width: 100%;
        height: auto;
        min-height: 100vh;
    }
    
    .green {
        position: relative;
    }
    
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .title {
        font-size: 4rem;
        margin-bottom: 1rem;
    }
    
    .subtitle {
        font-size: 1.3rem;
        margin-bottom: 2.5rem;
    }
    
    .button-container {
        padding-left: 15px;
        margin-top: 2.5rem;
        display: flex;
        flex-direction: row;
        gap: 1.5rem;
    }
    
    .primary-button, .secondary-button {
        font-size: 1.2rem;
        padding: 1rem 1.8rem;
        width: auto;
        margin-bottom: 0;
    }
    
    .social-icons {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .social-icon {
        padding: 0.8rem 1.1rem;
        font-size: 0.9rem;
        width: auto;
    }
    
    .projects {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .nav-menu {
        margin-bottom: 3rem;
        padding: 1rem 2rem;
    }
    
    .nav-links {
        gap: 1.5rem;
    }
    
    .icon-bar {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        justify-content: center;
        margin-top: 3rem;
        margin-bottom: 2rem;
        gap: 2.5rem;
    }
    
    .icon {
        width: 55px;
        height: 55px;
    }
    
    .icon:hover:after {
        bottom: 120%;
        left: 50%;
        transform: translateX(-50%);
        white-space: nowrap;
        z-index: 100;
    }
    
    .icon:hover:before {
        bottom: 110%;
        z-index: 100;
    }
    
    .section-title {
        font-size: 2.5rem;
        margin-top: 3rem;
    }
    
    .about-text {
        font-size: 1.2rem;
        max-width: 100%;
    }
    
    .purple {
        padding-top: 0;
    }
}

/* Mobile (up to 767px) */
@media (max-width: 767px) {
    .container {
        flex-direction: column;
        height: auto;
        overflow: auto;
    }
    
    .section {
        width: 100%;
        height: auto;
        min-height: 100vh;
        padding: 1.5rem;
    }
    
    .green {
        position: relative;
    }
    
    .purple {
        padding-top: 0;
    }
    
    .title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .content {
        padding: 0.5rem;
        min-height: auto;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        padding: 1rem;
        margin-bottom: 2rem;
    }
    
    .nav-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .button-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 1rem;
        padding-left: 0;
        margin-top: 2rem;
    }
    
    .primary-button, .secondary-button {
        font-size: 1.1rem;
        padding: 0.9rem 1.6rem;
        width: 100%;
        max-width: 250px;
        text-align: center;
        margin-bottom: 0;
    }
    
    .icon-bar {
        position: relative;
        margin: 3rem auto 2rem;
        bottom: auto;
        left: auto;
        transform: none;
        justify-content: center;
        gap: 1.5rem;
        width: 100%;
    }
    
    .icon {
        width: 50px;
        height: 50px;
    }
    
    .icon:hover:after {
        bottom: 120%;
        left: 50%;
        transform: translateX(-50%);
        white-space: nowrap;
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
        z-index: 100;
    }
    
    .icon:hover:before {
        bottom: 110%;
        z-index: 100;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-top: 2.5rem;
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    .projects {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .social-icons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .social-icon {
        width: 100%;
        justify-content: flex-start;
        padding: 0.8rem 1rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .about-text {
        font-size: 1rem;
        padding-left: 1rem;
        border-left: 3px solid #111;
    }
    
    .contact-info {
        font-size: 1.2rem;
        text-align: center;
    }
    
    .website-link {
        text-align: center;
    }
}
