/** Teacher Style**/

/* ===== Hero Section ===== */
.hero {
    padding-top: 72px;
    min-height: 728px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    padding-top: 60px;
    padding-right: 0;
    position: relative;
    background: url("../images/teacher/teacher_top_img.jpg") no-repeat 100% 90%;
    background-size: 60%;
}

/* Hero Left */
.hero-left {
    width: 576px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.hero-title-group {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.hero-title {
    font-size: 68px;
    font-weight: 900;
    color: var(--primary);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 28px;
    font-weight: 500;
    color: var(--black);
    line-height: 1.4;
    margin-top: 0;
}

/* Hero Features */
.hero-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 492px;
}

.hero-feature {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    width: 492px;
}

.hero-feature-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 5px;
    position: relative;
}

.hero-feature-icon .placeholder-img {
    width: 20px;
    height: 20px;
    border-radius: 20px;
    background-color: var(--icon-yellow);
}

.hero-feature-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 464px;
}

.hero-feature-title {
    font-size: 22px;
    font-weight: 500;
    color: var(--black);
    line-height: 1.4;
}

.hero-feature-desc {
    font-size: 16px;
    font-weight: 400;
    color: var(--gray-text);
    line-height: 1.5;
}

/* Hero Right */
.hero-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
    position: relative;
}

.hero-image {
    width: 100%;
    max-width: 1000px;
    height: 628px;
    border-radius: 20px;
    overflow: hidden;
}

.hero-image .top-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* CTA overlaid on right area */
.hero-cta {
    position: absolute;
    top: 60px;
    left: 50%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transform: translateX(-30%);
}

.hero-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /*padding: 12px 28px;*/
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 100px;
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: var(--shadow-btn);
    width: 328px;
    height: 48px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-cta-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 20px rgba(96, 42, 166, 0.4);
}

.hero-cta-btn:active {
    transform: translateY(0) scale(0.97);
}

.hero-cta-arrow {
    position: absolute;
    bottom: -16px;
    left: 23px;
    width: 24px;
    height: 16px;
    background: var(--primary);
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}

/* ===== Process Section ===== */
.process-section {
    padding: 100px 0 120px;
    background: var(--white);
}

.process-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 60px;
}

.process-header-top {
    display: flex;
    align-items: center;
    gap: 32px;
}

.process-header-icon {
    width: 44px;
    height: 44px;
}

.process-header-icon .placeholder-img {
    width: 34px;
    height: 42px;
}

.process-title {
    font-size: 56px;
    font-weight: 900;
    color: var(--primary);
    text-align: center;
}

.process-subtitle {
    font-size: 32px;
    font-weight: 500;
    color: var(--subtitle-purple);
    text-align: center;
}

/* Process Steps */
.process-steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.process-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1108px;
    position: relative;
    gap: 30px;
}

.process-number {
    font-size: 100px;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 2px var(--primary);
    text-stroke: 2px var(--primary);
    width: 118px;
    text-align: center;
    line-height: 137px;
}

.process-connectors {
    position: absolute;
    top: 61px;
    left: 0;
    right: 0;
    height: 16px;
    pointer-events: none;
}

.process-connector {
    position: absolute;
    height: 16px;
    width: 152px;
    background: var(--placeholder);
}

.process-connector:nth-child(1) {
    left: 148px;
}

.process-connector:nth-child(2) {
    left: 478px;
}

.process-connector:nth-child(3) {
    left: 808px;
}

.process-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 190px;
    margin-top: 0;
}

.process-icon {
    width: 140px;
    height: 140px;
    border-radius: 200px;
    overflow: hidden;
    box-shadow: var(--shadow-icon);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

.process-icon:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.process-icon .placeholder-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.process-cards {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 40px;
    margin-top: 0;
}

.process-card {
    width: 290px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.process-card-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 228px;
}

.process-card-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    line-height: 1.3;
}

.process-card-line {
    width: 60px;
    height: 4px;
    background: var(--yellow);
    border: none;
    border-radius: 2px;
}

.process-card-desc {
    font-size: 20px;
    font-weight: 500;
    color: var(--gray-text);
    text-align: center;
    line-height: 1.6;
}

