@media (max-width: 576px) {
  .navbar-brand {
    max-width: 80%;
    flex-direction: column;
    text-align: start;
    gap: 5px;
  }

  .navbar-brand img {
    width: 50px;
  }

  .navbar-brand h5 {
    font-size: 0.85rem;
  }

  .navbar-brand p {
    font-size: 0.7rem;
  }

  .navbar-brand img {
    width: 50px;
  }

  .navbar-brand h5 {
    font-size: 0.8rem;
  }

  .navbar-brand p {
    font-size: 0.6rem;
  }

  .main-navbar .nav-link {
    font-size: 12.5px;
    padding: 10px 15px;
  }

  .cxo-mega-wrapper .cxo-title {
    font-size: 14px;
  }

  .cxo-mega-wrapper .cxo-mega-text p {
    font-size: 12.5px;
  }

  .mega-news-marquee {
    height: 140px;
  }

  /* ----------------------- */

  .pgp-title br {
    display: none;
  }

  .pgp-title {
    font-size: 28px;
  }

  .pgp-subtext {
    font-size: 13px;
    max-width: 100%;
  }

  .pgp-hero-section {
    padding: 40px 0px 0px 0px;
    color: #fff;
  }

  .carosal-cources-sg {
    padding: 0px 0px;
  }

  .mandatory-closures {
    padding: 50px 0;
  }

  .mandatory-closures .year-link {
    border-radius: 10px;
  }
}

@media (max-width: 350px) {
  .navbar-brand h5 {
    font-size: 0.6rem !important;
    line-height: 1.1;
    margin-bottom: 3px;
  }
}

@media (min-width: 992px) {
}

/* large screens */
@media screen and (max-width: 1440px) and (min-width: 1200px) {
}

