/* Theme: Playground - Day 16, letter P: Inspired by childhood playgrounds, colorful slides, jungle gyms, sandbox creativity, hopscotch patterns, swing sets, chalk drawings, merry-go-rounds, bright primary colors, joyful energy */

@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300;400;500;600;700&family=Quicksand:wght@400;500;600;700&display=swap');

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 85px;
}

body {
    font-family: 'Quicksand', sans-serif;
    font-size: 17px;
    line-height: 1.75;
    color: #2e3440;
    background: #fff9e6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(90deg, transparent 0px, transparent 39px, rgba(255, 107, 107, 0.06) 39px, rgba(255, 107, 107, 0.06) 40px),
        repeating-linear-gradient(0deg, transparent 0px, transparent 39px, rgba(78, 205, 196, 0.06) 39px, rgba(78, 205, 196, 0.06) 40px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 15% 25%, rgba(255, 193, 7, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 85% 75%, rgba(156, 39, 176, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 50% 50%, rgba(33, 150, 243, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

#topnav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff9e6;
    border-bottom: 5px solid #ff6b6b;
    box-shadow: 0 4px 0 #4ecdc4, 0 8px 20px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

#topnav.scrolled {
    box-shadow: 0 4px 0 #4ecdc4, 0 8px 30px rgba(0, 0, 0, 0.18);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 85px;
}

.logo h1 {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #ff6b6b;
    margin: 0;
    letter-spacing: 0.5px;
    transform: rotate(-3deg);
    display: inline-block;
    text-shadow: 3px 3px 0 #4ecdc4;
}

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

.nav-menu li a {
    display: block;
    padding: 0.7rem 1.4rem;
    color: #2e3440;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 25px;
    font-family: 'Fredoka', sans-serif;
}

.nav-menu li a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #ffc107;
    border-radius: 25px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
    z-index: -1;
}

.nav-menu li a:hover::before,
.nav-menu li a.active::before {
    opacity: 1;
    transform: scale(1);
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: #fff;
    transform: translateY(-2px);
}

.mobile-toggle {
    display: none;
    background: #ff6b6b;
    border: 4px solid #2e3440;
    color: #fff;
    font-size: 1.6rem;
    width: 55px;
    height: 55px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50%;
    font-family: 'Fredoka', sans-serif;
    box-shadow: 4px 4px 0 #4ecdc4;
}

.mobile-toggle:hover {
    transform: translate(-2px, -2px) rotate(15deg);
    box-shadow: 6px 6px 0 #4ecdc4;
}

#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 150px 0 120px;
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '🎨';
    position: absolute;
    top: 10%;
    right: 8%;
    font-size: 12rem;
    opacity: 0.08;
    animation: playfulBounce 8s ease-in-out infinite;
}

#hero::after {
    content: '⚽';
    position: absolute;
    bottom: 15%;
    left: 5%;
    font-size: 10rem;
    opacity: 0.08;
    animation: playfulBounce 10s ease-in-out infinite reverse;
}

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

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3.5rem;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 6rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    animation: slideInBounce 0.9s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes slideInBounce {
    0% {
        opacity: 0;
        transform: translateX(-60px) rotate(-5deg);
    }
    100% {
        opacity: 1;
        transform: translateX(0) rotate(0deg);
    }
}

.hero-text h1 {
    font-family: 'Fredoka', sans-serif;
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 2.5rem;
    color: #2e3440;
    transform: rotate(-2deg);
}

.hero-text h1 br {
    display: block;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: #5e6a7a;
    margin-bottom: 3.5rem;
    line-height: 1.7;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.hero-buttons {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1.3rem 3rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    letter-spacing: 0.5px;
    position: relative;
    font-family: 'Fredoka', sans-serif;
    border-radius: 50px;
    border: 4px solid #2e3440;
}

.btn-primary {
    background: #ff6b6b;
    color: #fff;
    box-shadow: 5px 5px 0 #4ecdc4;
}

.btn-primary:hover {
    transform: translate(-3px, -3px);
    box-shadow: 8px 8px 0 #4ecdc4;
}

.btn-secondary {
    background: #fff9e6;
    color: #2e3440;
    box-shadow: 5px 5px 0 #ffc107;
}

.btn-secondary:hover {
    background: #4ecdc4;
    color: #fff;
    transform: translate(-3px, -3px);
    box-shadow: 8px 8px 0 #ffc107;
}

.hero-image {
    animation: slideInBounce 0.9s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.2s both;
}

.profile-card {
    background: #fff;
    padding: 2rem;
    box-shadow: 8px 8px 0 #ff6b6b;
    transition: all 0.3s ease;
    position: relative;
    border: 4px solid #2e3440;
    border-radius: 30px;
    transform: rotate(2deg);
}

.profile-card::before {
    content: '★';
    position: absolute;
    top: -15px;
    right: -15px;
    font-size: 3rem;
    color: #ffc107;
    text-shadow: 2px 2px 0 #2e3440;
    animation: starTwinkle 2s ease-in-out infinite;
}

@keyframes starTwinkle {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.2);
    }
}

