/* Events 页面专用样式 */

/* Header 区域 */
.header.events {
    height: 70vh;
    background-image: url('./images/bg2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.header.events .hero {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    text-align: left;
    color: white;
    max-width: 800px;
    padding: 0 60px;
    width: 100%;
}

.header.events .hero h1 {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.header.events .hero p {
    font-size: 24px;
    line-height: 1.4;
    opacity: 0.95;
    color: white !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header.events .hero {
        padding: 0 40px;
    }
    
    .header.events .hero h1 {
        font-size: 48px;
        margin-bottom: 15px;
    }
    
    .header.events .hero p {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .header.events .hero {
        padding: 0 20px;
    }
    
    .header.events .hero h1 {
        font-size: 36px;
        margin-bottom: 12px;
    }
    
    .header.events .hero p {
        font-size: 18px;
    }
}

@media (max-width: 360px) {
    .header.events .hero {
        padding: 0 15px;
    }
    
    .header.events .hero h1 {
        font-size: 30px;
        margin-bottom: 10px;
    }
    
    .header.events .hero p {
        font-size: 16px;
    }
}

/* Deal sourcing live 活动区域 */
.deal-sourcing-section {
    background-color: #1a2e4f;
    padding: 80px 0;
}

.deal-sourcing-container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #1a2e4f;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    min-height: 600px;
}

/* 左侧蓝色内容区域 */
.content-left {
    flex: 1;
    background-color: #3a6edc;
    padding: 40px;
    color: white;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* 白色间隔 */
.content-left::after {
    content: '';
    position: absolute;
    top: 0;
    right: -1.5px;
    width: 3px;
    height: 100%;
    background-color: white;
}

/* 右侧图片区域 */
.content-right {
    flex: 1;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-left: 3px;
}

/* Logo和品牌区域 */
.content-header {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.content-logo {
    width: 40px;
    height: auto;
    margin-right: 12px;
}

.content-brand {
    font-size: 18px;
    font-weight: 600;
    color: white;
}

/* 主要内容 */
.content-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
}

.content-title {
    font-size: 48px;
    font-weight: 700;
    color: white;
    margin-bottom: 25px;
    line-height: 1.2;
}

.content-description {
    font-size: 16px;
    line-height: 1.6;
    color: white;
    margin-bottom: 40px;
    opacity: 0.95;
}

.content-subtitle {
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin-bottom: 25px;
    line-height: 1.3;
}

.event-details {
    margin-bottom: 40px;
}

.event-info {
    font-size: 16px;
    line-height: 1.6;
    color: white;
    margin-bottom: 8px;
    opacity: 0.95;
}

/* Register Now 按钮 */
.register-btn {
    background-color: white;
    color: #3a6edc;
    border: none;
    border-radius: 25px;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.register-btn:hover {
    background-color: #FF8C42;
    color: #3a6edc;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 140, 66, 0.3);
}

/* 课程图片 */
.course-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .deal-sourcing-section {
        padding: 60px 20px;
    }
    
    .deal-sourcing-container {
        flex-direction: column;
        max-width: 100%;
        margin: 0;
    }
    
    .content-left {
        padding: 30px 25px;
    }
    
    .content-left::after {
        display: none;
    }
    
    .content-right {
        margin-left: 0;
        margin-top: 3px;
        min-height: 300px;
    }
    
    .content-header {
        margin-bottom: 30px;
    }
    
    .content-logo {
        width: 35px;
        margin-right: 10px;
    }
    
    .content-brand {
        font-size: 16px;
    }
    
    .content-title {
        font-size: 36px;
        margin-bottom: 20px;
    }
    
    .content-subtitle {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .content-description {
        font-size: 15px;
        margin-bottom: 30px;
    }
    
    .event-details {
        margin-bottom: 30px;
    }
    
    .event-info {
        font-size: 15px;
        margin-bottom: 6px;
    }
    
    .register-btn {
        padding: 12px 30px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .deal-sourcing-section {
        padding: 50px 15px;
    }
    
    .content-left {
        padding: 25px 20px;
    }
    
    .content-title {
        font-size: 28px;
        margin-bottom: 18px;
    }
    
    .content-subtitle {
        font-size: 20px;
        margin-bottom: 18px;
    }
    
    .content-description {
        font-size: 14px;
        margin-bottom: 25px;
    }
    
    .event-info {
        font-size: 14px;
    }
    
    .register-btn {
        padding: 10px 25px;
        font-size: 15px;
    }
}

/* 斜边背景区域 */
.diagonal-bg-section {
    width: 100%;
    height: 500px;
    background-image: url('./images/bg3.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    margin: 0;
    padding: 0;
}

/* 上边界斜向上的效果 */
.diagonal-bg-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to right bottom, #1a2e4f 49%, transparent 51%);
    z-index: 1;
}

/* 下边界斜向下的效果 */
.diagonal-bg-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to right top, #1a2e4f 49%, transparent 51%);
    z-index: 1;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .diagonal-bg-section {
        height: 400px;
    }
    
    .diagonal-bg-section::before,
    .diagonal-bg-section::after {
        height: 60px;
    }
}

@media (max-width: 480px) {
    .diagonal-bg-section {
        height: 300px;
    }
    
    .diagonal-bg-section::before,
    .diagonal-bg-section::after {
        height: 40px;
    }
}

/* What You'll Learn 区域 */
.what-you-learn-section {
    background-color: #1a2e4f;
    padding: 80px 0;
    width: 100%;
}

.learn-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.learn-title {
    font-size: 48px;
    font-weight: 700;
    color: white;
    text-align: center;
    margin-bottom: 60px;
    line-height: 1.2;
}

/* Sessions 网格布局 */
.sessions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Session 卡片 */
.session-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: transparent;
    position: relative;
    width: 450px;
    height: 450px;
    border-radius: 15px;
    overflow: hidden;
}

.session-number {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 32px;
    font-weight: 700;
    color: #4472C4;
    z-index: 2;
    margin: 0;
    text-align: center;
}

.session-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: all 0.3s ease;
}

/* Session 介绍文字 */
.session-description {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #4472C4;
    color: white;
    padding: 20px;
    border-radius: 0 0 15px 15px;
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 3;
}

.description-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: white;
    line-height: 1.3;
}

.description-text {
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
    color: white;
    opacity: 0.95;
}

/* Hover 效果 */
.session-card:hover .session-image {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.session-card:hover .session-description {
    transform: translateY(0);
    opacity: 1;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .learn-container {
        padding: 0 30px;
    }
    
    .sessions-grid {
        gap: 30px;
        max-width: 800px;
    }
    
    .session-card {
        width: 350px;
        height: 350px;
    }
    
    .session-number {
        font-size: 28px;
        top: 15px;
    }
    
    .session-description {
        padding: 15px;
    }
    
    .description-title {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .description-text {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .what-you-learn-section {
        padding: 60px 0;
    }
    
    .learn-container {
        padding: 0 20px;
    }
    
    .learn-title {
        font-size: 36px;
        margin-bottom: 40px;
    }
    
    .sessions-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, 1fr);
        gap: 30px;
        max-width: 400px;
    }
    
    .session-card {
        width: 300px;
        height: 300px;
    }
    
    .session-number {
        font-size: 24px;
        top: 12px;
    }
    
    .session-description {
        padding: 12px;
    }
    
    .description-title {
        font-size: 15px;
        margin-bottom: 6px;
    }
    
    .description-text {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .what-you-learn-section {
        padding: 50px 0;
    }
    
    .learn-container {
        padding: 0 15px;
    }
    
    .learn-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .sessions-grid {
        gap: 25px;
        max-width: 280px;
    }
    
    .session-card {
        width: 250px;
        height: 250px;
    }
    
    .session-number {
        font-size: 20px;
        top: 10px;
    }
    
    .session-description {
        padding: 10px;
    }
    
    .description-title {
        font-size: 14px;
        margin-bottom: 5px;
    }
    
    .description-text {
        font-size: 11px;
    }
}

/* Testimonials 区域 */
.testimonials-section {
    background-color: white;
    padding: 80px 0;
    width: 100%;
}

.testimonials-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
}

.testimonials-title {
    font-size: 48px;
    font-weight: 700;
    color: #4472C4;
    text-align: center;
    margin-bottom: 60px;
    line-height: 1.2;
}

/* Testimonials 滑动容器 */
.testimonials-slider {
    display: flex;
    gap: 30px;
    overflow-x: scroll;
    overflow-y: hidden;
    padding: 20px 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}

/* 隐藏滚动条但保持滚动功能 */
.testimonials-slider::-webkit-scrollbar {
    display: none;
}

.testimonials-slider::-webkit-scrollbar-thumb {
    background: transparent;
}

.testimonials-slider {
    -ms-overflow-style: none;
    scrollbar-width: none;
    cursor: grab;
    user-select: none;
}

.testimonials-slider:active,
.testimonials-slider.active {
    cursor: grabbing;
}

.testimonials-slider.active .testimonial-card {
    pointer-events: none;
}

/* Testimonial 卡片 */
.testimonial-card {
    min-width: 800px;
    width: 800px;
    height: 600px;
    background-color: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    white-space: normal;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Testimonial 头部 */
.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.user-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-right: 30px;
    object-fit: cover;
    object-position: center;
}

.user-info {
    flex: 1;
}

.user-name {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin: 0 0 15px 0;
}

.rating {
    display: flex;
    gap: 8px;
}

.star {
    font-size: 40px;
    color: #FF8C42;
}

/* Testimonial 文字 */
.testimonial-text {
    font-size: 24px;
    line-height: 1.6;
    color: #555;
    margin: 0;
    font-style: italic;
    text-align: left;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .testimonials-container {
        padding: 0 30px;
    }
    
    .testimonial-card {
        min-width: 650px;
        width: 650px;
        height: 480px;
        padding: 35px;
    }
    
    .testimonials-title {
        font-size: 40px;
        margin-bottom: 50px;
    }
    
    .user-avatar {
        width: 120px;
        height: 120px;
        margin-right: 25px;
        object-fit: cover;
        object-position: center;
    }
    
    .user-name {
        font-size: 30px;
        margin-bottom: 12px;
    }
    
    .star {
        font-size: 32px;
    }
    
    .testimonial-text {
        font-size: 20px;
    }
    
    .testimonials-slider {
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 60px 0;
    }
    
    .testimonials-container {
        padding: 0 20px;
    }
    
    .testimonials-title {
        font-size: 32px;
        margin-bottom: 40px;
    }
    
    .testimonial-card {
        min-width: 500px;
        width: 500px;
        height: 400px;
        padding: 30px;
    }
    
    .testimonials-slider {
        gap: 20px;
    }
    
    .user-avatar {
        width: 100px;
        height: 100px;
        margin-right: 20px;
        object-fit: cover;
        object-position: center;
    }
    
    .user-name {
        font-size: 24px;
        margin-bottom: 10px;
    }
    
    .star {
        font-size: 26px;
    }
    
    .testimonial-text {
        font-size: 18px;
    }
    
    .testimonial-header {
        margin-bottom: 25px;
    }
}

@media (max-width: 480px) {
    .testimonials-section {
        padding: 50px 0;
    }
    
    .testimonials-container {
        padding: 0 15px;
    }
    
    .testimonials-title {
        font-size: 26px;
        margin-bottom: 30px;
    }
    
    .testimonial-card {
        min-width: 350px;
        width: 350px;
        height: 320px;
        padding: 25px;
    }
    
    .testimonials-slider {
        gap: 15px;
    }
    
    .user-avatar {
        width: 80px;
        height: 80px;
        margin-right: 15px;
        object-fit: cover;
        object-position: center;
    }
    
    .user-name {
        font-size: 20px;
        margin-bottom: 8px;
    }
    
    .star {
        font-size: 22px;
        gap: 6px;
    }
    
    .testimonial-text {
        font-size: 16px;
    }
    
    .testimonial-header {
        margin-bottom: 20px;
    }
}

/* FAQ 区域 */
.faq-section {
    background-color: white;
    padding: 80px 0;
    width: 100%;
}

.faq-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

/* 左侧内容 */
.faq-left {
    flex: 1;
    max-width: 400px;
}

.faq-title {
    font-size: 48px;
    font-weight: 700;
    color: #4472C4;
    margin-bottom: 20px;
    line-height: 1.2;
}

.faq-description {
    font-size: 18px;
    line-height: 1.6;
    color: #6B9BD2;
    margin: 0;
}

/* 右侧问题列表 */
.faq-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* FAQ 项目 */
.faq-item {
    border: 2px solid #4472C4;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #FF8C42;
}

.faq-item:hover .faq-question-text {
    color: #FF8C42;
}

.faq-item.active {
    border-color: #FF8C42;
}

.faq-item.active .faq-question-text {
    color: #FF8C42;
}

.faq-item.active .faq-arrow {
    color: #FF8C42;
    transform: rotate(90deg);
}

/* FAQ 问题 */
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: white;
}

.faq-question-text {
    font-size: 18px;
    font-weight: 600;
    color: #4472C4;
    transition: color 0.3s ease;
}

.faq-arrow {
    font-size: 16px;
    color: #4472C4;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* FAQ 答案 */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    background-color: white;
}

.faq-answer.active {
    max-height: 200px;
    padding: 20px 25px;
}

.faq-answer p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: #FF8C42;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .faq-container {
        padding: 0 30px;
        gap: 40px;
    }
    
    .faq-title {
        font-size: 40px;
    }
    
    .faq-description {
        font-size: 16px;
    }
    
    .faq-question-text {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .faq-section {
        padding: 60px 0;
    }
    
    .faq-container {
        flex-direction: column;
        gap: 40px;
        padding: 0 20px;
    }
    
    .faq-left {
        max-width: none;
        text-align: center;
    }
    
    .faq-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    
    .faq-description {
        font-size: 15px;
    }
    
    .faq-question {
        padding: 18px 20px;
    }
    
    .faq-question-text {
        font-size: 15px;
    }
    
    .faq-answer.active {
        padding: 18px 20px;
    }
    
    .faq-answer p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .faq-section {
        padding: 50px 0;
    }
    
    .faq-container {
        padding: 0 15px;
        gap: 30px;
    }
    
    .faq-title {
        font-size: 26px;
    }
    
    .faq-question {
        padding: 15px 18px;
    }
    
    .faq-question-text {
        font-size: 14px;
    }
    
    .faq-answer.active {
        padding: 15px 18px;
    }
    
    .faq-answer p {
        font-size: 13px;
    }
}