@media (max-width: 768px) {
  .nav-top-media {
    display: none !important;
  }

  .navbar-brand {
    flex-direction: row;
    gap: 10px;
    padding: 5px 0;
  }

  .navbar-brand img {
    width: 60px;
  }

  .navbar-brand h5 {
    font-size: 0.85rem;
    line-height: 1.1;
    margin-bottom: 3px;
  }

  .navbar-brand p {
    font-size: 0.65rem;
    line-height: 1;
  }

  .navbar-toggler {
    padding: 5px 8px;
    font-size: 0.9rem;
  }

  .main-navbar .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .main-navbar .nav-link {
    padding: 12px 15px;
    font-size: 13px;
    border-radius: 0;
    margin: 0;
    border-bottom: 1px solid rgba(220, 218, 240, 0.3);
  }

  .main-navbar .nav-item:last-child .nav-link {
    border-bottom: none;
  }

  .main-navbar .dropdown-menu {
    border: none;
    box-shadow: none;
    background-color: rgba(248, 247, 252, 0.5);
    padding-left: 20px;
    margin: 0;
  }

  .main-navbar .mega-menu {
    position: static !important;
    width: 100% !important;
    box-shadow: none !important;
    border: none !important;
    margin-top: 0 !important;
    background: rgba(248, 247, 252, 0.5) !important;
  }

  .main-navbar .mega-menu .container {
    padding-left: 0;
    padding-right: 0;
  }

  .main-navbar .mega-menu .row {
    margin: 0;
    padding: 10px 0 !important;
  }

  .main-navbar .mega-menu .col-lg-2,
  .main-navbar .mega-menu .col-lg-3,
  .main-navbar .mega-menu .col-lg-4 {
    padding: 0px 0px !important;
    border-right: none !important;
    border-bottom: 1px solid rgba(220, 218, 240, 0.5);
  }

  .main-navbar .mega-menu .col-lg-2:last-child,
  .main-navbar .mega-menu .col-lg-3:last-child,
  .main-navbar .mega-menu .col-lg-4:last-child {
    border-bottom: none;
  }

  .main-navbar .mega-title {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .main-navbar .mega-links a {
    font-size: 12.5px;
    padding: 6px 0;
  }

  .cxo-mega-wrapper .row {
    margin: 0;
  }

  .cxo-mega-wrapper .cxo-mega-block {
    margin-bottom: 20px;
  }

  .cxo-mega-wrapper .cxo-mega-text {
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  }

  .cxo-mega-wrapper .cxo-mega-image {
    margin-bottom: 15px;
  }

  .cxo-mega-wrapper .cxo-mega-image img {
    min-height: 180px;
  }

  .mega-news-box {
    margin-top: 10px;
    padding: 15px;
  }

  .mega-news-title {
    font-size: 14px;
  }

  .mega-news-marquee {
    height: 160px;
  }

  .mega-news-marquee a {
    font-size: 13px;
  }

  .cxo-btn-group {
    flex-wrap: wrap;
    gap: 8px;
  }

  .cxo-btn-primary,
  .cxo-btn-secondary {
    flex: 1;
    min-width: 120px;
    text-align: center;
  }

  .normal-dropdown .dropdown-menu {
    background: rgba(248, 247, 252, 0.7);
    margin-left: 15px;
  }

  .dropdown-item {
    padding: 10px 15px !important;
    font-size: 13px !important;
  }

  #mainNavbar {
    max-height: 80vh;
    overflow-y: auto;
    margin-top: 10px;
    padding-bottom: 10px;
  }

  .main-menu {
    padding-left: 0;
    padding-right: 0;
  }

  .sgc-image-overlay-box {
    bottom: 15px;
    left: 15px;
    padding: 14px 18px;
    min-width: 170px;
  }

  .sgc-image-overlay-box h4 {
    font-size: 24px;
  }

  .sgc-image-overlay-box p {
    font-size: 13px;
  }

  .students-foreign p {
    font-size: 15px;
    padding: 0 15px;
  }

  .sgc-timeline .timeline {
    padding-left: 20px;
  }

  .sgc-timeline .timeline-item {
    padding-left: 30px;
  }

  .sgc-timeline .timeline-content {
    padding: 20px;
  }

  .sgc-timeline .timeline-title h2 {
    font-size: 28px;
  }

  .sgc-timeline .timeline-item::before {
    left: -16px;
  }

  .about-sgc {
    padding: 0px 0px 0px 0px;
  }

  .pill-overlay {
    bottom: 12px;
    left: 12px;
    padding: 8px 16px;
    border-radius: 40px;
    max-width: calc(100% - 24px);
  }

  .pill-overlay p {
    font-size: 10px;
    line-height: 1.35;
  }

  .vm-sgc {
    padding: 0px 0px;
  }

  .pill-overlay {
    opacity: 0.9;
  }

  .time-line-mob {
    padding: 0px;
  }

  .vision-text {
    padding-right: 0;
    margin-bottom: 40px;
  }

  .vision-text::after {
    display: none;
  }

  .vision-mission h3 {
    font-size: 24px;
  }

  .vision-mission p {
    font-size: 15px;
  }

  .team-card img {
    height: 220px;
  }

  .cxo-ug-page .cxo-title {
    font-size: 26px;
  }

  .general-regulations,
  .general-regulations-continue {
    margin-bottom: 30px;
    padding: 28px 24px;
  }

  .rr h1 {
    font-size: 28px;
  }

  .cxo-header-part {
    min-height: 60vh;
  }

  .cxo-header-part h1 {
    font-size: 2.2rem;
  }

  .cxo-header-part div > span {
    display: block;
    margin-bottom: 8px;
  }

  .apply-call-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .apply-call-box .divider {
    display: none;
  }

  .principal-image-wrapper {
    margin-bottom: 25px;
    border-radius: 12px;
  }

  .principal-image-caption {
    padding: 12px 16px;
    text-align: center;
  }

  .principal-image-caption h5 {
    font-size: 0.95rem;
  }

  .principal-image-caption p {
    font-size: 0.8rem;
  }

  .principal-content-box {
    padding: 0px 0px;
    border-radius: 12px;
  }

  .principal-title {
    font-size: 1.6rem;
    text-align: center;
  }

  .principal-divider {
    margin: 0 auto 20px;
  }

  .principal-content-box p {
    font-size: 0.9rem;
    line-height: 1.65;
    text-align: justify;
  }

  .principal-quote {
    font-size: 0.9rem;
    padding: 14px 16px;
    border-left-width: 3px;
  }

  .principal-signature {
    text-align: center;
    font-size: 0.9rem;
    margin-top: 20px;
  }

  .sgc-faculty .table,
  .sgc-faculty thead,
  .sgc-faculty tbody,
  .sgc-faculty th,
  .sgc-faculty td,
  .sgc-faculty tr {
    display: block;
    width: 100%;
  }

  .sgc-faculty thead {
    display: none;
  }

  .sgc-faculty tbody tr {
    margin-bottom: 16px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(44, 49, 74, 0.08);
    padding: 12px;
  }

  .sgc-faculty tbody td {
    border: none;
    padding: 10px 10px 10px 50%;
    position: relative;
    font-size: 14px;
  }

  .sgc-faculty tbody td::before {
    content: attr(data-label);
    position: absolute;
    left: 15px;
    top: 10px;
    font-weight: 600;
    color: var(--primary-purple);
    white-space: nowrap;
  }
  .sgc-faculty tbody tr:nth-child(even) {
    background: none;
  }

  .mandatory-closures h4 {
    font-size: 20px;
  }

  .mandatory-closures .nav-tabs {
    flex-wrap: wrap;
  }

  .mandatory-closures .nav-tabs .nav-link {
    margin-bottom: 10px;
    width: 100%;
    text-align: center;
  }

  .mandatory-closures .tab-content {
    padding: 25px 20px;
  }

  .mandatory-closures .year-link {
    font-size: 14px;
    padding: 14px 8px;
  }

  .contact-header h2 {
    font-size: 2rem;
  }

  .contact-section {
    padding: 60px 0;
  }

  /* --home-page-carosal-- */

  .carosal-cources-sg {
    padding: 50px 0px 20px 0px;
  }
  .carosal-cources-sg .row {
    gap: 30px;
  }

  .carosal-cources-sg .sg-course-content h3 {
    font-size: 30px;
    padding: 0 0 15px 0;
    text-align: center;
  }

  .carosal-cources-sg .sg-course-content p {
    font-size: 14px;
    text-align: center;
  }

  .carosal-cources-sg .sg-carousel-item img {
    height: 260px;
  }

  .carosal-cources-sg .sg-carousel-overlay {
    width: 100%;
    padding: 20px;
    background: linear-gradient(
      to top,
      rgba(77, 65, 140, 0.95) 1%,
      rgba(77, 65, 140, 0.6) 50%
    );
    justify-content: flex-end;
  }

  .carosal-cources-sg .sg-carousel-overlay h4 {
    font-size: 18px;
  }

  .carosal-cources-sg .sg-carousel-overlay p {
    font-size: 13px;
    line-height: 1.5;
  }

  .carosal-cources-sg .carosal-btns {
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
  }

  .carosal-cources-sg .carosal-btns-one,
  .carosal-cources-sg .carosal-btns-two {
    font-size: 12px;
    padding: 6px 12px;
  }

  .carosal-cources-sg .owl-nav {
    display: none;
  }

  .carosal-cources-sg .owl-dots {
    margin-top: 20px;
  }

  /* home-banner */
  .cxo-highlights {
    padding: 30px 0;
  }

  .cxo-highlights .cxo-card {
    padding: 26px 22px;
  }

  .cxo-highlights .cxo-title {
    font-size: 18px;
  }
  .sg-programs {
    padding: 0px 0;
  }

  .sg-programs .text-overlay.program-content {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    padding: 20px;
    text-align: center;
  }

  .sg-programs .img-box img {
    display: none;
  }

  .heading-programs {
    font-size: 28px;
    padding: 20px 0 20px;
    text-align: center;
  }

  .program-title {
    font-size: 22px;
  }

  .program-desc {
    font-size: 14px;
  }

  .program-tags span {
    font-size: 13px;
    padding: 4px 8px;
  }

  .program-actions {
    align-items: center;
    justify-content: center;
  }

  .program-actions .program-link {
    padding: 9px 18px;
    text-align: center;
  }

  /* Hide image */
  .sg-programs-ug .img-box img {
    display: none;
  }

  .sg-programs-ug .ug-text-overlay {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    width: 100%;
    padding: 20px 16px;
    text-align: center;
  }

  .ug-program-title {
    font-size: 22px;
    color: #2c314a;
  }

  .ug-program-desc {
    font-size: 15px;
    color: #2c314a;
  }

  .ug-program-tags span {
    font-size: 13px;
    padding: 4px 10px;
    color: #2c314a;
  }

  .ug-program-actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .ug-btn {
    font-size: 14px;
    padding: 9px 18px;
  }

  .about-section {
    padding-top: 10px;
    border-radius: 12px;
  }
  .green-bold {
    font-size: 3.5rem;
  }

  .career-outcomes-section {
    padding: 60px 0 40px;
  }
  .footer-address {
    margin-top: 20px;
  }
  .circle-image {
    padding-top: 20px;
  }

  .team-section {
    padding: 20px 0;
    background: #f4f8fd;
  }

  .team-section h3 {
    padding-left: 20px;
  }

  .cxo-header-part-mba {
    background: none;
    min-height: auto;
    padding: 0;
    display: block;
  }

  .cxo-header-part-mba::before {
    content: "";
    display: block;
    width: 100%;
    height: 260px;
    background: url(../images/cxo/mba-cxo-program.webp);
    background-position: 85% center !important;
    background-size: cover;
    position: relative;
  }

  .cxo-header-part-mba .container {
    padding: 25px 15px;
    text-align: center;
  }

  .cxo-header-part-mba h1 {
    font-size: 1.6rem;
    color: #000;
  }

  .cxo-header-part-mba div > span {
    display: block;
    margin: 6px 0;
    color: #000;
    text-align: start;
  }

  .powerd-by {
    justify-content: center;
    margin-top: 15px;
  }

  .cxo-header-part-mba .powerd-by h5 {
    color: #000 !important;
  }
  .cxo-ug-page {
    padding: 20px 0px 0px 0px;
  }

  /* ----------------------------- */

  .cxo-header-part {
    background: none;
    min-height: auto;
    padding: 0;
    display: block;
  }

  .cxo-header-part::before {
    content: "";
    display: block;
    width: 100%;
    height: 260px;
    background: url(../images/cxo/ug-banner.webp);
    background-position: 85% center !important;
    background-size: cover;
    position: relative;
  }

  .cxo-header-part .container {
    padding: 25px 15px;
    text-align: center;
  }

  .cxo-header-part h1 {
    font-size: 1.6rem;
    color: #000;
  }

  .cxo-header-part div > span {
    display: block;
    margin: 6px 0;
    color: #000;
    text-align: start;
  }

  .mob-span {
    padding-bottom: 30px;
  }

  .clg-carrers {
    background-color: unset !important;
    padding: 0px 0;
  }

  .clg-carrers .col-lg-12 {
    background-color: unset;
  }
  .vision-mission {
    padding: 40px 0;
  }
  .events-gallery-clg {
    padding: 0px 0;
  }
  .rr {
    padding: 0px 0;
  }

  .general-regulations-continue {
    margin-top: 20px;
  }
  .mba-gg {
    padding: 40px 0;
  }

  .mba-gg .gg-sub-line,
  .mba-gg .col-lg-6 {
    padding: 20px;
    margin-bottom: 0px;
  }

  .mba-gg h5 {
    font-size: 16.5px;
  }
  .table-fac-heading {
    padding-top: 10px;
  }

  .facility-1 img {
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .facilities-college .row {
    margin-bottom: 0px;
  }

  .facilities-college .facility-4 {
    padding: 40px 10px;
  }

  .facility-3 img {
    margin-bottom: 20px;
  }

  .facilities-college {
    padding: 30px 0;
  }
  .placements-sgc {
    padding: 0px 0px;
  }

  .placement-goals h5 {
    margin-top: 20px;
    font-size: 18px;
  }
  .quality-policy {
    padding: 40px 0px 0px;
  }
  .client-logs-scrolling {
    padding: 30px 0px 30px 0px;
    background: #f9fbff;
  }
}
