body{
    font-family:'Poppins',sans-serif;
}
/* Hero section */
:root{
    --primary:#5B2A9D;
    --pink:#FF4FA3;
    --orange:#FF9F43;
    --light-pink:#FFF6FB;
    --border:#ECE5F5;
    --text:#39205C;
}

.instructors-hero{
    position:relative;
    overflow:hidden;
    background:#FFF8FC;
    padding-top:120px;
    z-index:1;
}
.hero::before{
    z-index:0;
}

.hero-content{
    position:relative;
    z-index:2;
}
.hero-bg{
    position:absolute;
    top:0;
    right:0;
    bottom:0;

    width:70%;

    background:url("../../assets/images/team-hero.png");
    background-size:cover;
    background-position:center;

    z-index:1;
}
.hero-bg::before{
    content:"";
    position:absolute;
    left:0;
    top:0;
    width:250px;
    height:100%;

    background:linear-gradient(
        to right,
        #FFF8FC 0%,
        rgba(255,248,252,0) 100%
    );
}
.hero-content{
    position:relative;
    z-index:2;
    padding-left:80px;
}

.hero-image{
    height:100%;
    margin:0;
    padding:0;
}

.hero-image img{
    width:100%;
    height:100%;
    min-height:280px;
    object-fit:cover;
    display:block;
    border-radius:0;
}
.hero-image img{
    object-position:center center;
}
.hero-content h1{
    font-size:72px;
    font-weight:800;
    line-height:1.1;
    color:var(--primary);
    margin-bottom:20px;
}

.hero-content p{
    font-size:22px;
    line-height:1.7;
    color:#555;
    max-width:500px;
    margin-bottom:35px;
}


.purple i{
    background:#F3EAFF;
    color:#6C2BD9;
}

.pink i{
    background:#FFF0F7;
    color:#FF4FA3;
}

.heart i{
    background:#FFF0F5;
    color:#FF5E9C;
}

.hero-content h1{
    font-size:58px;
}
.hero-content{
    flex:0 0 38%;
}

/* Hero shapes */
.hero-shape{
    position:absolute;
    font-size:28px;
    pointer-events:none;
    opacity:.45;
}

.star1{
    top:60px;
    left:30px;
    color:#B794F6;
}

.star2{
    top:90px;
    right:80px;
    color:#FFB6E0;
}

.heart1{
    right:60px;
    top:150px;
    color:#FF9BC8;
}

.heart2{
    right:110px;
    top:210px;
    color:#E8A1FF;
}

.doodle1{
    left:520px;
    top:120px;
    color:#FFB067;
}

.doodle2{
    left:700px;
    top:80px;
    color:#A9B7FF;
}

/* stat section */
.hero-stats{
    display:flex;
    gap:14px;
    margin-top:20px;
    flex-wrap:nowrap;
}

.stat-card{
    background:#fff;
    border:1px solid #EEE4F7;
    border-radius:12px;
    padding:12px 16px;
    min-width:140px;
    display:flex;
    align-items:center;
    gap:10px;
    box-shadow:none;
}

.stat-icon{
    width:40px;
    height:40px;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:18px;
}

.stat-number{
    font-size:18px;
    font-weight:700;
    color:#5B2A9D;
    line-height:1;
}

.stat-text{
    font-size:11px;
    color:#4F4F4F;
    margin-top:4px;
}
/* instuctors section */
.instructors-section{
    padding:70px 0;
}

.instructors-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
    gap:28px;
    width:min(1100px,92%);
    margin:auto;
}

.instructor-card{
    position:relative;

    background:#fff;

    border:1px solid #EEE6F8;

    border-radius:24px;

    padding:20px;

    text-align:center;

    transition:.3s;

    overflow:hidden;
    transition:.35s ease;
    transform:translateY(0);
}

.instructor-card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 50px rgba(0,0,0,.08);
}
.category-icon{
    width:42px;
    height:42px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:50%;

    color:white;
    font-size:18px;

    box-shadow:0 10px 25px rgba(0,0,0,.08);
}
.instructor-image{
    width:150px;
    height:150px;

    margin:10px auto 20px;

    border-radius:50%;

    overflow:hidden;

    background:#F8F2FD;
}

.instructor-image img{
    width:100%;
    height:100%;
    object-fit:cover;
}
.instructor-card h3{
    font-size:24px;
    color:#4C1D95;
    margin-bottom:8px;
}

