/* Project-wide responsive safety layer. Loaded after page CSS. */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
}

body.has-ibs-header {
    padding-top: calc(var(--ibs-hdr-topbar-h) + var(--ibs-hdr-navbar-h)) !important;
}

img,
video,
iframe,
embed,
object {
    max-width: 100%;
}

iframe,
video {
    height: auto;
}

table {
    max-width: 100%;
}

.container,
.container-fluid {
    max-width: 100%;
}

.ibs-hdr .navbar-brand {
    flex: 0 0 auto;
}

.ibs-hdr .navbar-collapse {
    min-width: 0;
}

.ibs-hdr .navbar-nav {
    min-width: 0;
}

.ibs-hdr .dropdown-menu {
    max-width: min(92vw, 360px);
}

.footer .footer-container,
.footer .footer-middle {
    width: min(100%, 1200px);
    padding-left: 16px;
    padding-right: 16px;
}

.footer .footer-column {
    min-width: 0;
}

.footer .footer-column ul li a {
    overflow-wrap: anywhere;
}

.hero-text h1,
.sh,
.stit,
.section-title,
.section-header h2,
.header h1,
.main-title {
    overflow-wrap: anywhere;
}

.hero-text h1 {
    white-space: normal;
}

.bc .w,
.hero-inner,
.wi2,
.campus-plc-s .campus-inner,
.dir-wrap,
.campus-grid,
.newsletter-section .container,
.contact-section .container,
.login-section .container {
    max-width: min(100%, 1200px);
}

.placement-table-wrapper,
.chart-container,
.table-responsive,
.fee-table-wrap,
.campus-table-wrap {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.home-page section {
    padding-top: clamp(34px, 5vw, 64px);
    padding-bottom: clamp(34px, 5vw, 64px);
}

.home-page #hero {
    padding: 0;
}

.home-page .why-s,
.home-page .campuses-section,
.home-page .alumni-section,
.home-page .adm-s,
.home-page .dir-s {
    padding-top: clamp(42px, 6vw, 72px);
    padding-bottom: clamp(42px, 6vw, 72px);
}

.home-page .sh2 {
    margin-bottom: clamp(22px, 4vw, 36px);
}

.home-page .placement-header {
    max-width: 1120px;
    margin: 0 auto;
    padding: clamp(36px, 5vw, 58px) 20px 18px;
}

.home-page .placement-header .stit {
    margin-bottom: 8px;
    text-align: center;
}

.home-page .placement-header .sub-heading {
    max-width: 680px;
    margin: 0 auto;
    color: var(--text-muted);
    line-height: 1.55;
}

.home-page .top-grid,
.home-page .stats,
.home-page .recruiter-strip {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}

.home-page .top-grid {
    padding-top: 16px;
    padding-bottom: 16px;
    align-items: stretch;
}

.home-page .card {
    border-radius: 16px;
}

.home-page .card-title,
.home-page .section-title {
    padding: 14px 18px;
    font-size: clamp(18px, 2vw, 23px);
    line-height: 1.25;
}

.home-page .placement-table {
    min-width: 820px;
}

.home-page .placement-table thead th,
.home-page .placement-table tbody td {
    padding: 10px 12px;
    font-size: 13px;
    line-height: 1.35;
}

.home-page .chart-container {
    padding: 16px 14px 18px;
}

.home-page .sector-chart {
    overflow: visible;
    padding: 22px;
    background:
        radial-gradient(circle at top right, rgba(227, 30, 36, .1), transparent 34%),
        linear-gradient(180deg, #f8faff 0%, #fff 100%);
}

.home-page .sector-chart__visual {
    display: grid;
    grid-template-columns: minmax(230px, 300px) minmax(0, 1fr);
    gap: 26px;
    align-items: center;
}

.home-page .sector-chart__donut {
    width: min(100%, 280px);
    aspect-ratio: 1;
    margin: 0 auto;
    border-radius: 50%;
    background:
        conic-gradient(
            #4b73a9 0 14.85%,
            #b5484d 14.85% 21.78%,
            #97b957 21.78% 24.75%,
            #5b4d75 24.75% 27.72%,
            #4192a4 27.72% 51.49%,
            #d88438 51.49% 55.45%,
            #4d86c8 55.45% 63.37%,
            #cf5752 63.37% 70.30%,
            #a6c95d 70.30% 77.23%,
            #8669aa 77.23% 89.11%,
            #42a7b8 89.11% 92.08%,
            #ff963d 92.08% 93.07%,
            #b9c9df 93.07% 95.05%,
            #e7a4a6 95.05% 96.04%,
            #d7e5b3 96.04% 97.03%,
            #b8aec8 97.03% 100%
        );
    position: relative;
    box-shadow: 0 20px 45px rgba(33, 39, 122, .16);
}

.home-page .sector-chart__donut::before {
    content: "";
    position: absolute;
    inset: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .55);
}

