body {
      font-family: "Segoe UI", sans-serif;
      background-color: #000;
      margin: 0;
      padding: 0;
      color: #111;
    }
     .containn{
      max-width: 1400px;
      margin:0px auto;
      background: #000;
      border-radius: 12px;
      box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    }

    .container {
      max-width: 800px;
      background: #000;
      border-radius: 12px;
      padding: 30px;
      box-shadow: 0 8px 24px rgba(0,0,0,0.1);
      float: left;
    }
    
    .container2 {
      margin:0px auto;
      background: #000;
      border-radius: 12px;
      box-shadow: 0 8px 24px rgba(0,0,0,0.1);

    }
 .container3 {
      max-width: 1200px;
      margin:0px auto;
      background: #000;
      border-radius: 12px;
      padding: 60px 40px;
      box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    }
    .header {
      display: flex;
      align-items: center;
      gap: 16px;
      margin-bottom: 20px;
    }

    .header img {
      width: 60px;
      height: 60px;
    }
    .img2 {
      width: 350px;
     padding: 40px;
    }
    .img3 {
      width: 400px;
      padding: 20px;
    }

    .header h1 {
      font-size: 32px;
      background: linear-gradient(90deg, #00b894, #0984e3);
      -webkit-background-clip: text;
      color: transparent;
      font-weight: 700;
    }

    .lead {
      font-size: 18px;
      margin-bottom: 20px;
      color: #fff;
    }

    .features {
      margin: 20px 0;
    }

    .features li {
      margin-bottom: 12px;
      list-style: none;
      display: flex;
      align-items: center;
    }

    .features li::before {
      content: '✔️';
      margin-right: 10px;
      font-size: 18px;
    }

    .cta-box {
      /*background: #ecf9f1;*/
      /*border: #00b894;*/
      padding: 24px;
      border-radius: 10px;
      text-align: center;
      margin-top: 30px;
      min-width: 100%;
    }

    .cta-box p {
      font-weight: bold;
      font-size: 16px;
      margin-bottom: 15px;
      color: #fff;
    }
    p{
       color: #fff; 
    }
    strong{
      color: #fff;    
    }

    .cta-btn {
      background-color: #00b894;
      color: white;
      padding: 12px 24px;
      border: none;
      border-radius: 8px;
      font-size: 16px;
      font-weight: 600;
      cursor: pointer;
      transition: background 0.3s ease;
      text-decoration: none;
      display: inline-block;
    }

    .cta-btn:hover {
      background-color: #01946c;
    }

    .trust {
      font-size: 15px;
      color: #ccc;
    }

    .trust::before {
      content: '🔒 ';
    }

    .faq {
      margin-top: 30px;
       margin-bottom: 200px;
    }

    .faq h3 {
      margin-top: 20px;
      font-size: 18px;
      color: #fff;    
    }

    .faq p {
      color: #fff;
      margin: 5px 0 15px 0;
    }
    .floating-button {
   position: fixed;
   bottom: 20px;  
   left: 50%;    
   transform: translateX(-50%);
   z-index: 1000; 
}
.title_mentor{
    text-align: center;
    margin-top: 40px;
}
.container-inner{
    text-align: left;
     max-width: 650px;
      background: #000;
      border-radius: 12px;
      padding: 30px;
      box-shadow: 0 8px 24px rgba(0,0,0,0.1);
      float: left;
}
.container-detail{
      background: #000;
      border-radius: 12px;
      padding: 30px;
      box-shadow: 0 8px 24px rgba(0,0,0,0.1);
      text-align: left;
}
.container-detail-img{
text-align: center;
    max-width: 800px;
    margin: 0 auto;
}
.img4{
    
    width: 100%;
}
     .modal {
            display: none; /* 隐藏弹窗 */
            position: fixed;
            z-index: 1;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgba(0, 0, 0, 0.5);
        }
        .modal-content {
           background-color: #dffff9;
    margin: 6% auto;
    padding:12px;
    border-radius: 5px;
    max-width: 350px;
    text-align: left;
        }
        .close {
            float: right;
            font-size: 28px;
            font-weight: bold;
        }
        .close:hover,
        .close:focus {
            color: black;
            text-decoration: none;
            cursor: pointer;
        }
        .button {
            display: inline-block;
            padding: 10px 20px;
            margin: 5px;
            border: 1px solid #2c685d;
            border-radius: 5px;
            background-color: white;
            cursor: pointer;
            transition: background-color 0.3s, color 0.3s;
            color: #2f8877;
        }
        .button.selected {
            background-color: #2f8877;
            color: white;
        }
        input[type="submit"] {
    padding: 15px 10px;
    width: 100%;
    border: 1px solid #00b894; /* 设置边框为绿色 */
    border-radius: 5px;
    background-color: #00b894; /* 设置背景颜色为绿色 */
    color: white; /* 设置文字颜色为白色 */
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    font-size: 16px;
    font-weight: 600;
}

input[type="submit"]:hover {
    background-color: #2f8877; /* 鼠标悬停时的背景颜色 */
}
h2,h4{
    color: #2c685d;
    margin: 10px;
}
h3{
    margin: 5px;
    color: #2c685d;
}
.modal-title{
    text-align:left;
}
.modal-title p{
    color: #2c685d;
    font-size: 14px;
    margin: 5px;
}

        .hidden {
            display: none;
        }
                .experienceOptions{
            max-width: 550px;
            margin: 0 auto;
            text-align: left;
        }
        .cdd{
            width: 180px;
        }

/* Cookie Banner Styles */
#cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #222;
    color: #fff;
    padding: 15px;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.2);
    display: none; /* Initially hidden */
    z-index: 2000;
    text-align: center;
}

