/* =========================================================
   COURSES & ADMISSION PAGE
   BIT ITI BALLARPUR
========================================================= */


/* =========================================================
   HERO
========================================================= */

.course-hero {

    position: relative;

    min-height: 50px;

    display: flex;

    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            120deg,
            rgba(3, 25, 60, 0.94),
            rgba(0, 91, 172, 0.78)
        ),
        url("images/college-entrance.jpg")
        center center / cover no-repeat;
}


.course-hero::before {

    content: "";

    position: absolute;

    width: 430px;
    height: 430px;

    right: -200px;
    top: -200px;

    border-radius: 50%;

    background:
        rgba(255,255,255,0.07);
}


.course-hero::after {

    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    left: -90px;
    bottom: -90px;

    border-radius: 50%;

    background:
        rgba(255,255,255,0.05);
}


.course-hero-content {

    position: relative;

    z-index: 2;

    padding: 15px 0;

    color: #ffffff;
}


.course-hero-label {

    display: inline-block;

    margin-bottom: 10px;

    color: #c7e7ff;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2px;
}


.course-hero h1 {

    margin: 0 0 12px;

    color: #ffffff;

    font-size: clamp(38px,5vw,58px);

    line-height: 1.1;

    font-weight: 800;
}


.course-hero p {

    max-width: 650px;

    margin: 0 0 20px;

    color:
        rgba(255,255,255,0.90);

    font-size: 16px;

    line-height: 1.7;
}


/* Breadcrumb */

.course-breadcrumb {

    display: flex;

    align-items: center;

    gap: 9px;

    flex-wrap: wrap;

    font-size: 13px;
}


.course-breadcrumb a {

    color: #ffffff;

    text-decoration: none;
}


.course-breadcrumb a:hover {

    color: #bfe3ff;
}


.course-breadcrumb strong {

    color: #c7e7ff;
}


/* =========================================================
   COMMON SECTION HEADING
========================================================= */

.course-section-heading {

    max-width: 750px;

    margin: 0 auto;

    text-align: center;
}


.course-section-heading span {

    display: inline-block;

    color: #0762bd;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1.8px;
}


.course-section-heading h2 {

    margin: 8px 0 12px;

    color: #0b0b0b;

    font-size: clamp(30px,4vw,40px);

    line-height: 1.2;

    font-weight: 800;
}


.course-section-heading p {

    margin: 0;

    color: #3f09c9;

    font-size: 14px;

    line-height: 1.75;
}


/* =========================================================
   COURSE INTRO
========================================================= */

.course-intro {

    padding: 80px 0;

    background: #dcd1d1;
}


/* =========================================================
   TRADE CARDS
========================================================= */

.trade-card {

    position: relative;

    height: 100%;

    padding: 28px 22px;

    overflow: hidden;

    border-radius: 17px;

    background: #650b43;

    border: 1px solid #e0ee87;

    box-shadow:
        0 8px 25px
        rgba(20,50,90,0.06);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}


.trade-card::before {

    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 100%;
    height: 4px;

    background:
        linear-gradient(
            90deg,
            #075db2,
            #25a7ff
        );
}


.trade-card:hover {

    transform: translateY(-8px);

    box-shadow:
        0 20px 42px
        rgba(20,60,100,0.13);
}


/* Trade icon */

.trade-icon {

    width: 62px;
    height: 62px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 18px;

    border-radius: 15px;

    color: #f8f9fb;

    background: #edf5ff;

    font-size: 26px;

    transition: all 0.3s ease;
}


.trade-card:hover .trade-icon {

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #075db2,
            #168bdc
        );

    transform: scale(1.05);
}


.trade-number {

    display: block;

    margin-bottom: 5px;

    color: #8b98a7;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.5px;
}


.trade-card h3 {

    margin: 0 0 20px;

    color: #c0e580;

    font-size: 22px;

    font-weight: 800;
}


/* Trade details */

.trade-details {

    display: flex;

    flex-direction: column;

    gap: 11px;

    padding: 15px 0;

    border-top: 1px solid #edf1f5;

    border-bottom: 1px solid #edf1f5;
}


.trade-details > div {

    display: flex;

    align-items: center;

    gap: 10px;
}


.trade-details i {

    width: 30px;
    height: 30px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 8px;

    color: #0762bd;

    background: #f0f6fc;

    font-size: 13px;
}


.trade-details span {

    display: flex;

    flex-direction: column;

    color: #9bc937;

    font-size: 13px;

    font-weight: 600;
}


.trade-details small {

    margin-bottom: 2px;

    color: #f8f9fa;

    font-size: 10px;

    font-weight: 500;
}


/* Admission link */

.trade-link {

    display: inline-flex;

    align-items: center;

    gap: 7px;

    margin-top: 18px;

    color: #f5f7f8;

    text-decoration: none;

    font-size: 12px;

    font-weight: 700;

    transition: gap 0.3s ease;
}


.trade-link:hover {

    color: #064b89;

    gap: 11px;
}


/* =========================================================
   COURSE TABLE
========================================================= */

