/* ================= HERO BASE ================= */

.hero{
    width:100%;
    min-height:60vh; /* 🔥 reduced height */
    background:var(--bg-light);
    display:flex;
    align-items:center;
    position:relative;
    overflow:hidden;
    font-family:var(--font-main);
    padding:50px 0; /* compact */
}


@media (min-width: 992px) {
  .hero {
    width: 100%;
    min-height: 60vh;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    font-family: var(--font-main);
    padding: 50px 0;
    margin-top: -76px;
  }
}
.container{
    width:90%;
    max-width:1200px; /* slightly tighter layout */
    margin:auto;
}

.hero-wrap{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:40px;
}

/* ================= LEFT ================= */

.hero-left{
    width:55%;
}

.hero-left h1{
    font-size:56px; /* reduced from 64px */
    line-height:1.2;
    color:var(--black);
    margin-bottom:20px;
    font-weight:700;
}

.hero-left h1 span{
    display:block;
    margin-top:8px;
}

/* POINTS */
.points{
    list-style:none;
    margin-bottom:20px;
    padding:0;
}

.points li{
    font-size:20px;
    margin-bottom:14px;
    display:flex;
    align-items:center;
    gap:10px;
    color:var(--black);
    opacity:0.85;
}

/* CHECK ICON */
.check{
    width:24px;
    height:24px;
    border:2px solid var(--black);
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:13px;
    font-weight:bold;
    color:var(--black);
}

/* BUTTONS */
.btn-wrap{
    display:flex;
    gap:12px;
    margin-bottom:25px;
    flex-wrap:wrap;
}

.btn{
    padding:12px 22px;
    border-radius:8px;
    text-decoration:none;
    font-size:15px;
    font-weight:600;
    transition:.3s;
}

/* PRIMARY */
.primary{
    background:var(--primary);
    color:var(--white);
}

.primary:hover{
    background:var(--primary-dark);
}

/* OUTLINE */
.outline{
    border:2px solid var(--primary);
    color:var(--primary);
    background:var(--white);
}

.outline:hover{
    background:var(--primary);
    color:var(--white);
}

/* REVIEWS */
.review-box{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
}

.review{
    background:var(--white);
    padding:14px 18px;
    border-radius:10px;
    box-shadow:0 6px 16px rgba(0,0,0,.08);
    min-width:180px;
}

.review h4{
    font-size:15px;
    margin-bottom:4px;
    color:var(--black);
}

.stars{
    color:#f5b301;
    font-size:15px;
    margin-bottom:4px;
}

.review p{
    color:var(--text);
    font-size:12px;
}

/* ================= RIGHT ================= */

.hero-right{
    width:45%;
    text-align:center;
}

.hero-right img{
    width:100%;
    max-width:500px; /* smaller image */
    height:auto;
}

/* ================= RESPONSIVE ================= */

@media(max-width:991px){

    .hero{
        padding:40px 0;
        min-height:auto;
    }

    .hero-wrap{
        flex-direction:column;
        text-align:center;
        gap:25px;
    }

    .hero-left,
    .hero-right{
        width:100%;
    }

    .hero-left h1{
        font-size:36px;
    }

    .points li{
        justify-content:center;
        font-size:17px;
    }

    .btn-wrap{
        justify-content:center;
    }

    .review-box{
        justify-content:center;
    }

    .hero-right img{
        max-width:380px;
    }
}


/* #partern logo */

/* ================= PARTNER SECTION ================= */

/* ================= PARTNERS ================= */

.partners{
    padding:50px 0;
    background:#fff;
    overflow:hidden;
}

.partner-title{
    text-align:center;
    font-size:20px;
    font-weight:600;
    margin-bottom:30px;
    color:var(--black);
}

/* SLIDER WRAPPER */
.logo-slider{
    overflow:hidden;
    width:100%;
}

/* TRACK */
.logo-track{
    display:flex;
    align-items:center;
    gap:70px;
    width:max-content;
    animation:scroll 30s linear infinite;
}

/* LOGO */
.logo-item{
    flex:0 0 auto;
}

.logo-item img{
    height:108px;
    width:auto;
    display:block;
    object-fit:contain;
    opacity:1;
    filter:none;
}

/* ANIMATION FIX (IMPORTANT) */
@keyframes scroll{
    0%{
        transform:translateX(0);
    }
    100%{
        transform:translateX(-50%);
    }
}

/* HOVER PAUSE (optional but good UX) */
.logo-slider:hover .logo-track{
    animation-play-state:paused;
}

/* RESPONSIVE */
@media(max-width:991px){
    .logo-item img{
        height:106px;
    }

    .logo-track{
        gap:50px;
        animation-duration:20s;
    }
}