.home-page .sector-chart__center {
    position: absolute;
    inset: 25%;
    border-radius: 50%;
    background: #fff;
    display: grid;
    place-items: center;
    align-content: center;
    text-align: center;
    box-shadow: inset 0 0 0 1px rgba(33, 39, 122, .08), 0 10px 22px rgba(17, 24, 39, .08);
}

.home-page .sector-chart__center strong {
    color: var(--primary-navy);
    font-size: clamp(24px, 4vw, 38px);
    line-height: 1;
}

.home-page .sector-chart__center span {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.home-page .sector-chart__summary {
    display: grid;
    gap: 12px;
}

.home-page .sector-chart__summary div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border: 1px solid rgba(33, 39, 122, .1);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(17, 24, 39, .06);
}

.home-page .sector-chart__summary strong {
    color: var(--primary-red);
    font-size: 24px;
    line-height: 1;
    white-space: nowrap;
}

.home-page .sector-chart__summary span {
    color: var(--primary-navy);
    font-size: 14px;
    font-weight: 800;
    text-align: right;
}

.home-page .sector-chart__legend {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 14px;
    margin-top: 22px;
}

.home-page .sector-chart__legend span {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: var(--text-muted);
    font-size: 12.5px;
    line-height: 1.35;
}

.home-page .sector-chart__legend span::before {
    content: "";
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    border-radius: 50%;
    background: var(--dot);
}

.home-page .sector-chart__legend b {
    color: var(--primary-navy);
    white-space: nowrap;
}

.home-page .chart {
    min-height: 360px;
    grid-template-columns: repeat(16, minmax(24px, 34px));
    gap: 7px;
}

.home-page .bar {
    width: 28px;
}

.home-page .stats {
    padding-top: 12px;
    padding-bottom: 18px;
}

.home-page .stat-card {
    border-radius: 16px;
    padding: 18px;
    min-width: 0;
    align-items: center;
    min-height: 112px;
}

.home-page .stat-icon {
    min-width: 62px;
    width: 62px;
    height: 62px;
    font-size: 24px;
}

.home-page .stat-number {
    font-size: clamp(22px, 2.6vw, 30px);
    line-height: 1.15;
    margin: 0;
    white-space: nowrap;
}

.home-page .stat-label {
    font-size: 13px;
    line-height: 1.35;
    margin: 4px 0 0;
    min-height: 18px;
}

.home-page .recruiter-strip {
    margin-top: 12px;
    padding: 12px 20px 34px;
}

.home-page .recruiter-strip .stit {
    text-align: center;
    margin-bottom: 16px;
}

.home-page .recruiter-swiper {
    padding: 8px 0;
}

@media (max-width: 991.98px) {
    :root {
        --ibs-hdr-topbar-h: 38px;
        --ibs-hdr-navbar-h: 58px;
    }

    .ibs-hdr__nav {
        height: auto;
        min-height: var(--ibs-hdr-navbar-h);
    }

    .ibs-hdr__nav .container {
        min-height: var(--ibs-hdr-navbar-h);
    }

    .ibs-hdr__logo {
        height: 52px;
    }

    .ibs-hdr .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        max-height: calc(100vh - var(--ibs-hdr-topbar-h) - var(--ibs-hdr-navbar-h));
        box-shadow: 0 18px 34px rgba(0, 0, 0, .14);
    }

    .ibs-hdr .navbar-nav {
        align-items: stretch;
        gap: 0 !important;
    }

    .ibs-hdr .nav-link,
    .ibs-hdr .dropdown-item {
        white-space: normal;
    }

    .ibs-hdr .dropdown-menu {
        max-width: none;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        padding-left: 24px;
        padding-right: 24px;
    }

    .home-page .top-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .home-page .stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .footer .footer-column {
        padding-left: 0;
    }
}