/* ===== Responsive: 1200px ===== */
@media (max-width: 1200px) {
    .hero-content {
        flex-direction: column;
        gap: 40px;
        background: none;
    }

    .hero-left {
        width: 100%;
    }

    .hero-features {
        width: 100%;
    }

    .hero-feature {
        width: 100%;
    }

    .hero-feature-text {
        width: auto;
        flex: 1;
    }

    .hero-right {
        width: 100%;
        align-items: center;
    }

    .hero-image {
        max-width: 100%;
        height: 400px;
    }

    .process-numbers {
        width: 100%;
        justify-content: space-around;
        flex-wrap: wrap;
    }

    .process-line {
        display: none;
    }
    .process-number {
        font-size: 70px;
        line-height: 100px;
        width: 90px;
    }

    .process-number:nth-child(1),
    .process-number:nth-child(2),
    .process-number:nth-child(3) {
        margin-right: 40px;
    }

    .process-connectors {
        display: none;
    }

    .process-icons {
        gap: 40px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .process-cards {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ===== Responsive: 900px ===== */
@media (max-width: 900px) {
    .container {
        padding: 0 40px;
    }

    .hero {
        min-height: auto;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 22px;
    }

    .hero-image {
        height: 300px;
    }

    .hero-cta-btn {
        font-size: 16px;
        width: 260px;
        height: 42px;
    }

    .process-title {
        font-size: 40px;
    }

    .process-subtitle {
        font-size: 24px;
    }

    .process-number {
        font-size: 56px;
        line-height: 80px;
        width: 70px;
    }

    .process-icon {
        width: 100px;
        height: 100px;
    }

    .process-icon .step-icon {
        display: block;
        width: 100%;
        height: 100%;
        border-radius: 50%;
        object-fit: contain;
    }

    .process-card {
        width: 240px;
    }

    .process-card-title {
        font-size: 22px;
    }

    .process-card-desc {
        font-size: 16px;
    }
}

/* ===== Responsive: 600px ===== */
@media (max-width: 600px) {
    .container {
        padding: 0 20px;
    }

    .header .container {
        padding: 12px 20px;
    }

    .header-nav {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        padding: 0 24px;
        gap: 0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, padding 0.3s ease;
    }

    .header-nav.open {
        max-height: 400px;
        opacity: 1;
        padding: 16px 24px;
        gap: 8px;
    }

    .header-nav a {
        padding: 10px 0;
        border-bottom: 1px solid #f0ebf8;
        width: 100%;
        opacity: 1 !important;
        font-size: 16px;
        transform: translateX(-10px);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .header-nav.open a {
        transform: translateX(0);
        opacity: 0.8;
    }

    .header-nav.open a:last-child {
        border-bottom: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .header-actions .btn-yellow, .header-actions .btn-purple {
        display: none;
    }

    .hero {
        padding-top: 72px;
    }

    .hero-content {
        padding-top: 30px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-feature-title {
        font-size: 18px;
    }

    .hero-feature-desc {
        font-size: 14px;
    }

    .hero-image {
        height: 220px;
    }

    .hero-cta-btn {
        font-size: 14px;
        width: 220px;
        height: 38px;
    }

    .process-section {
        padding: 60px 0 80px;
    }

    .process-header {
        margin-bottom: 32px;
    }

    .process-header-top {
        gap: 16px;
    }

    .process-title {
        font-size: 30px;
    }

    .process-subtitle {
        font-size: 18px;
    }

    .process-numbers {
        gap: 20px;
    }

    .process-number {
        font-size: 40px;
        line-height: 60px;
        width: 50px;
    }

    .process-number:nth-child(1),
    .process-number:nth-child(2),
    .process-number:nth-child(3) {
        margin-right: 0;
    }

    .process-icons {
        gap: 20px;
    }

    .process-icon {
        width: 70px;
        height: 70px;
    }

    .process-cards {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }

    .process-card {
        width: 100%;
        max-width: 320px;
    }

    .process-card-title {
        font-size: 20px;
    }

    .process-card-desc {
        font-size: 14px;
    }

    .floating-cta .pill-btn {
        font-size: 20px;
        padding: 12px 20px;
    }
}

/* ===== Responsive: 375px ===== */
@media (max-width: 375px) {
    .hero-title {
        font-size: 30px;
    }

    .process-title {
        font-size: 26px;
    }
}