/* ================= COURSE SECTION ================= */

/* ================= COURSE SECTION ================= */

.course-section{
    padding:80px 0;
    background:var(--bg-light);
    font-family:var(--font-main);
}

/* TITLE */
.section-title{
    text-align:center;
    margin-bottom:50px;
}

.section-title h2{
    font-size:42px;
    color:var(--black);
    margin-bottom:12px;
}

.section-title p{
    font-size:18px;
    color:var(--text);
    max-width:700px;
    margin:auto;
}

/* WRAPPER */
.course-wrapper{
    display:flex;
    gap:30px;
}

/* TABS */
.course-tabs{
    width:260px;
    background:var(--white);
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 4px 20px rgba(0,0,0,.06);
}

.tab-btn{
    width:100%;
    padding:18px;
    border:none;
    background:var(--white);
    text-align:left;
    font-size:16px;
    cursor:pointer;
    border-bottom:1px solid var(--border);
    transition:.3s;
    color:var(--black);
}

.tab-btn:hover{
    background:#f3f4f6;
}

.tab-btn.active{
    background:var(--primary);
    color:var(--white);
}

/* CONTENT */
.course-content{
    flex:1;
}

.tab-content{
    display:none;
}

.tab-content.active{
    display:block;
}

/* GRID */
.course-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
    width: 114%!important;

}

/* ================= CARD UPGRADE ================= */

.card{
    background:var(--white);
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 6px 18px rgba(0,0,0,.08);
    transition:.3s;
    display:flex;
    flex-direction:column;

    /* 🔥 IMPROVEMENT */
    width:100%;
    min-height:100%;
}

.card:hover{
    transform:translateY(-6px);
    box-shadow:0 12px 28px rgba(0,0,0,.12);
}

.card img{
    width:100%;
    height:210px;   /* 🔥 bigger image */
    object-fit:cover;
}

/* BODY */
.card-body{
    padding:18px;
}

.card h3{
    font-size:18px;
    color:var(--black);
    margin-bottom:10px;
    line-height:1.4;
}

/* META */
.card-meta{
    display:flex;
    justify-content:space-between;
    font-size:14px;
    margin-bottom:14px;
    color:var(--text);
}

.rating{
    color:#f5b301;
    font-weight:600;
}

.duration{
    font-weight:500;
}

/* BUTTON */
.view-btn{
    display:block;
    text-align:center;
    padding:11px;
    background:var(--primary);
    color:var(--white);
    border-radius:10px;
    text-decoration:none;
    font-size:14px;
    font-weight:600;
    transition:.3s;
}

.view-btn:hover{
    background:var(--primary-dark);
    transform:scale(1.02);
}

/* ================= GRID FIX (IMPORTANT) ================= */
.course-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
    gap:25px;
    
}

/* WRAPPER */
.course-wrapper{
    display:flex;
    gap:30px;
}

/* TABS */
.course-tabs{
    width:250px;
}

/* RESPONSIVE */
@media(max-width:992px){

    .course-wrapper{
        flex-direction:column;
    }

    .course-tabs{
        width:100%;
        display:flex;
        overflow-x:auto;
        gap:10px;
    }

    .tab-btn{
        flex:1;
        text-align:center;
        white-space:nowrap;
    }

    .course-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:576px){

    .course-grid{
        grid-template-columns:1fr;
    }

    .card img{
        height:180px;
    }

    .section-title h2{
        font-size:30px;
    }
}

/* ================= STORIES SECTION ================= */

.stories-section{
    padding:80px 0;
    background:var(--white);
    font-family:var(--font-main);
}

/* HEADER */
.stories-header{
    text-align:center;
    margin-bottom:50px;
}

.stories-header h2{
    font-size:42px;
    color:var(--black);
    margin-bottom:25px;
}

/* STATS */
.stories-stats{
    display:flex;
    justify-content:center;
    gap:30px;
    flex-wrap:wrap;
}

.stat-box{
    background:var(--bg-light);
    padding:20px 30px;
    border-radius:12px;
    min-width:180px;
    text-align:center;
    box-shadow:0 4px 12px rgba(0,0,0,.05);
}

.stat-box h3{
    font-size:26px;
    color:var(--primary);
}

.stat-box p{
    font-size:14px;
    color:var(--text);
}

/* GRID */
.stories-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
    margin-top:40px;
}

/* CARD */
.story-card{
    background:var(--white);
    border-radius:14px;
    padding:20px;
    box-shadow:0 6px 18px rgba(0,0,0,.08);
    transition:.3s;
}