@media (max-width: 768px) {
    body {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    section {
        padding-left: 18px;
        padding-right: 18px;
    }

    #hero {
        min-height: 560px;
        height: calc(100vh - var(--ibs-hdr-topbar-h) - var(--ibs-hdr-navbar-h));
        height: calc(100svh - var(--ibs-hdr-topbar-h) - var(--ibs-hdr-navbar-h));
    }

    .sc2 {
        padding: 0 22px 96px;
    }

    .sh {
        font-size: clamp(30px, 10vw, 42px);
    }

    .sh em {
        font-size: inherit;
        white-space: normal;
    }

    .ss {
        max-width: 100%;
        font-size: 15px;
        line-height: 1.65;
    }

    .sarr {
        display: none;
    }

    .sprog {
        left: 22px;
        right: 22px;
        bottom: 58px;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .pseg {
        flex: 0 0 38px;
        width: 38px;
    }

    .slide-counter {
        display: none;
    }

    .hero-ticker {
        height: 46px;
    }

    .campus-plc-s,
    .newsletter-section {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .campus-plc-s .campus-inner {
        padding-left: 18px;
        padding-right: 18px;
    }

    .newsletter-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .newsletter-card,
    .card,
    .section,
    .pc,
    .campus-card,
    .placement-card {
        border-radius: 14px;
    }

    .footer .footer-container {
        grid-template-columns: 1fr;
        gap: 18px;
        padding-top: 24px;
    }

    .home-page .placement-header {
        padding: 30px 18px 10px;
    }

    .home-page .placement-header .sub-heading {
        font-size: 15px;
    }

    .home-page .top-grid {
        padding-left: 14px;
        padding-right: 14px;
    }

    .home-page .card-title,
    .home-page .section-title {
        padding: 12px 14px;
    }

    .home-page .placement-table {
        min-width: 680px;
    }

    .home-page .placement-table thead th,
    .home-page .placement-table tbody td {
        padding: 9px 10px;
        font-size: 12px;
    }

    .home-page .chart {
        min-width: 620px;
        min-height: 300px;
        height: 320px;
        align-items: end;
    }

    .home-page .sector-chart {
        overflow: hidden;
    }

    .home-page .sector-chart__visual {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .home-page .sector-chart__donut {
        max-width: 245px;
    }

    .home-page .sector-chart__legend {
        grid-template-columns: 1fr;
    }

    .home-page .sector-chart__summary div {
        padding: 12px 14px;
    }

    .home-page .sector-chart__summary strong {
        font-size: 22px;
    }

    .home-page .bar {
        width: 24px;
    }

    .home-page .label {
        font-size: 9px;
        max-width: 44px;
    }

    .home-page .stats {
        grid-template-columns: 1fr;
        padding-left: 14px;
        padding-right: 14px;
    }

    .home-page .stat-card {
        padding: 14px 16px;
        gap: 14px;
        min-height: 88px;
    }

    .home-page .stat-icon {
        min-width: 52px;
        width: 52px;
        height: 52px;
        font-size: 20px;
    }

    .home-page .recruiter-slide {
        height: 66px;
        padding: 10px;
    }

    .home-page .recruiter-logo {
        max-height: 42px;
    }
}

@media (max-width: 420px) {
    .ibs-hdr__social {
        gap: 6px;
    }

    .ibs-hdr__social a {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }

    .ibs-hdr__m-menu {
        left: 10px;
        right: 10px;
        width: auto;
    }

    .ibs-hdr__logo {
        height: 46px;
    }

    .br,
    .bw,
    .btn,
    .view-btn {
        width: 100%;
        max-width: 100%;
        justify-content: center;
        white-space: normal;
    }
}