.position{
    display:block;

    color:#FF4FA3;

    font-weight:600;

    margin-bottom:10px;
}

.audience{
    color:#666;
    font-size:14px;
}
.rating{
    margin:15px 0;

    color:#FDBA12;
}

.rating span{
    color:#666;
    margin-left:8px;
}
.profile-btn{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:8px;

    height:42px;

    border:1.5px solid #F6A7D8;

    border-radius:40px;

    text-decoration:none;

    color:#4C1D95;

    font-weight:600;
}
.view-all-wrapper{
    margin-top:35px;
    text-align:center;
}

.view-all-btn{
    display:inline-flex;
    align-items:center;
    gap:10px;

    padding:15px 40px;

    border:2px solid #7C3AED;

    border-radius:50px;

    color:#7C3AED;

    text-decoration:none;

    font-weight:700;
}

/* instuctors  */
.purple{
    background:#A855F7;
}

.pink{
    background:#FF5DAF;
}

.orange{
    background:#FF9A57;
}

.teal{
    background:#3CB7B2;
}
/* founder */
.founder-card{
    background:#FCF4FF;
    border:1px solid #EFE5F8;
    border-radius:18px;

    padding:25px 35px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:30px;

    margin-top:40px;
}

.founder-left{
    display:flex;
    align-items:center;
    gap:20px;
    flex:1;
}

.founder-image{
    width:120px;
    height:120px;

    border-radius:50%;

    object-fit:cover;

    box-shadow:
    0 10px 25px rgba(0,0,0,.08);
}

.founder-tag{
    color:#FF4FA3;
    font-weight:600;
    font-size:14px;
}

.founder-left h2{
    color:#4C1D95;
    margin:5px 0;
}

.founder-left p{
    max-width:420px;
    color:#555;
    line-height:1.6;
}
.founder-right{
    display:flex;
    align-items:center;
    gap:0;
}

.founder-stat{
    text-align:center;
    min-width:90px;
}

.founder-stat i{
    color:#7C3AED;
    font-size:28px;
    margin-bottom:10px;
}

.founder-stat h5{
    margin:0;
    color:#4C1D95;
}

.founder-stat span{
    font-size:13px;
    color:#666;
}
.founder-btn{
    background:linear-gradient(
        90deg,
        #7C3AED,
        #6D28D9
    );

    color:white;

    border:none;

    border-radius:50px;

    height:48px;

    padding:0 28px;

    display:flex;
    align-items:center;
    gap:10px;

    font-size:14px;
    font-weight:600;

    white-space:nowrap;

    box-shadow:
    0 10px 20px rgba(124,58,237,.18);
}

.founder-stat{
    padding:0 30px;
    text-align:center;
    position:relative;
}

.founder-stat:not(:last-child)::after{
    content:"";
    position:absolute;
    right:0;
    top:50%;
    transform:translateY(-50%);

    width:1px;
    height:70px;

    background:#E7DDF3;
}
/* ===== SCROLL REVEAL SYSTEM ===== */

.reveal{
    opacity:0;
    transform:translateY(40px);
    transition:all .8s ease;
    will-change:transform, opacity;
}

.reveal.active{
    opacity:1;
    transform:translateY(0);
}
.instructor-card:nth-child(1){ transition-delay:.05s; }
.instructor-card:nth-child(2){ transition-delay:.1s; }
.instructor-card:nth-child(3){ transition-delay:.15s; }
.instructor-card:nth-child(4){ transition-delay:.2s; }
.instructor-card:nth-child(5){ transition-delay:.25s; }

/* ===== FOUNDER CARD HOVER ===== */

.founder-card{
    transition:.4s ease;
    transform:translateY(0);
}

.founder-card:hover{
    transform:translateY(-8px);
    box-shadow:0 25px 60px rgba(124,58,237,.12);
}

/* IMAGE ZOOM */
.founder-image{
    transition:.4s ease;
}

.founder-card:hover .founder-image{
    transform:scale(1.05);
}

/* BUTTON ANIMATION */
.founder-btn{
    position:relative;
    overflow:hidden;
    transition:.35s ease;
}

.founder-btn:hover{
    transform:translateY(-3px);
    box-shadow:0 15px 30px rgba(124,58,237,.25);
}