.profile-card:hover {
    transform: rotate(0deg) translate(-4px, -4px);
    box-shadow: 12px 12px 0 #ff6b6b;
}

.profile-card img {
    width: 100%;
    margin-bottom: 1.5rem;
    border-radius: 20px;
    border: 4px solid #2e3440;
    box-shadow: 4px 4px 0 #4ecdc4;
}

.profile-details h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: 2rem;
    margin-bottom: 0.8rem;
    color: #2e3440;
    font-weight: 700;
}

.profile-details p {
    color: #5e6a7a;
    margin-bottom: 1.8rem;
    line-height: 1.6;
    font-weight: 500;
}

.social-links a {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #4ecdc4;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 4px solid #2e3440;
    border-radius: 50px;
    font-family: 'Fredoka', sans-serif;
    box-shadow: 4px 4px 0 #ffc107;
}

.social-links a:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 #ffc107;
}

section {
    padding: 110px 0;
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3.5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 6rem;
    position: relative;
}

.section-header::before {
    content: '✦';
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%) rotate(20deg);
    font-size: 3rem;
    color: #ff6b6b;
    opacity: 0.3;
}

.section-header h2 {
    font-family: 'Fredoka', sans-serif;
    font-size: 3.8rem;
    font-weight: 700;
    line-height: 1.2;
    color: #2e3440;
    position: relative;
    display: inline-block;
    transform: rotate(-1deg);
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 10%;
    right: 10%;
    height: 8px;
    background: #ffc107;
    border-radius: 10px;
    transform: skew(-5deg);
}

#experience {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.12) 0%, rgba(78, 205, 196, 0.12) 100%);
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 200px;
    top: 0;
    bottom: 0;
    width: 6px;
    background: repeating-linear-gradient(0deg, #ff6b6b 0px, #ff6b6b 20px, #4ecdc4 20px, #4ecdc4 40px, #ffc107 40px, #ffc107 60px);
    border-radius: 10px;
}

.timeline-item {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 5rem;
    margin-bottom: 5rem;
    position: relative;
}

.timeline-year {
    font-family: 'Fredoka', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    color: #ff6b6b;
    position: relative;
    z-index: 2;
    text-align: right;
    padding-right: 4rem;
    text-shadow: 3px 3px 0 #ffc107;
    transform: rotate(-3deg);
}

.timeline-year::after {
    content: '●';
    position: absolute;
    right: -82px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.5rem;
    color: #ff6b6b;
    text-shadow: 0 0 0 8px #fff9e6, 0 0 0 12px #4ecdc4;
}

.timeline-content {
    background: #fff;
    padding: 3rem;
    transition: all 0.3s ease;
    border: 4px solid #2e3440;
    border-radius: 25px;
    box-shadow: 6px 6px 0 #4ecdc4;
    transform: rotate(1deg);
}

.timeline-content:hover {
    transform: rotate(0deg) translate(-3px, -3px);
    box-shadow: 9px 9px 0 #4ecdc4;
}