.story-card:hover{
    transform:translateY(-6px);
}

/* NAME */
.story-card h3{
    font-size:20px;
    margin-bottom:12px;
    color:var(--black);
}

/* QUOTE */
.quote{
    font-size:15px;
    font-style:italic;
    color:var(--primary);
    margin-bottom:12px;
}

/* DESCRIPTION */
.desc{
    font-size:14px;
    color:var(--text);
    margin-bottom:15px;
    line-height:1.5;
}

/* FOOTER */
.story-footer{
    border-top:1px solid var(--border);
    padding-top:12px;
}

/* BADGE */
.badge{
    display:inline-block;
    background:var(--primary);
    color:#fff;
    padding:5px 10px;
    border-radius:6px;
    font-size:12px;
    margin-bottom:10px;
}

.badge.green{
    background:#16a34a;
}

.badge.blue{
    background:#2563eb;
}

/* JOB INFO */
.jobs small{
    display:block;
    font-size:12px;
    color:var(--text);
    margin-top:4px;
}

/* RESPONSIVE */
@media(max-width:992px){

    .stories-grid{
        grid-template-columns:1fr;
    }

    .stories-stats{
        flex-direction:column;
        align-items:center;
    }

    .stories-header h2{
        font-size:30px;
    }
}


/* ================= SLIDER ================= */

.stories-slider{
    position:relative;
    overflow:hidden;
    padding:20px 0;
}

/* TRACK */
.stories-track{
    display:flex;
    gap:25px;
    transition:transform 0.5s ease;
}

/* CARD */
.story-card{
    min-width:320px;
    background:var(--white);
    padding:20px;
    border-radius:14px;
    box-shadow:0 6px 18px rgba(0,0,0,.08);
}

/* ARROWS */
.slider-btn{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    background:var(--primary);
    color:#fff;
    border:none;
    width:40px;
    height:40px;
    border-radius:50%;
    cursor:pointer;
    z-index:10;
    font-size:20px;
}

.slider-btn:hover{
    background:var(--primary-dark);
}

.slider-btn.left{
    left:0;
}

.slider-btn.right{
    right:0;
}

/* MOBILE */
@media(max-width:768px){
    .story-card{
        min-width:280px;
    }
}

.stories-slider{
    position:relative;
    overflow:hidden;
}

.stories-track{
    display:flex;
    gap:25px;
    transition:transform 0.5s ease;
    will-change:transform;
}

.story-card{
    min-width:320px;
    flex:0 0 auto;
}


.why-section{
    padding:80px 0;
    background:var(--bg-light);
    font-family:var(--font-main);
}

.section-title{
    text-align:center;
    margin-bottom:50px;
}

.section-title h2{
    font-size:42px;
    color:var(--black);
}

/* GRID */
.why-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:25px;
}

/* CARD */
.why-card{
    background:var(--white);
    padding:30px;
    border-radius:14px;
    box-shadow:0 6px 18px rgba(0,0,0,0.06);
    transition:.3s;
    border-left:4px solid var(--primary);
}

.why-card:hover{
    transform:translateY(-6px);
}

.why-card h3{
    font-size:20px;
    margin-bottom:10px;
    color:var(--black);
}

.why-card p{
    font-size:15px;
    color:var(--text);
    line-height:1.6;
}

@media(max-width:768px){
    .why-grid{
        grid-template-columns:1fr;
    }

    .section-title h2{
        font-size:30px;
    }
}

