:root {
    --main-bg: #162E50;
    --section-bg: rgba(3, 52, 56, 0.279);
    --heading-red: #de1d1d;
    --heading-color: #113251;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: rgb(248 249 252);
}

a {
    text-decoration: none;
}

.section {
    padding: 80px 20px;
}

.flex {
    display: flex;
}

.space-between {
    justify-content: space-between;
}

/* --Header Style--------------------------------------------- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.3s ease;
    z-index: 1000;
    background: transparent;
}

header.scrolled {
    background: var(--main-bg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-bottom-left-radius: 28px;
    border-bottom-right-radius: 28px;

}

.logo img {
    height: 35px;
}

.button-81 {
    background-color: #fff;
    border: 0 solid #e2e8f0;
    border-radius: 1.5rem;
    box-sizing: border-box;
    color: #0d172a;
    cursor: pointer;
    display: inline-block;
    font-family: "Basier circle", -apple-system, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1;
    padding: 1rem 1.6rem;
    text-align: center;
    text-decoration: none #0d172a solid;
    text-decoration-thickness: auto;
    transition: all .1s cubic-bezier(.4, 0, .2, 1);
    box-shadow: 0px 1px 2px rgba(166, 175, 195, 0.45);
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.button-81:hover {
    background-color: #1e293b;
    color: #fff;
}


@media (max-width: 768px) {
    .button-81 {
        font-size: 1.125rem;
        padding: 1rem 2rem;
    }

    header {
        padding: 12px 5%;
    }

    .logo img {
        height: 26px;

    }
}

@media (max-width: 576px) {}

@media (max-width: 375px) {
    .logo img {
        height: 20px;
    }

}

/* --Landing Page Style--------------------------------------------- */

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(rgba(3, 52, 56, 0.3), rgba(3, 52, 56, 0.3)), url("./img/landbagroud2.jpg") center/cover no-repeat;
}

.btn-main {
    background: #8ABE38;
    color: #fff;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 30px;
    transition: transform 0.3s ease-in-out;
}

.btn-main:hover {
    background: #6d9c28;
    transform: scale(1.05);
}

/* --News Section Style--------------------------------------------- */

.news-section {
    padding: 10px 8%;
    background: var(--section-bg);
    text-align: center;
    position: relative;
}

.news-title {
    font-size: 3rem;
    margin-bottom: 30px;
    font-weight: 700;
    color: #ffffff;
    position: relative;
}

.news-title span {
    color: var(--heading-red);
}

.news-title::after {
    content: "";
    width: 50%;
    height: 4px;
    background: #fff;
    display: block;
    margin: 10px auto 0;
    border-radius: 4px;
}

.news-slider {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.news-card {
    display: none;
    background: #fff;
    padding: 15px 30px;
    text-align: left;
    border-radius: 15px;
    transition: opacity 0.6s ease-in-out;
}

.news-card.active {
    display: block;
    animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.news-date {
    font-size: 0.85rem;
    color: #777;
}

.news-heading {
    font-size: 1.1rem;
    color: #070707;
    font-weight: 600;
}

.news-desc {
    font-size: 0.95rem;
    color: #979797;
    line-height: 1rem;
}

.slider-dots {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.slider-dots span {
    width: 10px;
    height: 10px;
    background: #ffffff;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: 0.3s;
}

.slider-dots span.active {
    background: #424344;
    transform: scale(1.2);
}

.read-more {
    font-size: 0.95rem;
    line-height: 1rem;
    text-decoration: none;
}

.read-more svg {
    height: 15px;
}

@media (max-width: 768px) {
    section .news-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 576px) {
    section .news-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 375px) {
    section .news-title {
        font-size: 1.4rem;
    }
}

/* --Courses Section Style--------------------------------------------- */

.course-title {
    font-size: 3rem;
    margin-bottom: 30px;
    font-weight: 700;
    color: var(--main-bg);
    position: relative;
}

.course-title::after {
    content: "";
    width: 50%;
    height: 4px;
    background: #de1d1d;
    display: block;
    margin: 10px auto 0;
    border-radius: 4px;
}

.feature-icon img {
    width: 100%;
}

.card {
    border-radius: 28px !important;
}

@media (max-width: 768px) {
    section .course-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 576px) {
    section .course-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 375px) {
    section .course-title {
        font-size: 1.4rem;
    }
}

/* --Previous Year Question Papers Section Style--------------------------------------------- */

.bannerhead {
    position: relative;
    min-height: 30vh;
    display: flex;
    
    align-items: flex-end;
    padding: 15px 5%;
    color: #fff;
    text-align: left;
    overflow: hidden;
    background: linear-gradient(rgba(3, 52, 56, 0.5), rgba(3, 52, 56, 0.5)), url("./img/amubanner.jpg") center/cover no-repeat;
}

section .class-title {
    display: flex;
}

section .classheading {
    display: flex;
}

section .class-title h2 {
    font-size: 3rem;
    color: #113251;
    width: 150px;
}

section .class-title img {
    height: 8rem;
}

section .card {
    border-radius: 12px !important;
}

section .card:hover {
    scale: 1.03;
    background-color: rgba(3, 52, 56, 0.1);
}

@media (max-width: 768px) {}

@media (max-width: 576px) {
    section .class-title img {
        height: 5rem;
    }

    section .class-title h2 {
        font-size: 2rem;

    }
}

@media (max-width: 375px) {
    body .bannerhead {
        padding-top: 80px;
    }
}

















/* Section */





/* Footer */
footer {
    background: #033438;
    color: #ddd;
    text-align: center;
    padding: 20px;
}