/* shine effect */
.founder-btn::after{
    content:"";
    position:absolute;
    top:0;
    left:-120%;
    width:100%;
    height:100%;
    background:linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,.4),
        transparent
    );
    transition:.5s;
}

.founder-btn:hover::after{
    left:120%;
}
.view-btn,
.profile-btn,
.view-details{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;

    padding:10px 18px;
    border-radius:999px;

    border:1px solid var(--border);
    background:#fff;

    color:var(--primary);
    font-weight:600;
    font-size:14px;

    transition:.35s ease;
    position:relative;
    overflow:hidden;
}
.view-btn:hover,
.profile-btn:hover,
.view-details:hover{
    transform:translateY(-3px);
    box-shadow:0 15px 30px rgba(124,58,237,.12);
    background:var(--primary);
    color:#fff;
}
.view-btn::after,
.profile-btn::after,
.view-details::after{
    content:"";
    position:absolute;
    top:0;
    left:-120%;
    width:100%;
    height:100%;
    background:linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,.4),
        transparent
    );
    transition:.5s;
}

.view-btn:hover::after,
.profile-btn:hover::after,
.view-details:hover::after{
    left:120%;
}
.view-btn:active,
.profile-btn:active,
.view-details:active{
    transform:scale(.96);
}
.view-btn i,
.profile-btn i{
    transition:.3s ease;
}

.view-btn:hover i,
.profile-btn:hover i{
    transform:translateX(3px);
}
.hero::before{
    content:"";
    position:absolute;
    inset:0;

    background:linear-gradient(
        90deg,
        rgba(255,255,255,0.9) 0%,
        rgba(255,255,255,0.6) 40%,
        rgba(255,255,255,0.1) 100%
    );

    z-index:0;
}
.hero-content h1,
.hero-content p,
.hero-actions{
    opacity:0;
    transform:translateY(20px);
    animation:fadeUp .8s ease forwards;
}

.hero-content p{ animation-delay:.2s; }
.hero-actions{ animation-delay:.4s; }

@keyframes fadeUp{
    to{
        opacity:1;
        transform:translateY(0);
    }
}
.stat-card{
    transition:.35s ease;
    opacity:0;
    transform:translateY(20px);
    animation:fadeUp .8s ease forwards;
}

.stat-card:nth-child(1){ animation-delay:.1s; }
.stat-card:nth-child(2){ animation-delay:.2s; }
.stat-card:nth-child(3){ animation-delay:.3s; }

.stat-card:hover{
    transform:translateY(-6px);
}
.stat-icon{
    width:44px;
    height:44px;
    border-radius:50%;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:18px;

    color:white; /* مهم */
}
.stat-card:nth-child(1) .stat-icon{
    background:#7C3AED;
}

.stat-card:nth-child(2) .stat-icon{
    background:#FF4FA3;
}

.stat-card:nth-child(3) .stat-icon{
    background:#FF9F43;
}
.stat-card{
    transition:.35s ease;
    transform:translateY(0) scale(1);
}

.stat-card:hover{
    transform:translateY(-8px) scale(1.03);
    box-shadow:0 20px 40px rgba(0,0,0,.08);
}
.stat-number{
    transition:.3s ease;
}

.stat-card:hover .stat-number{
    color:#7C3AED;
}
.purple .category-icon{ background:#A855F7; }
.pink .category-icon{ background:#FF4FAF; }
.orange .category-icon{ background:#FF9A57; }
.teal .category-icon{ background:#3CB7B2; }
.stat-card:hover .stat-icon,
.instructor-card:hover .category-icon{
    transform:scale(1.1) rotate(-5deg);
    transition:.3s ease;
}
.image-wrapper{
    position:relative;
    width:150px;
    height:150px;
    margin:10px auto 20px;
    border-radius:50%;
    overflow:hidden;
}
.category-icon{
    position:absolute;

    top:10px;
    left:10px;

    width:38px;
    height:38px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:50%;

    color:white;
    font-size:16px;

    z-index:2;

    box-shadow:0 10px 20px rgba(0,0,0,.15);

    transition:.3s ease;
}
.instructor-card:hover .category-icon{
    transform:scale(1.1) rotate(-8deg);
}
.category-icon{
    backdrop-filter:blur(10px);
    background:rgba(168,85,247,.85);
}