*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    background-color: #F8FAFC;
}

.navbar {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
}

.navbar-brand {
    font-size: 32px;
    font-weight: 700;
    color: #1E293B !important;
}

.nav-link {
    color: #475569 !important;
    margin-left: 12px;
    transition: .3s;
}

.nav-link:hover {
    color: #979fb1 !important;
}

.banner {
    position: relative;
    width: 100%;
    display: block;
    overflow: hidden;
}

.banner-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    filter: brightness(65%);
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: white;
}

.banner-content h1 {
    font-size: 80px;
    font-weight: 700;
    margin-bottom: 15px;
}

.Slogan {
    font-size: 22px;
    color: #E2E8F0;
    margin-bottom: 30px;
}

.sub-btn {
    background-color: #454e61;
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: .3s ease;
}

.sub-btn:hover {
    background-color: #4f5872;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(95, 104, 122, 0.3);
}

.us-h5{
    text-align: center;
}

.us-p{
    margin: 10px;
}

.us-card-img-top {
    width: 100%;
    height: 250px;
}

.courses-heading,
.inst-head,
.pricing-heading,
.us-head {
    margin-top: 50px;
    text-align: center;
}

.course-h2,
.inst-h2,
.pricing-h2,
.us-h2 {
    font-size: 40px;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 15px;
}

.course-h2::after,
.inst-h2::after,
.pricing-h2::after,
.us-h2::after {
    content: "";
    display: block;
    width: 70px;
    height: 5px;
    background-color: #586580;
    margin: 15px auto 0;
    border-radius: 20px;
}

.pp,
.inst-p,
.pricing-p {
    max-width: 650px;
    margin: 0 auto 40px;
    color: #64748B;
    font-size: 18px;
    line-height: 1.7;
}

.cards-section,
.instructors-section,
.pricing-con,
.us-card {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 60px;
    background-color: #F1F5F9;
    border: 1px solid #E2E8F0;
}

.card,
.pricing-card{
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    transition: .3s ease;
}

.card:hover,
.pricing-card:hover{
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, .12);
}

.card-img-top {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.inst-card-img-top {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 3 / 4;
}

.card-body {
    display: flex;
    flex-direction: column;
}

.card-text {
    flex-grow: 1;
}

.btn,
.pricing-btn {
    background-color: #454e61;
    padding: 5px 10px;
    border: none;
    cursor: pointer;
    transition: .3s ease;
    border-radius: 30px;
    margin-top: auto;
}

.btn:hover,
.pricing-btn:hover {
    background-color: #4f5872;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(95, 104, 122, 0.3);
}

.pricing-card {
    background-color: #f4f5fa;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,.08);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 25px;
    flex-grow: 1;
}

.pricing-card li {
    margin: 10px;
}

.pricing-btn {
    color: #fff;
    width: 100%;
    margin-top: auto;
}

.footer {
    background: #0F172A;
    color: white;
    padding: 60px 0 20px;
    margin-top: 80px;
}

.footer h3 {
    font-weight: 700;
    margin-bottom: 15px;
}

.footer h5 {
    margin-bottom: 18px;
    color: #a6a3e4;
}

.footer p {
    color: #CBD5E1;
    line-height: 1.7;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #CBD5E1;
    text-decoration: none;
    transition: .3s;
}

.footer-links a:hover {
    color: #aaa8be;
    padding-left: 6px;
}

.social-icons a {
    color: white;
    font-size: 24px;
    margin-right: 15px;
    transition: .3s;
}

.social-icons a:hover {
    color: #38BDF8;
}

.footer hr {
    border-color: rgba(255,255,255,.15);
    margin: 30px 0 20px;
}

.copyright {
    text-align: center;
    color: #94A3B8;
    margin: 0;
}



@media (max-width:768px){

    .banner-content{
        left:6%;
    }

    .banner-content h1{
        font-size:48px;
    }

    .Slogan{
        font-size:18px;
    }

    .sub-btn{
        padding:12px 24px;
        font-size:15px;
    }

}