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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f4f1ea; /* Light beige background from Figma */
    overflow-x: hidden;
}

/* Landing Page Styles */
.landing-container {
    width: 1440px;
    height: 100vh;
    max-width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 67px 129px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.landing-container.zoomed {
    transform: scale(0.1);
    opacity: 0;
    pointer-events: none;
}

.main-frame {
    width: 1182px;
    height: 857px;
    display: flex;
    flex-direction: column;
    gap: 120px; /* itemSpacing from Figma */
    align-items: stretch;
}

.image-container {
    width: 100%;
    height: 603px;
    margin-top: 55px;
    overflow: hidden;
    border-radius: 0;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(0.5) translateY(29.19%);
    transform-origin: center;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Bounce animation keyframes */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.scroll-text {
    width: 100%;
    height: 24px;
    color: #cd683f; /* Orange color from Figma */
    font-size: 16px;
    font-weight: 400;
    text-align: center;
    line-height: 24px;
    text-transform: lowercase;
    letter-spacing: 0.5px;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    animation: bounce 2s ease-in-out infinite;
}

/* Content Page Styles */
.content-page {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-color: #f4f1ea;
    opacity: 0;
    transform: translateY(100vh);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 5;
}

.content-page.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Header */
.header {
    background: #f4f1ea;
    padding: 20px 50px;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1340px;
    margin: 0 auto;
}

.logo {
    width: 250px;
    height: 100px;
    overflow: visible;
    border-radius: 0;
}

.logo-image {
    width: 100%;
    height: 100px;
    object-fit: contain;
    transform: none;
}

.navigation {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links {
    display: flex;
    gap: 41px;
}

.nav-link {
    color: #000;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #cd683f;
}

.contact-btn {
    position: relative;
    background: transparent;
    border: none;
    border-radius: 20px;
    padding: 24px 0;
    color: #222;
    font-size: 18px;
    font-weight: 200;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    text-decoration: none;
    display: inline-block;
    width: 119px;
    text-align: center;
    box-shadow: none;
    z-index: 1;
    overflow: hidden;
}

.contact-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px; /* border thickness */
    background: linear-gradient(135deg, #b0b95c 0%, #fbcfe8 100%);
    -webkit-mask:
      linear-gradient(#fff 0 0) content-box, 
      linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 0;
}

.contact-btn:hover, .contact-btn:focus {
    background: linear-gradient(135deg, #b0b95c 0%, #fbcfe8 100%);
    color: #fff;
    outline: none;
}

.contact-btn:hover::before,
.contact-btn:focus::before {
    opacity: 0;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(180deg, #fdd7aa 0%, #fdd3c9 50%, #fbcfe8 100%);
    padding: 50px 15px;
    width: 100vw;
    margin: 0;
    border-radius: 0;
    margin-bottom: 108px;
    margin-top: 20px;
    position: relative;
    left: 50%;
    right: 50%;
    transform: translateX(-50%);
}

.hero-content {
    max-width: 1310px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.hero-subtitle {
    color: #652b16;
    font-size: 18px;
    font-weight: 400;
    line-height: 26px;
}

.hero-title {
    color: #d17655;
    font-size: 38px;
    font-weight: 600;
    line-height: 38px;
}

.hero-btn {
    align-self: center;
    margin-top: 25px;
}

/* Main Content */
.main-content {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 50px;
}

.section {
    margin-bottom: 126px;
}

.section-title {
    color: #000;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 27px;
    text-align: center;
}

.section-description {
    color: #000;
    font-size: 16px;
    line-height: 22px;
    margin-bottom: 46px;
    text-align: center;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
}

/* Features */
.features {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    width: 100%;
}

.feature-icon {
    width: 73px;
    height: 44px;
    margin-bottom: 7px;
}

.feature:nth-child(2) .feature-icon {
    width: 58px;
    height: 46px;
}

.feature:nth-child(3) .feature-icon {
    width: 58px;
    height: 58px;
}

.feature-text {
    color: #000;
    font-size: 16px;
    text-align: center;
    line-height: 22px;
}

/* Syllabus Grid */
.syllabus-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 17px;
    margin-bottom: 15px;
}

.syllabus-card {
    background: #c8d45f;
    border-radius: 8px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 33px;
}

.syllabus-card.intermediate {
    background: #e8bbcf;
}

.syllabus-card.advanced {
    background: #ccba92;
}

.syllabus-card.proficient {
    background: #edd8aa;
}

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

.card-title {
    color: #000;
    font-size: 20px;
    font-weight: 600;
    line-height: 29px;
}

.card-subtitle {
    color: #000;
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.card-description {
    color: #000;
    font-size: 14px;
    line-height: 19px;
}

.learning-points h4 {
    color: #000;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.learning-points ul {
    color: #000;
    font-size: 14px;
    line-height: 18px;
    list-style: none;
}

.learning-points li {
    margin-bottom: 8px;
}

.prerequisite {
    color: #000;
    font-size: 12px;
    font-style: italic;
    margin-top: 10px;
}

/* Activities Section */
.activities {
    display: flex;
    gap: 25px;
    margin-top: 23px;
    align-items: flex-start;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.activities-left,
.activities-right {
    flex: 1 1 0;
    min-width: 0;
    margin: 0;
    padding: 0;
}

.activities-left h3,
.practice-left h3 {
    color: #000;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 22px;
}

.activities-right ul,
.practice-right ul {
    color: #000;
    font-size: 16px;
    line-height: 22px;
    list-style: none;
}

.activities-right li,
.practice-right li {
    margin-bottom: 8px;
}

/* Practice Section */
.practice-info {
    display: flex;
    gap: 25px;
    margin-top: 23px;
    align-items: flex-start;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.practice-left,
.practice-right {
    flex: 1 1 0;
    min-width: 0;
    margin: 0;
    padding: 0;
}

/* Schedule Section */
.schedule-card {
    background: #b0b95c;
    border-radius: 15px;
    padding: 25px 312px;
    text-align: center;
    margin-bottom: 13px;
}

.schedule-card h3 {
    color: #000;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 13px;
}

.schedule-card p {
    color: #000;
    font-size: 14px;
    font-weight: 400;
}

.schedule-note {
    color: #000;
    font-size: 14px;
    text-align: center;
    line-height: 19px;
    font-weight: 600;
}

/* Instructor Section */
.instructor-name {
    color: #000;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 44px;
}

.instructor-content {
    display: flex;
    gap: 92px;
    align-items: flex-start;
}

.instructor-image {
    flex: 1;
}

.instructor-photo {
    width: 100%;
    height: 601px;
    object-fit: cover;
    border-radius: 25px;
}

.instructor-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 21px;
}

.instructor-text p {
    color: #000;
    font-size: 16px;
    line-height: 24px;
}

/* Contact Section */
.contact-section {
    text-align: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 47px;
}

.contact-phone {
    color: #000;
    font-size: 16px;
    font-weight: 400;
}

/* Responsive Design */
@media (max-width: 1440px) {
    .header {
        position: sticky;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
        margin: 0;
        padding: 0 24px;
        z-index: 100;
    }
    .header-content {
        width: 100%;
        max-width: 100vw;
        margin: 0;
        box-sizing: border-box;
        padding: 0;
    }
    .hero-section {
        margin-top: 40px;
    }
    #about {
        margin-top: 40px;
    }
    .activities,
    .practice-info {
        flex-direction: row;
        gap: 25px;
        align-items: flex-start;
    }
    .instructor-content {
        flex-direction: row;
        gap: 40px;
        align-items: flex-start;
    }
    
    .syllabus-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .schedule-card {
        padding: 25px 20px;
    }
}

@media (max-width: 768px) {
    .landing-container {
        padding: 10px;
    }
    
    .main-frame {
        gap: 40px;
    }
    
    .scroll-text {
        font-size: 14px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-links {
        gap: 20px;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .contact-btn {
        padding: 12px 16px;
        font-size: 14px;
    }
}

/* Mobile nav overlay */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(244, 241, 234, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 110;
    gap: 32px;
    transition: opacity 0.3s;
}
.mobile-nav.active {
    display: flex;
}
.mobile-nav .nav-link,
.mobile-nav .contact-btn {
    font-size: 28px;
    margin: 0 0 12px 0;
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }
    .hamburger {
        display: none;
    }
    .header-content {
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }
    .logo {
        margin: 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .hero-section {
        width: 100%;
        left: 0;
        right: 0;
        transform: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding-left: 0;
        padding-right: 0;
    }
    .hero-content {
        align-items: center;
        text-align: center;
        width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 900px) {
    .mobile-nav {
        display: none;
    }
    .mobile-nav.active {
        display: flex;
    }
} 

@media (max-width: 420px) {
    .header {
        width: 100%;
        padding: 0;
    }
    
    .header-content {
        width: 100%;
        max-width: 100vw;
        justify-content: center;
        align-items: center;
        padding: 0;
    }
    .logo {
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
        width: auto;
    }
    .header {
        padding: 16px 0 0 0;
    }
    .hero-section {
        width: 100%;
        left: 0;
        right: 0;
        transform: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding-left: 0;
        padding-right: 0;
    }
    .hero-content {
        align-items: center;
        text-align: center;
        width: 100%;
        margin: 0 auto;
    }
    .section-title {
        font-size: 22px;
    }
}

@media (max-width: 800px) {
    .instructor-content {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
    .instructor-image {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .instructor-photo {
        max-width: 220px;
        width: 100%;
        height: auto;
        margin: 0 auto 24px auto;
        display: block;
    }
    .instructor-text {
        width: 100%;
        text-align: center;
    }
    .activities,
    .practice-info {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
    .activities-left,
    .activities-right,
    .practice-left,
    .practice-right {
        width: 100%;
        text-align: center;
    }
}