#cookie-consent-banner p {
    margin: 0 0 10px 0;
    font-size: 14px;
}

#cookie-consent-banner a {
    color: #00b894;
    text-decoration: underline;
}

#cookie-consent-banner .btn-group {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.cookie-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
}

.btn-accept {
    background-color: #00b894;
    color: #fff;
}

.btn-decline {
    background-color: #555;
    color: #fff;
}

/* Header and Footer Styles */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: #1a1a1a;
    color: #fff;
    border-bottom: 1px solid #333;
}

/* Expert Profile Section */
.expert-profile {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 30px 40px;
    text-align: center;
    border-bottom: 2px solid #00b894;
    position: static; /* ensure no stacking context */
    z-index: 0;
}

.expert-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid #00b894;
    margin: 0 auto 20px;
    display: block;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0, 184, 148, 0.3);
    /* Performance optimization */
    will-change: transform;
    backface-visibility: hidden;
}

.expert-info h2 {
    color: #00b894;
    margin: 0 0 10px 0;
    font-size: 24px;
    font-weight: bold;
}

.expert-info p {
    color: #ccc;
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
}

/* Mobile Expert Profile - Always hidden by default */
.mobile-expert-profile {
    display: none;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 20px;
    text-align: center;
    border-bottom: 2px solid #00b894;
    position: static; /* remove relative to drop z-index */
    z-index: 0;
}

.mobile-expert-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #00b894;
    margin: 0 auto 15px;
    display: block;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0, 184, 148, 0.3);
    /* Performance optimization */
    will-change: transform;
    backface-visibility: hidden;
}

.mobile-expert-info h2 {
    color: #00b894;
    margin: 0 0 8px 0;
    font-size: 20px;
    font-weight: bold;
}

.mobile-expert-info p {
    color: #ccc;
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

.main-nav a {
    color: #fff;
    text-decoration: none;
    margin-left: 20px;
    font-size: 16px;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: #00b894;
}

.footer-container {
    padding: 20px 40px;
    background-color: #1a1a1a;
    color: #ccc;
    text-align: center;
    border-top: 1px solid #333;
}

.footer-links {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

/* Mobile Nav */
.mobile-nav {
    display: none; /* Hidden by default */
    /* no fixed positioning */
    position: static;
    width: 100%;
    background-color: #1a1a1a;
    border-top: 1px solid #333;
    padding: 12px 0;
    justify-content: space-around;
    z-index: 1;
    box-shadow: none;
    margin: 12px 0; /* participate in normal flow */
}

.mobile-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    padding: 8px 12px;
    text-align: center;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.mobile-nav a:hover {
    background-color: #333;
}

/* Mobile Responsive Styles */
@media screen and (max-width: 768px) {
    /* Hide desktop header and expert profile */
    #main-header {
        display: none !important;
    }
    
    .header-container {
        display: none !important;
    }
    
    .expert-profile {
        display: none !important;
    }

    /* Show mobile expert profile */
    .mobile-expert-profile {
        display: block !important;
    }

    .main-nav {
        display: none !important;
    }

    /* Show mobile nav */
    .mobile-nav {
        display: flex !important;
    }

    /* No bottom padding needed since nav is not fixed */
    body {
        padding-bottom: 0 !important;
    }

    /* Restore CTA position */
    .floating-button {
        bottom: 20px !important;
    }

    /* Adjust main content containers on mobile */
    .container3 {
        padding: 30px 15px !important;
        margin: 20px auto !important;
    }
    
    .container {
        padding: 20px !important;
        margin: 10px !important;
    }
    
    .containn {
        margin: 0 !important;
        padding: 0 10px !important;
    }
    
    /* Optimize images for mobile */
    .img2, .img3, .img4 {
        max-width: 100% !important;
        height: auto !important;
        padding: 10px !important;
    }
} 

/* Global overflow protection and responsive headings */
html, body {
    overflow-x: hidden;
}

/* Clamp h1 size and allow breaking long words */
.containn h1 {
    font-size: clamp(22px, 6vw, 36px);
    line-height: 1.25;
    word-break: break-word;
    overflow-wrap: anywhere;
    hyphens: auto;
}

/* --- mobile layout fixes --- */
@media screen and (max-width: 768px) {
    /* Stack columns and ensure full width */
    .container,
    .container2,
    .container-inner,
    .container-detail,
    .container-detail-img {
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto 16px !important;
        box-sizing: border-box;
    }

    /* Make side images full-width on mobile */
    .img2,
    .img3 {
        width: 100% !important;
        max-width: 100% !important;
        padding: 10px 0 !important;
    }

    /* Tighten general paddings */
    .container,
    .container-inner,
    .container-detail {
        padding: 16px !important;
    }

    .title_mentor {
        margin-top: 16px !important;
    }
} 

/* Style for WhatsApp action button */
#chat-btn {
    padding: 15px 10px;
    width: 100%;
    border: 1px solid #00b894;
    border-radius: 5px;
    background-color: #00b894;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    font-size: 12px;
    font-weight: 600;
    display: block;
}

#chat-btn:hover {
    background-color: #2f8877;
} 

/* Hide cookie consent banner sitewide */
#cookie-consent-banner {
    display: none !important;
} 