.course-table-section {

    padding: 80px 0;

    background: #f3f7fc;
}


.course-table-wrapper {

    margin-top: 35px;

    overflow-x: auto;

    border-radius: 16px;

    background: #ffffff;

    box-shadow:
        0 10px 35px
        rgba(20,50,90,0.08);
}


.course-table {

    width: 100%;

    min-width: 650px;

    margin: 0;

    border-collapse: collapse;
}


.course-table thead {

    background:
        linear-gradient(
            120deg,
            #063a72,
            #0878ca
        );
}


.course-table th {

    padding: 17px 18px;

    color: #ffffff;

    border: none;

    font-size: 12px;

    font-weight: 700;

    text-align: left;

    letter-spacing: 0.3px;
}


.course-table td {

    padding: 17px 18px;

    color: #0c0c0c;

    border-bottom: 1px solid #edf1f5;

    font-size: 13px;

    vertical-align: middle;
}


.course-table tbody tr {

    transition:
        background 0.2s ease;
}


.course-table tbody tr:hover {

    background: #f7fbff;
}


.course-table tbody tr:last-child td {

    border-bottom: none;
}


.course-table td strong {

    display: flex;

    align-items: center;

    gap: 8px;

    color: #243348;

    font-size: 14px;
}


.course-table td strong i {

    color: #0762bd;
}


.table-number {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 30px;
    height: 30px;

    border-radius: 8px;

    color: #0762bd;

    background: #edf5ff;

    font-size: 11px;

    font-weight: 800;
}


.intake-badge {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-width: 34px;

    height: 28px;

    padding: 0 8px;

    border-radius: 20px;

    color: #075db2;

    background: #edf5ff;

    font-size: 11px;

    font-weight: 800;
}


/* =========================================================
   ADMISSION SECTION
========================================================= */

.admission-section {

    padding: 85px 0;

    background: #ffffff;
}


.admission-heading {

    margin-bottom: 35px;
}


.admission-heading > span {

    display: inline-block;

    color: #0762bd;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1.8px;
}


.admission-heading h2 {

    margin: 8px 0 12px;

    color: #172238;

    font-size: clamp(30px,4vw,40px);

    font-weight: 800;
}


.admission-heading p {

    max-width: 700px;

    margin: 0;

    color: #2274d2;

    font-size: 14px;

    line-height: 1.75;
}


/* =========================================================
   INSTRUCTION LIST
========================================================= */

.instruction-list {

    display: flex;

    flex-direction: column;

    gap: 18px;
}


.instruction-item {

    display: flex;

    gap: 18px;

    padding: 20px;

    border-radius: 14px;

    background: #f7faff;

    border: 1px solid #e8f0f7;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.instruction-item:hover {

    transform: translateX(5px);

    box-shadow:
        0 10px 25px
        rgba(20,60,100,0.07);
}


/* Number */

.instruction-number {

    width: 44px;
    height: 44px;

    min-width: 44px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 12px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #075db2,
            #168bdc
        );

    font-size: 12px;

    font-weight: 800;
}


.instruction-content {

    flex: 1;
}


.instruction-content h3 {

    margin: 1px 0 7px;

    color: #032568;

    font-size: 16px;

    font-weight: 700;
}


.instruction-content p {

    margin: 0;

    color: #052551;

    font-size: 13px;

    line-height: 1.75;
}


/* Payment name */

.payment-name {

    margin-top: 12px;

    padding: 12px 15px;

    border-left: 3px solid #0762bd;

    border-radius: 6px;

    color: #020c19;

    background: #ffffff;

    font-size: 12px;

    font-weight: 600;

    line-height: 1.6;
}


/* =========================================================
   ADMISSION CONTACT CARD
========================================================= */

.admission-contact-card {

    position: sticky;

    top: 30px;

    padding: 30px 25px;

    border-radius: 20px;

    color: #ffffff;

    background:
        linear-gradient(
            145deg,
            #063a72,
            #0878ca
        );

    box-shadow:
        0 20px 45px
        rgba(4,70,130,0.18);

    overflow: hidden;
}


.admission-contact-card::before {

    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    right: -90px;
    top: -90px;

    border-radius: 50%;

    background:
        rgba(255,255,255,0.07);
}


.contact-top-icon {

    position: relative;

    width: 58px;
    height: 58px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 18px;

    border-radius: 15px;

    background:
        rgba(255,255,255,0.12);

    font-size: 25px;
}


.contact-label {

    display: block;

    margin-bottom: 5px;

    color: #bfe3ff;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.5px;
}


.admission-contact-card h3 {

    margin: 0;

    color: #ffffff;

    font-size: 30px;

    font-weight: 800;
}


.contact-divider {

    width: 50px;

    height: 3px;

    margin: 17px 0 20px;

    border-radius: 10px;

    background: #7bcaff;
}


/* Principal */

.principal-contact {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 20px;
}


.principal-avatar {

    width: 48px;
    height: 48px;

    min-width: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    color: #ffffff;

    background:
        rgba(255,255,255,0.14);

    font-size: 20px;
}