.timeline-content h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: 2rem;
    margin-bottom: 0.8rem;
    color: #2e3440;
    font-weight: 700;
}

.timeline-content h4 {
    color: #ff6b6b;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.timeline-content p {
    color: #5e6a7a;
    line-height: 1.75;
    margin: 0;
}

.timeline-content a {
    color: #4ecdc4;
    text-decoration: none;
    font-weight: 700;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.timeline-content a:hover {
    border-bottom-color: #4ecdc4;
}

#ai {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.12) 0%, rgba(156, 39, 176, 0.12) 100%);
}

.ai-projects {
    display: grid;
    gap: 4rem;
}

.project-card {
    background: #fff;
    padding: 3.5rem;
    transition: all 0.3s ease;
    position: relative;
    border: 4px solid #2e3440;
    border-radius: 30px;
    box-shadow: 8px 8px 0 #ff6b6b;
    transform: rotate(-0.5deg);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: repeating-linear-gradient(90deg, #ff6b6b 0px, #ff6b6b 30px, #4ecdc4 30px, #4ecdc4 60px, #ffc107 60px, #ffc107 90px);
    border-radius: 26px 26px 0 0;
}

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

.project-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.project-header h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.5rem;
    color: #2e3440;
    margin: 0;
    font-weight: 700;
}

.project-client {
    color: #ff6b6b;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.project-card > p {
    color: #5e6a7a;
    line-height: 1.75;
    margin-bottom: 2.5rem;
}

.project-impact {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.2) 0%, rgba(78, 205, 196, 0.2) 100%);
    padding: 2rem;
    color: #2e3440;
    line-height: 1.75;
    border: 3px dashed #ffc107;
    border-radius: 20px;
}

.project-impact strong {
    color: #ff6b6b;
    font-weight: 700;
}

#speaking {
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.12) 0%, rgba(33, 150, 243, 0.12) 100%);
}

.speaking-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
}

.year-section {
    background: #fff;
    padding: 3rem;
    transition: all 0.3s ease;
    border: 4px solid #2e3440;
    border-radius: 25px;
    box-shadow: 6px 6px 0 #4ecdc4;
    transform: rotate(0.5deg);
}

.year-section:hover {
    transform: rotate(0deg) translateY(-4px);
    box-shadow: 8px 8px 0 #4ecdc4;
}

.year-section h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.8rem;
    margin-bottom: 2.5rem;
    color: #2e3440;
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 5px dotted #ffc107;
    font-weight: 700;
}

.year-section.books {
    grid-column: span 2;
    background: #ff6b6b;
    box-shadow: 8px 8px 0 #ffc107;
    transform: rotate(-0.5deg);
}

.year-section.books h3 {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.4);
}

.achievements {
    list-style: none;
}

.achievements li {
    padding: 1.3rem 0;
    color: #5e6a7a;
    border-bottom: 2px dashed rgba(46, 52, 64, 0.15);
    line-height: 1.75;
    position: relative;
    padding-left: 2.5rem;
}

.achievements li::before {
    content: '▶';
    position: absolute;
    left: 0;
    top: 1.3rem;
    color: #ffc107;
    font-size: 1rem;
}

.year-section.books .achievements li {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.year-section.books .achievements li::before {
    color: #fff9e6;
}

.achievements li:last-child {
    border-bottom: none;
}

.achievements strong {
    color: #2e3440;
    font-weight: 700;
}

.year-section.books .achievements strong {
    color: #fff9e6;
}

#personal {
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.12) 0%, rgba(255, 193, 7, 0.12) 100%);
}

#contact {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.15) 0%, rgba(255, 107, 107, 0.15) 100%);
}

.contact-card {
    background: #fff;
    padding: 6rem 5rem;
    text-align: center;
    box-shadow: 10px 10px 0 #4ecdc4;
    max-width: 1200px;
    margin: 0 auto;
    border: 5px solid #2e3440;
    border-radius: 40px;
    position: relative;
    transform: rotate(-1deg);
}