.hero-premium{
    background:radial-gradient(circle at top left, #0d0e0d, #0b0f14);
    color:#fff;
    padding:100px 0;
    font-family:var(--font-main);
    overflow:hidden;
}

/* GRID */
.hero-grid{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:60px;
}

/* LEFT */
.hero-content{
    width:50%;
}

.badge{
    display:inline-block;
    background:rgba(255,255,255,0.1);
    padding:8px 14px;
    border-radius:30px;
    font-size:13px;
    margin-bottom:20px;
    color:#cbd5e1;
}

.hero-content h1{
    font-size:54px;
    line-height:1.2;
    margin-bottom:15px;
}

.hero-content p{
    color:#cbd5e1;
    font-size:16px;
    line-height:1.7;
    margin-bottom:25px;
}

/* BUTTONS */
.hero-buttons{
    display:flex;
    gap:15px;
    margin-bottom:30px;
}

.btn-primary{
    background:var(--primary);
    color:#fff;
    padding:12px 22px;
    border-radius:8px;
    text-decoration:none;
    transition:.3s;
}

.btn-primary:hover{
    background:var(--primary-dark);
}

.btn-outline{
    border:2px solid #fff;
    color:#fff;
    padding:12px 22px;
    border-radius:8px;
    text-decoration:none;
}

.btn-outline:hover{
    background:#fff;
    color:#0b0f14;
}

/* STATS */
.stats{
    display:flex;
    gap:30px;
    margin-top:20px;
}

.stats div h3{
    font-size:24px;
    color:#fff;
}

.stats div p{
    font-size:13px;
    color:#cbd5e1;
}

/* RIGHT IMAGE */
.hero-image{
    width:45%;
    position:relative;
}

.hero-image img{
    width:100%;
    border-radius:16px;
    box-shadow:0 20px 60px rgba(0,0,0,0.4);
}

/* FLOATING CARDS */
.floating-card{
    position:absolute;
    background:#fff;
    color:#0b0f14;
    padding:10px 14px;
    border-radius:10px;
    font-size:13px;
    font-weight:600;
    box-shadow:0 10px 30px rgba(0,0,0,0.2);
}

.floating-card.top{
    top:20px;
    left:-20px;
}

.floating-card.bottom{
    bottom:20px;
    right:-20px;
}

/* RESPONSIVE */
/* RESPONSIVE */
@media (max-width: 1200px) {
    .hero-content h1{
        font-size:46px;
    }
}

@media (max-width: 991px){

    .hero-grid{
        flex-direction:column;
        text-align:center;
        gap:40px;
    }

    .hero-content,
    .hero-image{
        width:100%;
    }

    .hero-content h1{
        font-size:38px;
    }

    .hero-content p{
        font-size:15px;
    }

    .hero-buttons{
        justify-content:center;
        flex-wrap:wrap;
    }

    .stats{
        justify-content:center;
        flex-wrap:wrap;
        gap:20px;
    }

    .stats div{
        min-width:120px;
    }

    .hero-image img{
        max-width:90%;
        margin:0 auto;
        display:block;
    }

    .floating-card{
        display:none;
    }
}

@media (max-width: 576px){

    .hero-premium{
        padding:70px 0;
    }

    .hero-content h1{
        font-size:30px;
        line-height:1.3;
    }

    .hero-content p{
        font-size:14px;
    }

    .btn-primary,
    .btn-outline{
        width:100%;
        text-align:center;
    }

    .hero-buttons{
        flex-direction:column;
        gap:10px;
    }

    .stats{
        flex-direction:column;
        gap:15px;
    }

    .stats div h3{
        font-size:22px;
    }
}

@media (max-width: 400px){

    .hero-content h1{
        font-size:26px;
    }

    .badge{
        font-size:12px;
        padding:6px 12px;
    }
}

.faq-section{
    padding:80px 0;
    background:var(--bg-light);
    font-family:var(--font-main);
}

.faq-wrapper{
    display:flex;
    gap:40px;
    align-items:flex-start;
}

/* LEFT */
.faq-left{
    flex:1;
}

.faq-left h2{
    font-size:38px;
    color:var(--black);
    margin-bottom:10px;
}

.faq-left .sub{
    color:var(--text);
    margin-bottom:25px;
}

/* FAQ BOX */
.faq-box{
    display:flex;
    flex-direction:column;
    gap:15px;
}

.faq-item{
    background:var(--white);
    border-radius:10px;
    box-shadow:0 6px 18px rgba(0,0,0,0.08);
    overflow:hidden;
}

/* QUESTION */
.faq-head{
    padding:18px;
    cursor:pointer;
    font-weight:600;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

/* ANSWER */
.faq-body{
    max-height:0;
    overflow:hidden;
    transition:0.3s;
    padding:0 18px;
    color:var(--text);
}

/* ACTIVE */
.faq-item.active .faq-body{
    max-height:150px;
    padding:15px 18px;
}

.faq-item.active .faq-head span{
    transform:rotate(45deg);
}

/* RIGHT FORM */
.faq-right{
    width:380px;
    background:var(--white);
    padding:25px;
    border-radius:12px;
    box-shadow:0 6px 18px rgba(0,0,0,0.08);
}

.faq-right h2{
    margin-bottom:15px;
    font-size:28px;
}

.faq-right input,
.faq-right select,
.faq-right textarea{
    width:100%;
    margin-bottom:12px;
    padding:12px;
    border:1px solid var(--border);
    border-radius:6px;
    font-family:var(--font-main);
}

.faq-right button{
    width:100%;
    padding:14px;
    background:var(--primary);
    color:#fff;
    border:none;
    border-radius:6px;
    cursor:pointer;
}

/* RESPONSIVE */
@media(max-width:991px){
    .faq-wrapper{
        flex-direction:column;
    }

    .faq-right{
        width:100%;
    }
}