.principal-contact div:last-child {

    display: flex;

    flex-direction: column;
}


.principal-contact strong {

    color: #ffffff;

    font-size: 14px;
}


.principal-contact span {

    margin-top: 3px;

    color: #bfe3ff;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1px;
}


/* Phone */

.phone-button {

    display: flex;

    align-items: center;

    gap: 10px;

    width: 100%;

    margin-bottom: 10px;

    padding: 13px 15px;

    border-radius: 10px;

    color: #ffffff;

    background:
        rgba(255,255,255,0.11);

    text-decoration: none;

    font-size: 14px;

    font-weight: 700;

    transition:
        background 0.3s ease;
}


.phone-button:hover {

    color: #ffffff;

    background:
        rgba(255,255,255,0.20);
}


.phone-button i {

    color: #9bd8ff;
}


/* Contact button */

.contact-button {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    width: 100%;

    padding: 12px 15px;

    border-radius: 25px;

    color: #075db2;

    background: #ffffff;

    text-decoration: none;

    font-size: 12px;

    font-weight: 700;

    transition: all 0.3s ease;
}


.contact-button:hover {

    color: #ffffff;

    background: #064b89;
}


/* Note */

.contact-note {

    display: flex;

    gap: 8px;

    margin-top: 18px;

    padding-top: 17px;

    border-top: 1px solid
        rgba(255,255,255,0.14);

    color:
        rgba(255,255,255,0.75);

    font-size: 10px;

    line-height: 1.6;
}


.contact-note i {

    color: #9bd8ff;
}


/* =========================================================
   APPLY CTA
========================================================= */

.apply-section {

    padding: 65px 0;

    background: #f3f7fc;
}


.apply-box {

    display: flex;

    align-items: center;

    gap: 25px;

    padding: 32px;

    border-radius: 18px;

    color: #ffffff;

    background:
        linear-gradient(
            120deg,
            #063a72,
            #0878ca
        );

    box-shadow:
        0 15px 40px
        rgba(4,70,130,0.16);
}


.apply-icon {

    width: 70px;
    height: 70px;

    min-width: 70px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 16px;

    background:
        rgba(255,255,255,0.12);

    font-size: 30px;
}


.apply-content {

    flex: 1;
}


.apply-content span {

    color: #bfe3ff;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.5px;
}


.apply-content h2 {

    margin: 5px 0 7px;

    color: #ffffff;

    font-size: 25px;

    font-weight: 800;
}


.apply-content p {

    margin: 0;

    color:
        rgba(255,255,255,0.85);

    font-size: 13px;

    line-height: 1.6;
}


.apply-button a {

    display: inline-flex;

    align-items: center;

    gap: 7px;

    padding: 12px 20px;

    border-radius: 30px;

    color: #075db2;

    background: #ffffff;

    text-decoration: none;

    font-size: 12px;

    font-weight: 800;

    white-space: nowrap;

    transition: all 0.3s ease;
}


.apply-button a:hover {

    color: #ffffff;

    background: #064b89;

    transform: translateY(-2px);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .course-intro,
    .course-table-section,
    .admission-section {

        padding: 15px 0;
    }


    .admission-contact-card {

        position: relative;

        top: 0;

        max-width: 500px;

        margin: 10px auto 0;
    }


    .apply-box {

        flex-wrap: wrap;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .course-hero {

        min-height: 15px;
    }


    .course-hero-content {

        padding: 15px 15px;
    }


    .course-hero h1 {

        font-size: 38px;
    }


    .course-hero p {

        font-size: 14px;
    }


    .course-intro,
    .course-table-section,
    .admission-section {

        padding: 50px 0;
    }


    .trade-card {

        padding: 25px 20px;
    }


    .course-table-wrapper {

        border-radius: 12px;
    }


    .instruction-item {

        gap: 13px;

        padding: 17px;
    }


    .instruction-number {

        width: 38px;
        height: 38px;

        min-width: 38px;

        border-radius: 9px;

        font-size: 10px;
    }


    .instruction-content h3 {

        font-size: 15px;
    }


    .instruction-content p {

        font-size: 12px;
    }


    .admission-contact-card {

        padding: 27px 22px;
    }


    .apply-section {

        padding: 45px 0;
    }


    .apply-box {

        flex-direction: column;

        align-items: flex-start;

        padding: 25px;
    }


    .apply-icon {

        width: 55px;
        height: 55px;

        min-width: 55px;

        font-size: 23px;
    }


    .apply-content h2 {

        font-size: 21px;
    }


    .apply-button {

        width: 100%;
    }


    .apply-button a {

        justify-content: center;

        width: 100%;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .course-hero h1 {

        font-size: 34px;
    }


    .course-hero-label {

        font-size: 10px;

        letter-spacing: 1.4px;
    }


    .course-breadcrumb {

        font-size: 11px;
    }


    .course-section-heading h2 {

        font-size: 29px;
    }


    .instruction-item {

        align-items: flex-start;
    }


    .payment-name {

        font-size: 11px;
    }

}