* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "League Spartan", sans-serif;
    color: #32452e; 
}

body {
    background: #F5F0E6;
    overflow-x: hidden;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    display: flex;
    align-items: center;
    z-index: 9999;
    padding: 0 8%;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    background: #F5F0E6;
    border-bottom: 1px solid rgba(50, 69, 46, 0.15);
}

.nav {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    font-weight: 800;
    font-size: 28px;
    text-decoration: none;
    letter-spacing: 1px;
    padding: 0 15px;
    display: flex;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #32452e;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: 0.3s;
    margin: 0 15px;
}

.nav-links a:hover { opacity: 0.7; }

.btn-talk {
    background: #32452e;
    color: #FFF;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: 0.3s;
}
.btn-talk:hover { background: #465f41; }

.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0 8%;
    background: #F5F0E6;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    left: 65%;
    bottom: 0;
    z-index: 3; 
    height: 85vh;
    display: flex;
    align-items: flex-end;
}
.hero-image img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.hero-left {
    position: relative;
    z-index: 5; 
    max-width: 420px;
    display: flex;
    flex-direction: column;
}

.intro { font-size: 1.1rem; font-weight: 500; letter-spacing: 3px; margin-bottom: -10px; opacity: 0.8; }
.script-name { font-family: "Caveat", cursive; font-size: 7.5rem; font-weight: 500; color: #32452e; line-height: 1; margin-bottom: 5px; }
.role { font-size: 0.85rem; font-weight: 700; letter-spacing: 2px; margin-bottom: 20px; text-transform: uppercase; opacity: 0.9; }
.description { font-family: "Be Vietnam Pro", sans-serif; font-size: 0.95rem; line-height: 1.6; margin-bottom: 30px; color: #4a5d46; font-weight: 400; }

.hero-buttons { display: flex; gap: 15px; }
.hero-buttons button { font-family: "League Spartan", sans-serif; padding: 12px 24px; font-size: 0.85rem; font-weight: 700; letter-spacing: 1px; border: none; cursor: pointer; transition: all 0.3s ease; }
.btn-primary { background: #32452e; color: #F5F0E6; border-radius: 4px; }
.btn-primary:hover { background: #4a5d46; }
.btn-secondary { background: transparent; color: #32452e; border: 1px solid #32452e !important; border-radius: 4px; }
.btn-secondary:hover { background: rgba(50, 69, 46, 0.1); }


.wave-divider { 
    position: absolute; 
    bottom: -1px; 
    left: 0; 
    width: 100%; 
    overflow: hidden; 
    line-height: 0; 
    z-index: 4; 
}
.wave-divider svg { 
    display: block; 
    width: 100%; 
    height: 100px; 
}
.wave-main { fill: #F5F0E6; } 
.wave-line { fill: #32452e; opacity: 0.15; } 


.about { padding: 140px 5%; background: #F5F0E6; position: relative; z-index: 5; }
.about-container { max-width: 1400px; margin: 0 auto; display: flex; flex-direction: row; gap: 40px; align-items: flex-start; }
.about-column { display: flex; flex-direction: column; }
.column-photo { flex: 1; display: flex; justify-content: center; }
.column-info { flex: 1.2; }
.column-values { flex: 1.1; }

.about-header-title h2 { font-family: "League Spartan", sans-serif; font-size: 3rem; font-weight: 800; color: #32452e; letter-spacing: 2px; display: flex; align-items: center; gap: 8px; position: relative; margin-bottom: 15px; }
.script-me { font-family: "Caveat", cursive; font-size: 3.5rem; font-weight: 400; color: #32452e; text-transform: lowercase; margin-left: 5px; margin-top: -10px; }
.sparkle { font-size: 1.2rem; color: #32452e; opacity: 0.8; }
.about-bio { font-family: "Be Vietnam Pro", sans-serif; font-size: 0.9rem; line-height: 1.7; color: #4a5d46; margin-bottom: 35px; font-weight: 400; text-align: justify; }

.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 25px 20px; width: 100%; }
.info-item { display: flex; gap: 12px; align-items: flex-start; transition: transform 0.3s ease, background-color 0.3s ease; border-radius: 6px; padding: 6px 8px; }
.info-item:hover { background-color: rgba(50, 69, 46, 0.04); transform: translateX(5px); }
.info-icon { font-size: 1.1rem; margin-top: 1px; transition: transform 0.3s ease; }
.info-item:hover .info-icon { transform: scale(1.2); }
.info-item div { display: flex; flex-direction: column; gap: 4px; }
.info-item strong { font-family: "League Spartan", sans-serif; font-size: 0.75rem; font-weight: 700; letter-spacing: 1.5px; color: #32452e; opacity: 0.7; }
.info-item p { font-family: "Caveat", cursive; font-size: 0.85rem; font-weight: 500; color: #435d3e; }


.my-values-card { background: #32452e; padding: 25px; border-radius: 8px; width: 100%; box-shadow: 0 10px 25px rgba(50, 69, 46, 0.1); }
.values-title { color: #F5F0E6; font-family: "Caveat", cursive; font-size: 2.2rem; margin-bottom: 20px; }
.values-vertical-list { display: flex; flex-direction: column; gap: 15px; }
.value-row { display: flex; gap: 15px; align-items: flex-start; padding-bottom: 10px; border-bottom: 1px solid rgba(245, 240, 230, 0.1); transition: transform 0.3s ease, opacity 0.3s ease; }
.value-row:last-child { border-bottom: none; padding-bottom: 0; }
.my-values-card:hover .value-row:not(:hover) { opacity: 0.6; }
.value-row:hover { transform: translateX(4px); }
.value-text strong { color: #FFF; font-size: 0.85rem; letter-spacing: 1px; }
.value-text p { color: #b0c2ad; font-family: "Be Vietnam Pro", sans-serif; font-size: 0.8rem; margin-top: 2px; }


.polaroid-wrapper { position: relative; transform: rotate(-4deg); transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1); }
.polaroid-wrapper:hover { transform: rotate(-1deg) translateY(-8px) scale(1.02); }
.polaroid-wrapper:hover .polaroid-frame { box-shadow: 0 20px 40px rgba(50, 69, 46, 0.12); }
.tape-top { position: absolute; top: -18px; left: 50%; transform: translateX(-50%) rotate(2deg); width: 85px; height: 22px; background: rgba(220, 215, 200, 0.7); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02); z-index: 10; }
.polaroid-frame { background: #FFFFFF; padding: 12px 12px 28px 12px; border-radius: 1px; max-width: 290px; box-shadow: 0 15px 35px rgba(50, 69, 46, 0.08), 0 5px 15px rgba(0, 0, 0, 0.04); }
.polaroid-img { width: 100%; height: auto; display: block; object-fit: cover; aspect-ratio: 4 / 4; filter: sepia(10%) contrast(95%); }
.polaroid-caption { margin-top: 15px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.school-name { font-family: "League Spartan", sans-serif; font-size: 0.8rem; font-weight: 700; letter-spacing: 1px; color: #32452e; }
.class-year { font-family: "League Spartan", sans-serif; font-size: 0.65rem; font-weight: 600; opacity: 0.5; letter-spacing: 0.5px; border-top: 1px dashed rgba(50, 69, 46, 0.3); padding-top: 4px; width: 80%; margin-top: 2px; }
.leaf-deco { position: absolute; bottom: -25px; left: -25px; font-size: 2.2rem; transform: rotate(-15deg); pointer-events: none; user-select: none; }
.branch-top-left{
    position: absolute;
    top: -40px;
    left: -60px;
    width: 140px;
    transform: rotate(-15deg);
    z-index: 1;
}

.branch-top-left img{
    width: 100%;
}
@media (max-width: 992px) { .about-container { flex-direction: column; gap: 50px; } }




.reveal-el {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), 
                transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform, opacity;
}

.hero-image.reveal-el {
    opacity: 0;
    transform: translateY(40px) scale(0.96);
    transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), 
                transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.about-column.column-photo.reveal-el {
    opacity: 0;
    transform: translateY(45px) rotate(-4deg);
    transition: opacity 0.9s cubic-bezier(0.25, 1, 0.5, 1), 
                transform 0.9s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-bg-text.reveal-el {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.85); 
    font-size: 32vw; 
    font-weight: 900;
    letter-spacing: -8px;
    color: #32452e;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    user-select: none;
    transition: opacity 1.2s cubic-bezier(0.215, 0.610, 0.355, 1), 
                transform 1.2s cubic-bezier(0.215, 0.610, 0.355, 1);
}

.reveal-el.active {
    opacity: 1;
    transform: translateY(0);
}

.hero-image.reveal-el.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.about-column.column-photo.reveal-el.active {
    opacity: 1;
    transform: translateY(0) rotate(-4deg);
}

.hero-bg-text.reveal-el.active {
    opacity: 0.06; 
    transform: translate(-50%, -50%) scale(1);
}

.reveal-el.active.intro { transition-delay: 0.1s; }
.reveal-el.active.script-name { transition-delay: 0.2s; }
.reveal-el.active.role { transition-delay: 0.3s; }
.reveal-el.active.description { transition-delay: 0.4s; }
.reveal-el.active.hero-buttons { transition-delay: 0.5s; }
.reveal-el.active.hero-image { transition-delay: 0.25s; }

.about-container .column-photo.active { transition-delay: 0.1s; }
.about-container .column-info.active { transition-delay: 0.25s; }
.about-container .column-values.active { transition-delay: 0.4s; }



.achievements-section {
    padding: 120px 8% 140px 8%;
    background: #F5F0E6;
    position: relative;
    z-index: 5;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.achievements-header {
    text-align: center;
    margin-bottom: 75px;
}

.achievements-header h2 {
    font-family: "League Spartan", sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: #32452e;
    letter-spacing: 1.5px;
}

.achievements-header .script-me {
    font-family: "Caveat", cursive;
    font-size: 3.5rem;
    font-weight: 400;
    color: #32452e;
    text-transform: lowercase;
    margin-left: 5px;
}

.achievements-header .subtitle {
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: 0.95rem;
    color: #4a5d46;
    margin-top: 12px;
    opacity: 0.85;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 45px;
    margin-top: 20px;
}

.project-card {
    position: relative;
    background: #FFFFFF;
    border: 1px solid rgba(50, 69, 46, 0.12);
    border-radius: 4px;
    padding: 35px 28px 28px 28px;
    box-shadow: 0 10px 25px rgba(50, 69, 46, 0.03);
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1), 
                box-shadow 0.45s cubic-bezier(0.25, 1, 0.5, 1),
                opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.project-card:nth-child(odd) { transform: translateY(35px) rotate(-1deg); }
.project-card:nth-child(even) { transform: translateY(35px) rotate(1.5deg); }

.project-card:hover {
    transform: translateY(-10px) rotate(0deg) scale(1.02) !important;
    box-shadow: 0 20px 40px rgba(50, 69, 46, 0.08);
    z-index: 10;
}

.card-tape {
    position: absolute;
    top: -15px;
    left: 35%;
    width: 95px;
    height: 24px;
    background: rgba(220, 215, 200, 0.45);
    backdrop-filter: blur(1px);
    transform: rotate(-2deg);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.01);
    transition: transform 0.3s ease;
}

.project-card:hover .card-tape { transform: rotate(0deg) scale(1.05); }

.card-paperclip {
    position: absolute;
    top: -18px;
    right: 28px;
    font-size: 1.8rem;
    transform: rotate(15deg);
    z-index: 10;
    user-select: none;
    pointer-events: none;
    transition: transform 0.3s ease;
}

.project-card:hover .card-paperclip { transform: rotate(5deg) scale(1.1); }

.card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.paper-grid {
    background-image: linear-gradient(rgba(50, 69, 46, 0.04) 1px, transparent 1px);
    background-size: 100% 26px;
    line-height: 26px;
}

.card-tag {
    font-family: "League Spartan", sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #32452e;
    opacity: 0.6;
    margin-bottom: 14px;
}

.project-card h3 {
    font-family: "League Spartan", sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #32452e;
    margin-bottom: 14px;
    letter-spacing: 0.3px;
}

.card-desc {
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: 0.85rem;
    line-height: 1.65;
    color: #4a5d46;
    margin-bottom: 25px;
    text-align: justify;
}

.card-link {
    font-family: "Caveat", cursive;
    font-size: 1.35rem;
    color: #32452e;
    text-decoration: none;
    margin-top: auto;
    font-weight: 600;
    display: inline-block;
    width: max-content;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.card-link:hover {
    opacity: 0.7;
    transform: translateX(4px);
}

.achievements-section .reveal-el { opacity: 0; }
.achievements-section .reveal-el.active { opacity: 1; }
.achievements-section .achievements-header.reveal-el.active { transform: translateY(0); }
.achievements-section .project-card.reveal-el:nth-child(odd).active { transform: translateY(0) rotate(-1deg); }
.achievements-section .project-card.reveal-el:nth-child(even).active { transform: translateY(0) rotate(1.5deg); }

.achievements-grid .project-card:nth-child(1).active { transition-delay: 0.15s; }
.achievements-grid .project-card:nth-child(2).active { transition-delay: 0.3s; }
.achievements-grid .project-card:nth-child(3).active { transition-delay: 0.45s; }

.experience-section {
    padding: 100px 6% 120px 6%;
    background: #F5F0E6;
    position: relative;
    z-index: 5;
    overflow: hidden;
}

.experience-header {
    text-align: center;
    margin-bottom: 60px;
}

.experience-header h2 {
    font-family: "League Spartan", sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: #32452e;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.experience-header h2 .star-icon {
    font-size: 1.8rem;
    font-weight: 400;
}

.experience-header .subtitle {
    font-family: "Caveat", cursive;
    font-size: 2.2rem;
    color: #32452e;
    margin-top: -5px;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.exp-photo-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}


.exp-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1.15; 
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(50, 69, 46, 0.06);
    background: #EAE3D2;
}

.exp-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.exp-photo-card:hover .exp-img-wrapper img {
    transform: scale(1.06);
}

.exp-clip {
    position: absolute;
    bottom: 8px;
    right: 8px;
    font-size: 1.3rem;
    transform: rotate(-45deg);
    z-index: 2;
    filter: drop-shadow(1px 2px 2px rgba(0,0,0,0.15));
    user-select: none;
    pointer-events: none;
}


.exp-card-info {
    text-align: center;
    margin-top: 15px;
    width: 100%;
}

.exp-card-info h3 {
    font-family: "League Spartan", sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    color: #32452e;
    letter-spacing: 1px;
    margin-bottom: 8px;
}


.btn-view-more {
    font-family: "League Spartan", sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    color: #32452e;
    text-decoration: none;
    border: 1px solid rgba(50, 69, 46, 0.25);
    padding: 5px 16px;
    border-radius: 4px;
    display: inline-block;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    background: transparent;
}

.btn-view-more:hover {
    background: #32452e;
    color: #F5F0E6;
    border-color: #32452e;
}

.experience-note {
    text-align: center;
    margin-top: 40px;
}

.experience-note p {
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(50, 69, 46, 0.7);
}

.experience-note .arrow-hand {
    font-family: sans-serif;
    font-size: 1.2rem;
    display: inline-block;
    transform: translateY(2px);
    margin-left: 3px;
}

.leaf-decoration {
    position: absolute;
    bottom: -10px;
    left: -20px;
    width: 160px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.9;
}
.leaf-decoration img { width: 100%; height: auto; }



.site-footer {
    background: #32452e; 
    padding: 60px 8% 20px 8%;
    position: relative;
    z-index: 5;
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
}

.footer-main-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(245, 240, 230, 0.12);
    padding-bottom: 45px;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-title-block h2 {
    font-family: "League Spartan", sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: #F5F0E6; 
    line-height: 1.1;
    letter-spacing: 1px;
}

.script-footer {
    font-family: "Caveat", cursive;
    font-size: 1.6rem;
    color: #F5F0E6;
    opacity: 0.9;
    margin-top: 5px;
}

.footer-info-links {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.footer-icon {
    font-size: 1.4rem;
    color: #F5F0E6;
    opacity: 0.85;
}

.footer-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-text strong {
    font-family: "League Spartan", sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    color: #F5F0E6;
    letter-spacing: 1px;
    opacity: 0.6;
}

.footer-text span {
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    color: #F5F0E6;
    transition: opacity 0.3s ease;
}

a.footer-info-item:hover .footer-text span {
    opacity: 0.7;
}


.footer-bottom {
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-family: "League Spartan", sans-serif;
    font-size: 0.75rem;
    color: #F5F0E6;
    opacity: 0.4;
    letter-spacing: 0.5px;
}

.footer-socials {
    display: flex;
    gap: 16px;
    margin-top: 25px; 
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;       
    height: 42px;
    border-radius: 50%;
    border: 1.5px solid rgba(245, 240, 230, 0.35); 
    background: transparent;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    text-decoration: none;
}


.social-icon svg {
    width: 20px;       
    height: 20px;
    fill: #F5F0E6;     
    transition: fill 0.3s ease;
}

.social-icon:hover {
    background: #F5F0E6;
    border-color: #F5F0E6;
    transform: translateY(-4px); 
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.social-icon:hover svg {
    fill: #32452e;     
}



@media screen and (max-width: 1024px) {
  .nav {
    padding: 20px 5%;
  }

  .hero-left {
    max-width: 55%;
  }

  .hero-image {
    width: 40%;
    right: 5%;
  }

  .about-container {
    gap: 30px;
    padding: 0 2%;
  }

  .achievements-grid {
    grid-template-columns: repeat(2, 1fr); 
    gap: 20px;
  }
}


@media screen and (max-width: 768px) {
  .nav-links {
    display: none; 
  }

  .hero {
    flex-direction: column;
    padding: 120px 5% 50px 5%;
    text-align: center;
  }

  .hero-left {
    max-width: 100%;
    margin-bottom: 50px;
  }

  .hero-image {
    position: relative;
    right: auto;
    bottom: auto;
    width: 60%;
    margin: 0 auto;
  }

  .script-name {
    font-size: 4rem;
  }

  .about-container {
    flex-direction: column; 
    align-items: center;
    gap: 40px;
  }

  .about-column {
    width: 100%;
  }

  .polaroid-frame {
    transform: none; 
    margin: 0 auto;
    max-width: 280px;
  }

  .info-grid {
    grid-template-columns: repeat(2, 1fr); 
  }

  .achievements-grid {
    grid-template-columns: 1fr; 
  }

  .experience-grid {
    grid-template-columns: repeat(2, 1fr); 
    gap: 20px;
  }

  .footer-main-content {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .footer-socials {
    justify-content: center;
  }

  .footer-info-links {
    align-items: center;
    width: 100%;
  }
}


@media screen and (max-width: 480px) {
  .logo {
    font-size: 1.6rem;
  }

  .script-name {
    font-size: 3.2rem;
  }

  .role {
    font-size: 1.2rem;
  }

  .description {
    font-size: 0.9rem;
  }

  .info-grid {
    grid-template-columns: 1fr; /* Điện thoại nhỏ thì thông tin cá nhân xếp thành 1 hàng dọc hẳn */
    gap: 15px;
  }

  .my-values-card {
    padding: 20px;
  }

  .experience-grid {
    grid-template-columns: 1fr; /* 4 ô kinh nghiệm xếp dọc hoàn toàn để xem ảnh cho to rõ */
  }

  .footer-title-block h2 {
    font-size: 2.2rem;
  }

  .script-footer {
    font-size: 1.5rem;
  }
}
