:root {
    --navy: #101c35;
    --navy2: #243b68;
    --red: #d2434e;
    --gold: #d6b06c;
    --ink: #172033;
    --muted: #667287;
    --bg: #f6f8fb;
    --line: #e4e9f0;
    --white: #fff;
    --shadow: 0 15px 40px rgba(16, 28, 53, .09)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, Segoe UI, sans-serif;
    color: var(--ink);
    line-height: 1.6;
    background: #fff
}

a {
    text-decoration: none;
    color: inherit
}

.container {
    width: min(1180px, calc(100% - 34px));
    margin: auto
}

.top {
    background: var(--navy);
    color: #dbe4f0;
    font-size: 13px
}

.top .container {
    min-height: 38px;
    display: flex;
    justify-content: space-between;
    align-items: center
}

.top a {
    color: #fff;
    font-weight: 700
}

.toplinks {
    display: flex;
    gap: 20px
}

header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line)
}

.nav {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px
}

.logo {
    font-size: 22px;
    font-weight: 900;
    color: var(--navy)
}

.navlinks {
    list-style: none;
    display: flex;
    gap: 5px;
    margin: 0;
    padding: 0
}

.navlinks a {
    padding: 11px 13px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 750
}

.navlinks a:hover,
.navlinks .active {
    background: #f8e9eb;
    color: var(--red)
}
 .dropdown-menu {
    position: static;
    display: block;
    width: auto;
    box-shadow: none;
    border: 0;
    padding: 0 0 0 12px
  }
.dropdown-menu {
    display: none;
    position: absolute;
    top: 48px;
    left: 0;
    width: 260px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 8px
}

.dropdown:hover .dropdown-menu {
    display: block
}

.dropdown-menu a {
    padding: 10px 12px
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 14px
}

.primary {
    background: var(--red);
    color: #fff;
    box-shadow: 0 8px 20px rgba(210, 67, 78, .2)
}

.menu {
    display: none;
    background: var(--navy);
    color: #fff;
    border: 0;
    border-radius: 9px;
    padding: 9px 12px;
    font-size: 20px
}

.hero {
    padding: 78px 0 110px;
    background: linear-gradient(105deg, rgba(10, 21, 41, .95), rgba(28, 52, 91, .82)), url("assets/images/colleges/Karnataka/Bangalore Medical College and Research Institute.jpg") center/cover;
    color: #fff
}
.crumb {
    font-size: 13px;
    color: #bdc9da
}
.eyebrow {
    display: block;
    color: #f0c875;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 12px;
    font-weight: 900;
    margin-top: 20px
}
.hero h1 {
    font-size: clamp(40px, 6vw, 64px);
    line-height: 1.03;
    letter-spacing: -.045em;
    margin: 8px 0 18px
}

.hero p {
    max-width: 740px;
    color: #d9e3ef;
    font-size: 18px;
    margin: 0 0 28px
}

.actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap
}

.outline {
    border: 1px solid rgba(255, 255, 255, .4);
    color: #fff
}

.overlap {
    margin-top: -48px;
    position: relative
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    border-radius: 18px;
    overflow: hidden
}

.stat {
    padding: 22px;
    border-right: 1px solid var(--line)
}

.stat:last-child {
    border: 0
}

.stat b {
    display: block;
    font-size: 26px
}

.stat span {
    color: var(--muted);
    font-size: 13px
}

.section {
    padding: 78px 0
}

.section-head {
    max-width: 760px;
    margin-bottom: 30px
}

.kicker {
    color: var(--red);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase
}

.section h2 {
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.1;
    letter-spacing: -.035em;
    margin: 8px 0 12px
}

.lead {
    font-size: 17px;
    color: var(--muted)
}

.toolbar {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap
}

.search {
    flex: 1;
    min-width: 230px;
    padding: 13px 15px;
    border: 1px solid var(--line);
    border-radius: 11px;
    font: inherit
}

.filter {
    padding: 13px 15px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #fff;
    font: inherit
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px
}

.card {
    border: 1px solid var(--line);
    border-radius: 19px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 7px 25px rgba(16, 28, 53, .05);
    transition: .2s
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow)
}

.card-top {
    display: grid;
    grid-template-columns: 155px 1fr;
    gap: 20px;
    padding: 18px
}

.college-img {
    width: 155px;
    height: 150px;
    object-fit: cover;
    border-radius: 13px;
    background: #eef2f7
}

.card h3 {
    font-size: 19px;
    line-height: 1.25;
    margin: 3px 0 10px
}

.meta {
    display: grid;
    gap: 7px;
    color: var(--muted);
    font-size: 13px
}

.badges {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    margin-top: 12px
}

.badge {
    padding: 5px 9px;
    border-radius: 999px;
    background: #f8e9eb;
    color: #a72e3a;
    font-size: 11px;
    font-weight: 800
}

.badge.blue {
    background: #edf3fb;
    color: #315d91
}

.card-bottom {
    border-top: 1px solid var(--line);
    background: #fafbfd;
    padding: 13px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    font-size: 13px
}

.location {
    color: var(--muted)
}

.guide {
    color: var(--red);
    font-weight: 850
}

.cta {
    padding: 20px 0 75px
}

.cta-box {
    background: linear-gradient(120deg, var(--navy), var(--navy2));
    border-radius: 25px;
    padding: 42px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px
}

.cta-box h2 {
    margin: 0 0 6px;
    font-size: 32px
}

.cta-box p {
    margin: 0;
    color: #cbd5e3
}

.services {
    background: var(--navy);
    color: #fff;
    padding: 55px 0
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, .13);
    border-radius: 15px;
    overflow: hidden
}

.service {
    padding: 23px;
    background: rgba(255, 255, 255, .035);
    text-align: center;
    font-size: 13px;
    font-weight: 750
}

footer {
    background: #0a1325;
    color: #aebbd0;
    padding: 50px 0 22px
}

.foot {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 28px
}

.foot h4 {
    color: #fff;
    margin: 0 0 12px
}

.foot ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 7px;
    font-size: 13px
}

.bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    margin-top: 30px;
    padding-top: 18px;
    font-size: 12px;
    display: flex;
    justify-content: space-between
}

@media(max-width:900px) {
    .navlinks {
        display: none;
        position: absolute;
        top: 72px;
        left: 17px;
        right: 17px;
        background: #fff;
        padding: 8px;
        border: 1px solid var(--line);
        border-radius: 13px;
        box-shadow: var(--shadow);
        flex-direction: column
    }

    .navlinks.open {
        display: flex
    }

    .menu {
        display: block
    }

    .nav>.primary {
        display: none
    }

    .grid {
        grid-template-columns: 1fr
    }

    .service-grid {
        grid-template-columns: 1fr 1fr
    }

    .foot {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:600px) {
    .top .container>span {
        display: none
    }

    .top .container {
        padding: 8px 0
    }

    .toplinks {
        gap: 10px
    }

    .stats {
        grid-template-columns: 1fr 1fr
    }

    .stat:nth-child(2) {
        border-right: 0
    }

    .stat:nth-child(-n+2) {
        border-bottom: 1px solid var(--line)
    }

    .card-top {
        grid-template-columns: 1fr
    }

    .college-img {
        width: 100%;
        height: 190px
    }

    .service-grid,
    .foot {
        grid-template-columns: 1fr
    }

    .cta-box {
        display: block;
        padding: 30px
    }

    .cta-box .btn {
        margin-top: 18px
    }

    .bottom {
        display: block
    }
}