/* =========================
   TOP CONTACT BAR
========================= */

.top-bar {
    background: linear-gradient(90deg, #7d190f, #9B2E2E);
    color: #ffffff;

    min-height: 42px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 22px;

    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
}

.admission-contact {
    display: flex;
    align-items: center;
    gap: 8px;
}

.phone {
    white-space: nowrap;
}

.college-codes {
    font-size: 17px;
    font-weight: 700;
    text-align: right;
}


/* =========================
   MAIN COLLEGE HEADER
========================= */

.college-header {
    background: #ffffff;

    min-height: 185px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 6px 20px;

    font-family: Arial, sans-serif;
}


/* =========================
   LEFT IMAGES
========================= */

.header-left-images {
    display: flex;
    align-items: center;
    gap: 20px;

    width: 260px;
}

.header-left-images img {
    width: 100px;
    height: 135px;

    object-fit: cover;

    border-radius: 50%;

    border: 3px;
}


/* =========================
   CENTER CONTENT
========================= */

.header-content {
    flex: 1;

    text-align: center;

    padding: 5px 12px;
}

.header-content h3 {
    margin: 0;

    font-size: 16px;

    color: #111;
}

.header-content h2 {
    margin: 3px 0;

    font-size: 19px;

    font-weight: 700;

    color: #111;
}

.header-content h1 {
    margin: 3px 0 6px;

    font-size: 42px;

    font-weight: 800;

    letter-spacing: 1px;

    color: #111;

    line-height: 1.1;
}

.autonomous {
    margin: 5px 0;

    font-size: 15px;

    font-weight: 600;

    color: #111;
}

.accreditation {
    margin: 3px 0;

    font-size: 14px;

    font-weight: 600;

    line-height: 1.35;

    color: #111;
}

.location {
    margin: 0;

    font-size: 14px;

    font-weight: 600;

    color: #111;
}


/* =========================
   RIGHT LOGO
========================= */

.header-right-logo {
    width: 140px;

    display: flex;
    justify-content: center;
    align-items: center;
}

.header-right-logo img {
    width: 110px;

    height: 135px;

    object-fit: contain;
}


/* =========================
   ANNOUNCEMENT BAR
========================= */

.announcement-bar {
    height: 38px;

    display: flex;

    align-items: center;

    background: #2a1a1a;

    color: #ffffff;

    font-family: Arial, sans-serif;

    overflow: hidden;
}

.announcement-title {
    background: #7d190f;

    height: 100%;

    display: flex;

    align-items: center;

    padding: 0 18px;

    font-size: 16px;

    font-weight: 700;

    white-space: nowrap;
}

.announcement-content {
    flex: 1;

    overflow: hidden;

    white-space: nowrap;
}

.announcement-track {
    display: inline-flex;

    align-items: center;

    gap: 40px;

    font-size: 14px;

    font-weight: 600;

    padding-left: 20px;

    animation: announcementMove 25s linear infinite;
}


@keyframes announcementMove {

    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-45%);
    }

}


/* =========================
   TABLET / SMALL LAPTOP
========================= */

@media (max-width: 1100px) {

    .top-bar {
        padding: 0 15px;
    }

    .college-header {
        min-height: 170px;
        padding: 5px 15px;
    }

    .college-codes {
        font-size: 14px;
    }

    .header-content h1 {
        font-size: 34px;
    }

    .header-content h2 {
        font-size: 17px;
    }

    .header-content h3 {
        font-size: 14px;
    }

    .autonomous {
        font-size: 13px;
    }

    .accreditation,
    .location {
        font-size: 12px;
    }

    .header-left-images {
        width: 200px;
        gap: 12px;
    }

    .header-left-images img {
        width: 80px;
        height: 110px;
    }

    .header-right-logo {
        width: 110px;
    }

    .header-right-logo img {
        width: 90px;
        height: 110px;
    }

    .announcement-title {
        font-size: 15px;
    }

    .announcement-track {
        font-size: 13px;
    }
}


/* =========================
   MOBILE RESPONSIVE
========================= */

@media (max-width: 768px) {

    .top-bar {
        flex-direction: column;

        padding: 7px;

        gap: 4px;

        text-align: center;

        min-height: auto;
    }

    .admission-contact {
        flex-wrap: wrap;

        justify-content: center;

        font-size: 12px;

        gap: 5px;
    }

    .college-codes {
        font-size: 12px;

        text-align: center;
    }


    .college-header {
        flex-direction: column;

        padding: 12px 8px;

        min-height: auto;
    }


    .header-left-images {
        width: auto;

        justify-content: center;

        margin-bottom: 8px;

        gap: 12px;
    }


    .header-left-images img {
        width: 75px;

        height: 95px;

        border: 3px ;
    }


    .header-content {
        padding: 5px;
    }


    .header-content h1 {
        font-size: 27px;

        line-height: 1.15;
    }


    .header-content h2 {
        font-size: 16px;
    }


    .header-content h3 {
        font-size: 13px;
    }


    .accreditation,
    .location,
    .autonomous {
        font-size: 12px;
    }


    .header-right-logo {
        width: auto;

        margin-top: 8px;
    }

    .header-right-logo img {
        width: 85px;

        height: 100px;
    }


    .announcement-bar {
        height: 34px;
    }


    .announcement-title {
        font-size: 13px;

        padding: 0 10px;
    }


    .announcement-track {
        font-size: 12px;

        gap: 25px;

        padding-left: 12px;
    }

}