/* Ready to take the next step Section */
.ready-section {
    background-color: white;
    padding: 80px 0;
}

.ready-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.ready-title {
    font-size: 48px;
    font-weight: 700;
    color: #4472C4;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.ready-subtitle {
    font-size: 24px;
    color: #6B9BD2;
    margin: 0 0 40px 0;
    font-weight: 400;
}

.ready-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    align-items: center;
}

.ready-btn {
    padding: 18px 40px;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.ready-btn.primary {
    background-color: #4472C4;
    color: white;
}

.ready-btn.primary:hover {
    background-color: #FF8C42;
    color: white;
}

.ready-btn.secondary {
    background-color: #4472C4;
    color: white;
}

.ready-btn.secondary:hover {
    background-color: #FF8C42;
    color: white;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .ready-section {
        padding: 60px 0;
    }
    
    .ready-title {
        font-size: 40px;
    }
    
    .ready-subtitle {
        font-size: 20px;
    }
    
    .ready-buttons {
        gap: 20px;
    }
    
    .ready-btn {
        padding: 16px 35px;
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .ready-section {
        padding: 50px 0;
    }
    
    .ready-title {
        font-size: 32px;
    }
    
    .ready-subtitle {
        font-size: 18px;
    }
    
    .ready-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .ready-btn {
        width: 250px;
        padding: 15px 30px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .ready-section {
        padding: 40px 0;
    }
    
    .ready-title {
        font-size: 28px;
    }
    
    .ready-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .ready-btn {
        width: 200px;
        padding: 14px 25px;
        font-size: 15px;
    }
} 