@media screen and (max-width: 576px) {}


/* desktop */

@media screen and (max-width: 1200px) and (min-width: 992px) {}


/* large screens */

@media screen and (max-width: 1440px) and (min-width: 1200px) {}


/* =====================================
   Vertical Marquee Animation
===================================== */

@keyframes scrollVertical {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

@media (max-width: 480px) {
    .owl-carousel .owl-item img {
        height: 280px;
    }
    .slide-caption {
        bottom: 20px;
        padding: 15px;
    }
    .slide-caption h3 {
        font-size: 1.2rem;
    }
    .features {
        flex-direction: column;
    }
}

@media (max-width: 991px) {
    .community-panel-section {
        overflow: hidden;
    }
    .community-panel-section .community-panel-image {
        position: relative;
        top: 0;
    }
    .community-panel-section .community-panel-content {
        margin-left: 0;
        margin-top: 25px;
    }
    .community-panel-section .community-panel-image img {
        height: 300px;
    }
}

@media (max-width: 768px) {
    /* Base dropdown arrow */
    .nav-link.dropdown-toggle-custom {
        position: relative;
        padding-right: 1.5rem;
    }
    /* Arrow icon using CSS */
    .nav-link.dropdown-toggle-custom::after {
        content: "";
        position: absolute;
        right: 0;
        top: 50%;
        width: 8px;
        height: 8px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: translateY(-50%) rotate(45deg);
        transition: transform 0.3s ease;
    }
    /* Rotate arrow when dropdown is open */
    .dropdown.show .dropdown-toggle-custom::after {
        transform: translateY(-50%) rotate(-135deg);
    }
    /* Mobile adjustments */
    .nav-link.dropdown-toggle-custom {
        padding-right: 2rem;
    }
    .nav-link.dropdown-toggle-custom::after {
        right: 0.5rem;
    }
    .nav-top {
        display: none !important;
    }
    .navbar {
        padding: 10px 0px 20px 0px;
    }
    .header-top-content {
        flex-direction: column;
        text-align: center;
        gap: 0px;
    }
    .navbar-toggler:focus {
        box-shadow: none;
    }
    .news-marquee {
        padding: 30px 0;
        background: linear-gradient(180deg, #f7f8fb, #ffffff);
    }
    .box-news {
        margin-bottom: 12px;
        background: linear-gradient(135deg, var(--orange), #ff944d);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    }
    .news-scroll-container {
        height: 220px;
        /* Visible area */
        overflow: hidden;
        background: #ffffff;
        border-radius: 10px;
        padding: 15px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
        position: relative;
    }
    /* Switch animation to vertical */
    .news-scroll-content {
        display: flex;
        flex-direction: column;
        gap: 18px;
        white-space: normal;
        padding: 0;
        animation: scrollVertical 50s linear infinite;
        will-change: transform;
    }
    /* Pause on touch / hover */
    .news-scroll-container:hover .news-scroll-content {
        animation-play-state: paused;
    }
    .news-item {
        font-size: 0.9rem;
        padding-bottom: 12px;
        border-bottom: 1px dashed #e2e2e2;
        gap: 6px;
    }
    .news-item:last-child {
        border-bottom: none;
    }
    .news-date {
        font-size: 0.8rem;
        color: var(--orange);
        font-weight: 600;
        min-width: auto;
    }
    .news-separator {
        display: none;
    }
    .news-text {
        width: 100%;
        color: #444;
        line-height: 1.5;
    }
    /* Disable horizontal animation leftovers */
    .news-scroll-content::after {
        display: none;
    }
    .trust-ms p {
        display: none;
    }
    .social-media a {
        margin-left: 6px;
    }
    .hoook-line h2 {
        font-size: 2rem;
    }
    .owl-theme .owl-dots {
        position: relative;
        bottom: 0px;
        width: 100%;
        text-align: center;
    }
    .owl-carousel .owl-item img {
        height: 350px;
    }
    .slide-caption {
        left: 0px;
    }
    .slide-caption h3 {
        font-size: 1.4rem;
    }
    .slide-caption p {
        font-size: 1rem;
    }
    .owl-carousel .owl-item img {
        display: block;
        width: 100%;
        border-radius: 10px;
    }
    .banner .item::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom, rgba(0, 0, 0, -0.35) 0%, rgba(0, 0, 0, -0.25) 50%, rgba(0, 0, 0, 0.85) 100%);
        z-index: 1;
        bottom: 0px;
        border-radius: 10px;
    }
    .news-marquee .col-lg-2 {
        padding-right: 12px;
    }
    .news-marquee .col-lg-10 {
        padding-left: 12px;
    }
    .counter-college {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        margin-bottom: 10px;
    }
    .counter-box {
        background: #ffffff;
        padding: 25px 8px;
        text-align: center;
        border-radius: 12px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
        transition: transform 0.3s ease;
    }
    .counter-box span {
        font-size: 0.8rem;
        color: #555;
        line-height: unset;
    }
    .hoook-line {
        padding: 0px 0px 10px 0px;
        text-align: center;
    }
    .content-college p {
        font-size: 14px;
        line-height: unset;
        margin-bottom: 15px;
    }
    .hoook-line p {
        max-width: none;
        margin: 0;
        font-size: 14px;
        line-height: unset;
        text-align: start;
    }
    .pu-section-content p {
        font-size: 14px;
        line-height: unset;
        margin-bottom: 15px;
    }
    .pu-section-content h3 {
        font-size: 26px;
    }
    .bg-text-activities {
        background-color: #243b98;
        padding: 20px;
    }
    .overlap-left {
        margin-left: 0px;
    }
    .affiliation_recognition_awards {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        /* grid-template-rows: repeat(2, 1fr); */
        gap: 20px;
    }
    .course-details-section .course-content-box {
        padding: 30px 0px;
    }
    .course-details-section .course-image-wrap img {
        margin-bottom: 12px;
        box-shadow: none
    }
    .course-details-section .course-title {
        font-size: 26px;
    }
    .why-pcmb-section .feature-number {
        top: 0px;
    }
    .facilities-sticky-section {
        padding: 50px 0px 50px;
        background-color: #f8fafc;
    }
    .pcmb-career-end-intro {
        font-size: 16px;
        line-height: 1.9;
        color: #475569;
        margin-bottom: 18px;
        text-align: start;
    }
    .admission-cta-band {
        padding: 70px 0;
        background-color: #ffffff;
        border-top: 1px solid #e2e8f0;
    }
    .admission-band-action {
        display: flex;
        flex-direction: column;
        align-items: center;
        background: #e2e7eb;
        height: auto;
        padding: 50px 20px;
        justify-content: center;
        text-align: center;
    }
    .bca-special-section .bca-special-icon {
        display: none;
    }
    .facilities-details-content-right {
        background-color: #003f7c;
        color: #fff;
        padding: 20px 0px 20px 12px;
        position: relative;
        right: 0%;
    }
    .facilities-details {
        background-color: #fff;
        margin-bottom: 30px;
        padding: 0px;
        border-radius: 10px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }
    .facilities-details .facilities-details-content-left {
        padding: 20px 0px 20px 12px;
        left: 0%;
    }
    .spotlight-group {
        position: relative;
        width: 100%;
        margin-bottom: 20px;
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: unset;
        gap: 20px;
    }
    .career-polygon-section .career-polygon-content {
        background: #ffffff;
        padding: 20px 12px;
        /* margin-left: -120px; */
        box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25);
        border-radius: 18px;
        /* max-width: 520px; */
        position: relative;
        z-index: 2;
    }
    .career-polygon-section .career-polygon-overlay {
        clip-path: polygon(0 0, 100% 0, 100% 85%, 0% 100%);
    }
    .career-polygon-section .career-polygon-content {
        margin: 0;
        border-radius: 0;
        max-width: 100%;
        box-shadow: none;
    }
    .career-polygon-section .career-polygon-content-wrap {
        padding: 40px 0px 0;
    }
    .career-polygon-section .career-polygon-title {
        font-size: 2rem;
    }
    .cources {
        padding: 30px 0 20px;
    }
    .workshop-tabs .nav-link {
        font: 13px;
        padding: 15px 10px;
    }
    .facilities-ms h2 {
        font-size: 26px;
    }
    .text-big-isec {
        font-size: 26px;
    }
    .facilities-ms {
        padding: 0px 0px 30px 0px;
    }
    .not-required {
        display: none !important;
    }
    .placements-heading {
        font-size: 26px;
    }
    .placements-subtext {
        font-size: 15px;
    }
    .logo img {
        max-width: 120px;
    }
    .marquee-track {
        gap: 45px;
    }
    .placements {
        padding: 0px 0px 50px 0px;
        background-color: #ffffff;
    }
    .principal-section .principal-title {
        font-size: 26px;
    }
    .section-title {
        font-size: 26px;
    }
    .manasa-inner-section .manasa-inner-title::before {
        background-color: #7b819b;
        content: '';
        width: 50px;
        height: 4px;
        position: absolute;
        left: 50%;
        bottom: -8px;
        transform: translateX(-50%);
    }
}

@media (max-width: 575.98px) {
    .vision-mission-section .section-title {
        font-size: 26px;
        line-height: 1.3;
        margin-bottom: 0px;
    }
    .vision-mission-section .section-subtitle {
        font-size: 14px;
    }
    .vision-mission-section .vision-card,
    .vision-mission-section .mission-card {
        padding: 18px;
        border-radius: 16px;
    }
    .vision-mission-section .vision-icon,
    .vision-mission-section .mission-icon {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
}