@charset "utf-8";
/* CSS Document */
/* Reset */
* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary: #8FA9A4;
            --primary-light: #B5C8C3;
            --primary-dark: #6B8A84;
            --cream: #F5F1E8;
            --cream-light: #FAF8F3;
            --white: #FFFFFF;
            --text-dark: #2C3E3A;
            --text-light: #5A6B67;
            --line-color: #D4E0DB;
            --sky-top: #C5D4D8;
            --sky-bottom: #E8EEF0;
            --mountain-far: #9BB0AD;
            --mountain-mid: #7A9B98;
            --mountain-near: #6B8A84;
            --water: #A8C4C0;
            --water-light: #C5D8D5;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
            background:#F5F3EF;
            color: var(--text-dark);
            line-height: 1.6;
        }

        /* 导航栏 */        

        .navbar {
            width:100%;
            height:100px; 
            background:#fff;
            padding:18px 10%;
            display:flex;
            justify-content:space-between;            
            align-items:center;
            box-shadow:0 2px 18px #eee;
            top: 0;
            left: 0;
            position: fixed;
            z-index: 999;   
            box-shadow: none;          
        }

        .navbar-brand {
            display: flex;
            align-items: center;
            gap: 12px;
            text-decoration: none;
            color: var(--white);
            margin-right: 28px; 
        }

        .navbar-brand .logo {
            max-width:500px; 
            height:60px; 
            float:left; 
            top:5px; 
            right:5px;            
            display: flex;
        }

        .navbar-brand span {
            font-size: 20px;
            font-weight: 500;
            letter-spacing: 2px;
        }

        .nav-menu {
            gap: 20px;  
        }

        .nav-menu a{
            text-decoration:none;
            color:#333333;
            margin-left:28px;
            font-size:15px;
        }

        .nav-menu a.active{
            color:#87A8B8;
            font-weight:bold;
        }
 
        .nav-item {
            position: relative;
            text-decoration: #fff;
            color: #666666;
            font-size: 15px;
            padding: 8px 0;
            transition: opacity 0.3s;
        }

        .nav-item:hover {
            opacity: 0.85;
        }

        .nav-item.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 24px;
            height: 2px;
            background: #555555;
            border-radius: 1px;
        }

        .hamburger {
            display: none;
            flex-direction: column;
            gap: 5px;
            cursor: pointer;
            padding: 10px;
        }

        .hamburger span {
            width: 24px;
            height: 2px;
            background: var(--white);
            border-radius: 1px;
            transition: all 0.3s;
        }


        /* 头部标题区 */
        .top-banner{
            width:100%;
            padding:60px 10%;
            text-align:center;
            background:#87A8B8;
            color:#fff;
            padding-top: 150px;
        }
        .top-banner h1{
            font-size:28px;
            margin-bottom:10px;
        }
        .top-banner p{
            font-size:16px;
            opacity:0.9;
        }


        /* 内容容器 */
        .container{
            width:80%;
            margin:50px auto;
            background:#fff;
            padding:50px;
            border-radius:12px;
            box-shadow:0 4px 15px rgba(0,0,0,0.05);
        }
        .container h2{
            color:#333333;
            font-size:22px;
            margin-bottom:25px;
            padding-left:12px;
            border-left:4px solid #87A8B8;
        }
        .container p{
            font-size:15px;
            margin-bottom:20px;
            text-align:justify;
        }

        .container img{
          border-radius: 20px;
          margin: auto;
          border-color: #ffffff;
          border: 5px solid #ffffff;

        }

        .skill-list{
            margin:20px 0;
            padding-left:20px;
        }
        .skill-list li{
            list-style:none;
            position:relative;
            padding-left:18px;
            margin-bottom:10px;
        }
        .skill-list li::before{
            content:"•";
            color:#87A8B8;
            position:absolute;
            left:0;
            font-weight:bold;
        }


        /* Hero 区域 */
        .hero {
            width:100%;
            height: 380px;
            padding:60px 10%;
            text-align:center;
            background:#87A8B8;
            color:#fff;
            padding-top: 150px;
            /* 给蒙层和内容用的定位容器 */
            position: relative;
            /* 文字居中 */
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* 半透明蒙层 */
        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(92, 122, 143, 0.05);  /* 雾蓝色蒙层，按需调透明度 */
            z-index: 1;
        }

        /* 飞鸟 */
        .bird {
            position: absolute;
            width: 20px;
            height: 8px;
        }

        .bird::before, .bird::after {
            content: '';
            position: absolute;
            width: 10px;
            height: 2px;
            background: var(--text-light);
            border-radius: 1px;
        }

        .bird::before {
            left: 0;
            transform: rotate(-20deg);
        }

        .bird::after {
            right: 0;
            transform: rotate(20deg);
        }

        .bird-1 { top: 350px; left: 25%; animation: fly 12s ease-in-out infinite; }
        .bird-2 { top: 230px; left: 28%; animation: fly 14s ease-in-out infinite 1s; transform: scale(0.8); }
        .bird-3 { top: 300px; right: 30%; animation: fly 15s ease-in-out infinite 2s; }
        .bird-4 { top: 150px; right: 35%; animation: fly 13s ease-in-out infinite 0.5s; transform: scale(0.7); }

        @keyframes fly {
            0%, 100% { transform: translateX(0) translateY(0); }
            25% { transform: translateX(10px) translateY(-8px); }
            50% { transform: translateX(20px) translateY(0); }
            75% { transform: translateX(10px) translateY(8px); }
        }


        /* Hero 内容 */
        .hero-content {
            position: relative;
            z-index: 10;
            text-align: center;
            padding: 40px;
        }

        .hero-title {
            font-family: "Songti SC", "STSong", "SimSun", serif;
            font-size: clamp(28px, 5vw, 48px);
            font-weight: 700;
            color: var(--text-dark);
            letter-spacing: 6px;
            text-shadow: 0 2px 20px rgba(255,255,255,0.8);
            margin-bottom: 20px;
        }

        .hero-subtitle {
            font-size: 18px;
            color: var(--text-light);
            letter-spacing: 2px;
        }        

        /* 服务项目板块 */
        .services {
            padding: 80px 40px;
        }

        .section-header {
            text-align: center;
            margin-bottom: 60px;
            height:150px; 
            position:relative;
        }

        .section-line {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 20px;
            margin-bottom: 15px;   
            height:50px; 
            position:relative;
        }

        .section-title {
            font-size: 28px;
            color: var(--text-dark);
            font-weight: 600;
            letter-spacing: 4px;
        }

        .section-subtitle {
            font-size: 60px;
            color: var(--line-color);
            font-weight: 700;
            letter-spacing: 8px;
            opacity: 0.5;
            margin-top: -20px;
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
            max-width: 900px;
            margin: 0 auto;
        }

        .service-card {
            background: var(--white);
            border-radius: 16px;
            padding: 35px 25px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 20px rgba(143, 169, 164, 0.1);
            border: 1px solid transparent;
        }

        .service-card:nth-child(odd) {
            background: var(--white);
        }

        .service-card:nth-child(even) {
            background: linear-gradient(135deg, var(--primary-light) 0%, var(--cream) 100%);
        }

        .service-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 30px rgba(143, 169, 164, 0.2);
            border-color: var(--primary-light);
        }

        .service-icon {
            width: 50px;
            height: 50px;
            margin: 0 auto 18px;
        }

        .service-icon svg {
            width: 100%;
            height: 100%;
            stroke: var(--primary);
            stroke-width: 1.5;
            fill: none;
        }

        .service-name {
            font-size: 16px;
            color: var(--text-dark);
            font-weight: 500;
            letter-spacing: 2px;
        }

        /* 咨询师团队 */
        .team {
            background: linear-gradient(180deg, var(--cream-light) 0%, var(--cream) 100%);
            padding: 80px 40px;
        }

        .team-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
            max-width: 1000px;
            margin: 0 auto;
        }

        .team-card {
            background: var(--white);
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 6px 25px rgba(143, 169, 164, 0.12);
            transition: all 0.3s ease;
        }

        .team-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 40px rgba(143, 169, 164, 0.2);
        }

        .team-avatar {
            height: 180px;
            background: linear-gradient(135deg, var(--cream) 0%, var(--primary-light) 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        .team-avatar::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(ellipse at center bottom, rgba(255,255,255,0.3) 0%, transparent 70%);
        }

        .team_img {
          width: 240px;
          max-height: 360px;
          overflow: hidden;
          border: 2px solid #ffffff;
          border-radius: 50%;
          margin: auto;
        }
        .team_img img {
          width: 100%;
          height: auto;
        }

        .team-card:hover .team_img {
          animation: flip 0.6s linear;
        }


        .avatar-placeholder {
            width: 90px;
            height: 110px;
            position: relative;
        }

        .avatar-head {
            width: 60px;
            height: 70px;
            background: var(--primary);
            border-radius: 50%;
            margin: 0 auto;
            position: relative;
        }

        .avatar-head::before {
            content: '';
            position: absolute;
            top: 25px;
            left: 50%;
            transform: translateX(-50%);
            width: 30px;
            height: 15px;
            background: var(--cream);
            border-radius: 50%;
            opacity: 0.6;
        }

        .avatar-body {
            width: 80px;
            height: 50px;
            background: var(--primary);
            border-radius: 40px 40px 0 0;
            margin: -5px auto 0;
        }

        .team-info {
            padding: 25px 20px;
            text-align: center;
            position: relative;
        }

        .team-info::before {
            content: '';
            position: absolute;
            top: -25px;
            left: 50%;
        }

        .team-name {
            font-size: 17px;
            color: var(--text-dark);
            font-weight: 600;
            margin-bottom: 6px;
            letter-spacing: 2px;
        }

        .team-title {
            font-size: 13px;
            color: var(--text-light);
            letter-spacing: 1px;
        }

        /* Footer */
        .footer {
            background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
            padding: 60px 40px 40px;
            position: relative;
        }

        .footer::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
            opacity: 0.03;
            pointer-events: none;
        }

        .footer-content {
            max-width: 1000px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            gap: 40px;
            position: relative;
            z-index: 1;
        }

        .footer-section h3 {
            color: var(--white);
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 18px;
            letter-spacing: 2px;
        }

        .footer-section p,
        .footer-section li {
            color: rgba(255,255,255,0.85);
            font-size: 12px;
            line-height: 1.8;
            list-style: none;
        }

         .footer-section a{
            text-decoration:none;
            color:#ffffff;
            font-size:12px;
        }       

        .footer-btn {
            display: inline-block;
            background: var(--white);
            color: var(--primary);
            padding: 14px 32px;
            border-radius: 30px;
            text-decoration: none;
            font-size: 15px;
            font-weight: 500;
            letter-spacing: 2px;
            transition: all 0.3s;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        }

        .footer-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0,0,0,0.15);
        }

        .footer-bottom {
            text-align: center;
            margin-top: 50px;
            padding-top: 25px;
            border-top: 1px solid rgba(255,255,255,0.2);
            position: relative;
            z-index: 1;
        }

        .footer-bottom p {
            color: rgba(255,255,255,0.7);
            font-size: 13px;
        }


        /* 老师信息介绍底部米白色背景层 */
        .bottom-section {
            background-color: #f5f2eb;
            min-height: 55vh;
            position: relative;
        }

        /* 老师信息介绍圆形人物肖像 - 跨两层背景 */
        .portrait-container {
            position: absolute;
            top: 45px;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 10;
        }

        .portrait {
            width: 220px;
            height: 220px;
            border-radius: 50%;
            overflow: hidden;
            border: 5px solid #f5f2eb;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
            background-color: #e8e4dc;
        }

        .portrait-placeholder {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, #d4cfc5 0%, #c4bdb0 100%);
            color: #888;
        }

        /* 老师信息介绍内容区域 */
        .content {
            position: relative;
            z-index: 5;
            padding-top: 200px;
            padding-bottom: 80px;
            text-align: center;
            max-width: 700px;
            margin: 0 auto;
        }

        /* 老师信息介绍姓名 */
        .name {
            font-size: 42px;
            font-weight: 700;
            color: #222;
            margin-bottom: 12px;
            letter-spacing: 2px;
        }

        /* 老师信息介绍装饰线 */
        .divider {
            width: 160px;
            height: 3px;
            background: linear-gradient(90deg, #5c7a8f, #7a9bb5);
            margin: 0 auto 35px;
            border-radius: 2px;
        }
        

        /* 老师信息介绍擅长介绍 */
        .section-title {
            font-size: 18px;
            font-weight: 600;
            color: #333;
            margin-bottom: 18px;
        }

        .introduction {
            color: #555;
            font-size: 15px;
            line-height: 1.8;
            max-width: 650px;
            margin: 0 auto;
            padding: 0 20px;
            text-align: left;
        }




        
        /* 响应式 */
        @media (max-width: 900px) {
            .services-grid,
            .team-grid {
                grid-template-columns: repeat(2, 1fr);
                max-width: 600px;
            }

            .nav-menu a{
            margin-left:8px;  
            }

            .footer-content {
                grid-template-columns: 1fr;
                text-align: center;
            }

            .hamburger {
                display: flex;
            }

            .hero-title {
                letter-spacing: 3px;
            }
        }

        @media (max-width: 600px) {
            .services-grid,
            .team-grid {
                grid-template-columns: 1fr;
                max-width: 320px;
            }

            .team {
                padding: 60px 20px;
            }

            .container img{
              width: 200px;
            }

            .section-title {
                font-size: 22px;
            }

            .section-subtitle {
                font-size: 40px;
            }

            .hero-content {
                padding: 30px 20px;
            }

            .cloud-1, .cloud-2, .cloud-3 {
                display: none;
            }

            .team-avatar {
                height: 150px;
            }
        }