.contact-card::before {
    content: '🎉';
    position: absolute;
    top: -30px;
    right: -30px;
    font-size: 5rem;
    transform: rotate(20deg);
}

.contact-card::after {
    content: '🚀';
    position: absolute;
    bottom: -30px;
    left: -30px;
    font-size: 5rem;
    transform: rotate(-20deg);
}

.contact-card h2 {
    font-family: 'Fredoka', sans-serif;
    font-size: 4.5rem;
    margin-bottom: 2.5rem;
    color: #2e3440;
    font-weight: 700;
    text-shadow: 4px 4px 0 #ffc107;
}

.contact-card > p {
    font-size: 1.3rem;
    color: #5e6a7a;
    line-height: 1.75;
    margin-bottom: 4rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 3.5rem;
    background: #ff6b6b;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 4px solid #2e3440;
    border-radius: 50px;
    position: relative;
    font-family: 'Fredoka', sans-serif;
    box-shadow: 6px 6px 0 #4ecdc4;
}

.contact-link:hover {
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0 #4ecdc4;
}

.contact-link .icon {
    font-size: 2rem;
}

#footer {
    background: #2e3440;
    padding: 4rem 0;
    text-align: center;
    color: #fff9e6;
    border-top: 6px solid #ff6b6b;
    box-shadow: 0 -3px 0 #4ecdc4;
    font-family: 'Fredoka', sans-serif;
}

#footer a {
    color: #ffc107;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 700;
}

#footer a:hover {
    color: #ff6b6b;
}

@media screen and (max-width: 1200px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 5rem;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        max-width: 550px;
        margin: 0 auto;
    }

    .speaking-grid {
        grid-template-columns: 1fr;
    }

    .year-section.books {
        grid-column: span 1;
    }
}

@media screen and (max-width: 900px) {
    .nav-container {
        padding: 0 2.5rem;
        height: 80px;
    }

    html {
        scroll-padding-top: 80px;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: #fff9e6;
        flex-direction: column;
        padding: 4rem;
        gap: 0;
        box-shadow: 0 8px 0 #4ecdc4, 0 12px 30px rgba(0, 0, 0, 0.2);
        transform: translateY(-150%);
        transition: transform 0.4s ease;
        border-bottom: 5px solid #ff6b6b;
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu li a {
        width: 100%;
        text-align: center;
        padding: 1.2rem;
        border-bottom: 2px dashed rgba(46, 52, 64, 0.15);
    }

    .mobile-toggle {
        display: block;
    }

    .hero-text h1 {
        font-size: 3.5rem;
    }

    .section-header h2 {
        font-size: 3rem;
    }

    .timeline::before {
        left: 40px;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 3rem;
        margin-bottom: 5rem;
        padding-left: 7rem;
    }

    .timeline-year {
        text-align: left;
        padding-right: 0;
    }

    .timeline-year::after {
        left: -82px;
        right: auto;
    }

    .contact-card {
        padding: 5rem 3.5rem;
    }
}

@media screen and (max-width: 600px) {
    .container {
        padding: 0 2rem;
    }

    .nav-container {
        padding: 0 2rem;
        height: 75px;
    }

    html {
        scroll-padding-top: 75px;
    }

    #hero {
        padding: 120px 0 90px;
    }

    .hero-text h1 {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    section {
        padding: 80px 0;
    }

    .section-header {
        margin-bottom: 4.5rem;
    }

    .section-header h2 {
        font-size: 2.5rem;
    }

    .profile-card {
        padding: 1.5rem;
    }

    .timeline-item {
        padding-left: 5rem;
    }

    .timeline-content {
        padding: 2rem;
    }

    .project-card {
        padding: 2.5rem 2rem;
    }

    .contact-card {
        padding: 4.5rem 2.5rem;
    }

    .contact-card h2 {
        font-size: 3rem;
    }

    .contact-info {
        flex-direction: column;
    }

    .contact-link {
        justify-content: center;
        padding: 1.2rem 2.5rem;
        font-size: 0.95rem;
    }
}