.top{
    width: 100%;
    min-height: 100vh;
    background-image: url("/AlgoPic/hero.png");
    object-fit:contain;
    background-repeat: no-repeat;
    /* position:relative; */
}

#programs{
    width:100%;
    padding:80px 8%;
    background:#f7f9fc;
}

.program-section{
    max-width:1400px;
    margin:auto;
}

.section-title{
    text-align:center;
    margin-bottom:60px;
}

.section-title h1{
    font-size:42px;
    color:#14213d;
    font-weight:700;
}

.program-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(340px,1fr));
    gap:35px;
}

.program-card{
    background:#fff;
    border-radius:18px;
    padding:35px;
    box-shadow:0 12px 35px rgba(0,0,0,.08);
    transition:.4s;
    position:relative;
    overflow:hidden;
}

.program-card:hover{
    transform:translateY(-10px);
    box-shadow:0 18px 45px rgba(0,0,0,.15);
}

/* .program-card{
    position: relative;
    overflow: hidden;
} */

.class-tag{
    position: absolute;
    top: 0;
    left: 0;

    background: #2563eb;
    color: #fff;

    padding: 10px 18px;

    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;

    border-radius: 18px 0 18px 0;

    /* Remove these if they exist */
    transform: none;
    writing-mode: horizontal-tb;
    text-orientation: initial;
}

.subjects{
    display:flex;
    gap:10px;
    margin-top:40px;
    margin-bottom:30px;
}

.subject{
    flex:1;
    text-align:center;
    padding:10px;
    border-radius:30px;
    background:#edf2ff;
    color:#2563eb;
    cursor:pointer;
    transition:.3s;
    font-weight:600;
    user-select:none;
}

.subject:hover{
    background:#2563eb;
    color:#fff;
}

.subject.active{
    background:#2563eb;
    color:#fff;
}

.program-card h2{
    font-size:26px;
    color:#1f2937;
    margin-bottom:18px;
    line-height:1.3;
}

.program-card p{
    color:#555;
    line-height:1.8;
    margin-bottom:30px;
}

.price-box{
    background:#2563eb;
    color:white;
    text-align:center;
    padding:25px;
    border-radius:15px;
    margin-bottom:30px;
}

.price-title{
    font-size:15px;
    opacity:.8;
}

.price{
    font-size:42px;
    font-weight:bold;
    margin-top:10px;
}

.price span{
    font-size:18px;
    font-weight:400;
}

.features{
    list-style:none;
    margin-bottom:35px;
}

.features li{
    margin:15px 0;
    color:#444;
    font-size:16px;
}

.buttons{
    display:flex;
    gap:15px;
}

.btn{
    flex:1;
    text-align:center;
    text-decoration:none;
    padding:14px;
    border-radius:40px;
    font-weight:600;
    transition:.3s;
}

.enroll-btn{
    background:#2563eb;
    color:#fff;
}

.enroll-btn:hover{
    background:#1745b5;
}

.demo-btn{
    border:2px solid #2563eb;
    color:#2563eb;
}

.demo-btn:hover{
    background:#2563eb;
    color:white;
}

@media(max-width:768px){

.program-card{
    padding:25px;
}

.section-title h1{
    font-size:34px;
}

.program-card h2{
    font-size:22px;
}

.subject{
    font-size:14px;
}

}