/* ================================================================
   Agent Website — Rich Premium Styles
   Enhanced look & feel for hero, stats, universities/colleges,
   and contact sections. Testimonials and footer remain untouched.
   ================================================================ */

/* ===== Header ===== */
.agent-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(232, 237, 241, .7);
    box-shadow: 0 5px 24px rgba(23, 50, 77, .06);
}

.agent-header__inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.agent-header__content {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.agent-header__contacts {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px 22px;
}

.agent-header__contacts a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #596b7b;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
}

.agent-header__contacts a i {
    color: var(--agent-primary, #1f5f91);
    font-size: 13px;
}

.agent-header__contacts a:hover {
    color: var(--agent-primary, #1f5f91);
}

.agent-header__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--agent-secondary, #17324d);
    font-family: 'Raleway', sans-serif;
    font-size: 20px;
    font-weight: 600;
}

.agent-header__brand img {
    display: block;
    width: auto;
    max-width: 180px;
    height: auto;
    object-fit: contain;
}

.agent-header__nav {
    display: flex;
    align-items: center;
    gap: clamp(15px, 2.4vw, 34px);
}

.agent-header__nav a {
    position: relative;
    color: #323538;
    font-size: 14px;
    font-weight: 600;
    transition: color .2s ease;
}

.agent-header__nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--agent-primary, #1f5f91), #2d9cdb);
    transition: width .25s ease;
}

.agent-header__nav a:hover,
.agent-header__nav a:focus-visible {
    color: var(--agent-primary, #1f5f91);
}

.agent-header__nav a:hover::after,
.agent-header__nav a:focus-visible::after {
    width: 100%;
}

.agent-header__toggle {
    display: none;
    border: 1px solid #dbe5ec;
    border-radius: 8px;
    background: #fff;
    color: var(--agent-secondary, #17324d);
    padding: 9px 12px;
    font-size: 20px;
}

@media(max-width: 767.98px) {
    .agent-header__inner {
        min-height: 66px;
        flex-wrap: wrap;
        padding-top: 9px;
        padding-bottom: 9px;
    }

    .agent-header__toggle {
        display: block;
        margin-left: auto;
    }

    .agent-header__content {
        order: 3;
        flex: 0 0 100%;
        align-items: stretch;
        gap: 7px;
    }

    .agent-header__contacts {
        justify-content: center;
        gap: 5px 16px;
        padding: 4px 0;
    }

    .agent-header__contacts a {
        font-size: 11px;
    }

    .agent-header__nav {
        display: none;
        flex: 0 0 100%;
        align-items: stretch;
        gap: 0;
        padding: 4px 0 8px;
    }

    .agent-header__nav.is-open {
        display: flex;
        flex-direction: column;
    }

    .agent-header__nav a {
        padding: 11px 4px;
        border-top: 1px solid #edf1f4;
    }

    .agent-header__nav a::after {
        display: none;
    }
    .agent-header__brand img{height:60px;}
}

/* ===== Agent Site Base ===== */
.agent-site {
    --agent-ink: var(--agent-secondary, #17324d);
    --agent-blue: var(--agent-primary, #1f5f91);
    --agent-mint: #e9f5f1;
    --agent-accent: #2d9cdb;
    --agent-blue-soft: rgba(31, 95, 145, .08);
    --agent-blue-glow: rgba(31, 95, 145, .18);
    --agent-shadow-sm: 0 4px 16px rgba(31, 95, 145, .07);
    --agent-shadow-md: 0 12px 36px rgba(31, 95, 145, .1);
    --agent-shadow-lg: 0 24px 56px rgba(31, 95, 145, .14);
    --agent-shadow-xl: 0 32px 72px rgba(31, 95, 145, .18);
    color: var(--agent-ink);
    font-family: 'Cairo', sans-serif;
}

.agent-site a {
    text-decoration: none;
}

.agent-site ::selection {
    background: rgba(31, 95, 145, .15);
    color: var(--agent-ink);
}

/* ===== Hero ===== */
.agent-site__hero {
    position: relative;
    overflow: hidden;
    padding: clamp(64px, 9vw, 120px) 0 clamp(72px, 9vw, 118px);
    background:
        radial-gradient(ellipse 55% 45% at 88% 16%, rgba(45, 156, 219, .14), transparent 70%),
        radial-gradient(ellipse 50% 40% at 8% 84%, rgba(31, 95, 145, .1), transparent 70%),
        linear-gradient(135deg, #f0f7f5 0%, #f4f7fb 50%, #eaf2fc 100%);
}

.agent-site__hero:after {
    content: '';
    position: absolute;
    width: 380px;
    height: 380px;
    right: -120px;
    bottom: -240px;
    border: 1px solid rgba(31, 95, 145, .12);
    border-radius: 50%;
    box-shadow:
        0 0 0 40px rgba(31, 95, 145, .025),
        0 0 0 80px rgba(31, 95, 145, .018),
        0 0 0 120px rgba(31, 95, 145, .012);
}

/* Hero decorative blobs */
.agent-site__hero-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.agent-site__hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    opacity: .45;
}

.agent-site__hero-blob--1 {
    width: 320px;
    height: 320px;
    top: -60px;
    right: 8%;
    background: radial-gradient(circle, rgba(45, 156, 219, .3), transparent 70%);
    animation: agentBlobFloat 12s ease-in-out infinite;
}

.agent-site__hero-blob--2 {
    width: 280px;
    height: 280px;
    bottom: -80px;
    left: 4%;
    background: radial-gradient(circle, rgba(31, 95, 145, .22), transparent 70%);
    animation: agentBlobFloat 14s ease-in-out infinite 2s;
}

.agent-site__hero-blob--3 {
    width: 200px;
    height: 200px;
    top: 40%;
    right: 30%;
    background: radial-gradient(circle, rgba(174, 209, 142, .15), transparent 70%);
    animation: agentBlobFloat 10s ease-in-out infinite 1s;
}

.agent-site__hero-inner {
    position: relative;
    z-index: 1;
}

.agent-site__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 16px;
    border-radius: 30px;
    background: rgba(255, 255, 255, .65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(31, 95, 145, .12);
    color: var(--agent-blue);
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .04em;
    box-shadow: 0 4px 18px rgba(31, 95, 145, .06);
}

.agent-site__hero h1 {
    max-width: 760px;
    margin: 22px 0 18px;
    font-family: 'Raleway', sans-serif;
    color: var(--agent-ink);
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -.02em;
    background: linear-gradient(135deg, var(--agent-ink) 0%, var(--agent-blue) 60%, var(--agent-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.agent-site__hero p {
    max-width: 650px;
    color: #526779;
    font-size: 18px;
    line-height: 1.75;
}

.agent-site__hero-copy {
    max-width: 650px;
    color: #526779;
    font-size: clamp(16px, 1.5vw, 19px);
    line-height: 1.8;
}

.agent-site__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.agent-site__button {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 24px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--agent-blue), var(--agent-accent));
    color: #fff !important;
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 8px 24px rgba(31, 95, 145, .25);
    transition: transform .22s cubic-bezier(.22, 1, .36, 1), box-shadow .22s ease, filter .22s ease;
}

.agent-site__button:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(31, 95, 145, .32);
    filter: brightness(1.05);
}

.agent-site__button--light {
    background: rgba(255, 255, 255, .7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--agent-ink) !important;
    border: 1px solid rgba(216, 226, 236, .8);
    box-shadow: 0 4px 16px rgba(23, 50, 77, .04);
}

.agent-site__button--light:hover {
    background: rgba(255, 255, 255, .95);
    color: var(--agent-blue) !important;
    border-color: var(--agent-blue);
    box-shadow: 0 8px 24px rgba(31, 95, 145, .12);
}

.agent-site__logo {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

/* Hero art */
.agent-site__hero-art {
    position: relative;
    display: grid;
    min-height: 300px;
    place-items: center;
}

.agent-site__hero-orbit {
    position: absolute;
    border: 1px solid rgba(31, 95, 145, .15);
    border-radius: 50%;
}

.agent-site__hero-orbit--outer {
    width: 280px;
    height: 280px;
    box-shadow: 0 0 0 24px rgba(31, 95, 145, .03), 0 0 0 54px rgba(31, 95, 145, .02);
}

.agent-site__hero-orbit--inner {
    width: 190px;
    height: 190px;
    border-style: dashed;
}

.agent-site__hero-icon {
    position: relative;
    z-index: 1;
    display: grid;
    width: 126px;
    height: 126px;
    place-items: center;
    border-radius: 34px;
    background: linear-gradient(145deg, #fff, #e5f1ee);
    color: var(--agent-primary, #1f5f91);
    font-size: 52px;
    box-shadow: 0 22px 55px rgba(23, 50, 77, .15), inset 0 1px 2px rgba(255, 255, 255, .8);
    transform: rotate(-7deg);
}

.agent-site__hero-float {
    position: absolute;
    z-index: 2;
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border: 1px solid rgba(228, 237, 242, .8);
    border-radius: 16px;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--agent-primary, #1f5f91);
    font-size: 20px;
    box-shadow: 0 12px 30px rgba(23, 50, 77, .1);
}

.agent-site__hero-float--one {
    top: 38px;
    right: 18%;
    transform: rotate(8deg);
}

.agent-site__hero-float--two {
    bottom: 36px;
    left: 17%;
    transform: rotate(-9deg);
}

/* Scroll cue */
.agent-site__scroll-cue {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: #8495a3;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    z-index: 2;
}

.agent-site__scroll-cue::after {
    content: '';
    width: 1px;
    height: 34px;
    background: linear-gradient(to bottom, var(--agent-primary, #1f5f91), transparent);
    animation: agentScrollLine 2s ease-in-out infinite;
}

/* Trust bar */
.agent-site__trust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px;
    margin-top: 32px;
    padding: 20px 24px;
    border-top: 1px solid rgba(31, 95, 145, .1);
    border-radius: 14px;
    background: rgba(255, 255, 255, .45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.agent-site__trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #526779;
    font-family: 'Cairo', sans-serif;
    font-size: 13px;
    font-weight: 600;
}

.agent-site__trust-item i {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 9px;
    background: linear-gradient(135deg, rgba(31, 95, 145, .1), rgba(45, 156, 219, .08));
    color: var(--agent-primary, #1f5f91);
    font-size: 14px;
}

/* ===== Stats ===== */
.agent-site__stats {
    position: relative;
    z-index: 1;
    margin-top: -28px;
}

.agent-site__stat {
    position: relative;
    height: 100%;
    padding: 24px 25px 22px;
    border: 1px solid rgba(229, 237, 242, .8);
    border-radius: 14px;
    background: linear-gradient(145deg, #ffffff, #f8fbfd);
    box-shadow: var(--agent-shadow-sm);
    overflow: hidden;
    transition: transform .25s cubic-bezier(.22, 1, .36, 1), box-shadow .25s ease;
}

.agent-site__stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--agent-blue), var(--agent-accent));
    opacity: 0;
    transition: opacity .25s ease;
}

.agent-site__stat:hover {
    transform: translateY(-5px);
    box-shadow: var(--agent-shadow-md);
}

.agent-site__stat:hover::before {
    opacity: 1;
}

.agent-site__stat strong {
    display: block;
    color: var(--agent-blue);
    font-family: 'Raleway', sans-serif;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.03em;
}

.agent-site__stat span {
    display: block;
    margin-top: 6px;
    color: #697c8d;
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
}

.agent-site__stat-icon {
    position: absolute;
    top: 22px;
    right: 22px;
    display: grid !important;
    width: 42px;
    height: 42px;
    place-items: center;
    margin: 0 !important;
    border-radius: 13px;
    background: linear-gradient(135deg, rgba(31, 95, 145, .12), rgba(45, 156, 219, .08));
    color: var(--agent-primary, #1f5f91) !important;
    font-size: 17px !important;
}

/* ===== Sections ===== */
.agent-site__section {
    padding: 76px 0;
}

.agent-site__section--soft {
    background:
        radial-gradient(ellipse 60% 50% at 50% 0%, rgba(31, 95, 145, .04), transparent 70%),
        linear-gradient(180deg, #f7fafc 0%, #f0f6fa 100%);
}

.agent-site__heading {
    margin: 0 0 10px;
    color: var(--agent-ink);
    font-family: 'Raleway', sans-serif;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 600;
    letter-spacing: -.01em;
}

.agent-site__lead {
    max-width: 680px;
    color: #687c8d;
    font-family: 'Cairo', sans-serif;
    line-height: 1.75;
}

/* ===== Search ===== */
.agent-site__search-wrap {
    position: relative;
    width: min(100%, 360px);
}

.agent-site__search-wrap>i {
    position: absolute;
    top: 50%;
    left: 16px;
    z-index: 1;
    color: #8495a3;
    transform: translateY(-50%);
}

.agent-site__search {
    width: 100%;
    max-width: none;
    min-height: 50px;
    padding: 12px 16px 12px 44px;
    border: 1px solid #dce6ec;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(23, 50, 77, .04);
    font-family: 'Cairo', sans-serif;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.agent-site__search:focus {
    border-color: var(--agent-blue);
    box-shadow: 0 0 0 4px rgba(31, 95, 145, .1), 0 5px 18px rgba(23, 50, 77, .04);
    outline: none;
}

/* ===== Filter Pills ===== */
.agent-site__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.agent-site__filter {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    border: 1px solid #dce6ec;
    border-radius: 30px;
    background: #fff;
    color: #526779;
    font-family: 'Cairo', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all .22s ease;
}

.agent-site__filter:hover {
    border-color: var(--agent-primary, #1f5f91);
    color: var(--agent-primary, #1f5f91);
    transform: translateY(-1px);
}

.agent-site__filter.is-active {
    background: linear-gradient(135deg, var(--agent-primary, #1f5f91), var(--agent-accent));
    border-color: var(--agent-primary, #1f5f91);
    color: #fff;
    box-shadow: 0 6px 20px rgba(31, 95, 145, .25);
}

.agent-site__filter-count {
    display: inline-grid;
    min-width: 20px;
    height: 20px;
    place-items: center;
    padding: 0 5px;
    border-radius: 10px;
    background: rgba(31, 95, 145, .1);
    color: var(--agent-primary, #1f5f91);
    font-size: 11px;
    font-weight: 700;
}

.agent-site__filter.is-active .agent-site__filter-count {
    background: rgba(255, 255, 255, .25);
    color: #fff;
}

/* ===== Network Groups ===== */
.agent-site__network-group {
    margin-top: 15px;
    scroll-margin-top: 100px;
}

.agent-site__network-group--colleges {
    padding-top: 58px;
    border-top: 1px solid #e8eef2;
}

.agent-site__group-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 12px 24px;
    margin-bottom: 22px;
}

.agent-site__group-heading h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 6px 0 0;
    color: var(--agent-secondary, #17324d);
    font-family: 'Raleway', sans-serif;
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 600;
}

.agent-site__group-heading h3 span {
    display: inline-grid;
    min-width: 30px;
    height: 30px;
    place-items: center;
    padding: 0 8px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(31, 95, 145, .12), rgba(45, 156, 219, .08));
    color: var(--agent-primary, #1f5f91);
    font-size: 13px;
}

.agent-site__group-heading p {
    max-width: 440px;
    margin: 0;
    color: #718393;
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
}

.agent-site__group-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--agent-primary, #1f5f91);
    font-family: 'Cairo', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.agent-site__group-kicker::before {
    content: '';
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--agent-primary, #1f5f91), var(--agent-accent));
}

.agent-site__network-group[hidden] {
    display: none !important;
}

/* ===== University Cards ===== */
.agent-site__directory-card {
    display: flex;
    flex-direction: column;
    min-height: 205px;
}

.agent-site__university {
    height: 100%;
    padding: 25px;
    border: 1px solid rgba(227, 235, 241, .8);
    border-radius: 14px;
    background: linear-gradient(145deg, #ffffff, #fbfcfd);
    position: relative;
    overflow: hidden;
    transition: transform .25s cubic-bezier(.22, 1, .36, 1), box-shadow .25s ease;
}

.agent-site__university::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--agent-blue), var(--agent-accent));
    opacity: 0;
    transition: opacity .25s ease;
}

.agent-site__university:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(31, 95, 145, .1), 0 4px 12px rgba(31, 95, 145, .06);
}

.agent-site__university:hover::before {
    opacity: 1;
}

.agent-site__university-head {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.agent-site__university-mark {
    display: grid;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(31, 95, 145, .12), rgba(45, 156, 219, .08));
    color: var(--agent-primary, #1f5f91);
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(31, 95, 145, .08);
}

.agent-site__university-head h3 {
    margin-top: 2px;
}

.agent-site__university-head h4 {
    margin: 2px 0 7px;
    color: var(--agent-secondary, #17324d);
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

.agent-site__university-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 18px;
    margin: 17px 0 2px;
    padding: 12px 0;
    border-top: 1px solid #edf1f4;
    border-bottom: 1px solid #edf1f4;
    color: #718393;
    font-family: 'Cairo', sans-serif;
    font-size: 12px;
    font-weight: 700;
}

.agent-site__university-summary i {
    color: var(--agent-primary, #1f5f91);
}

.agent-site__place {
    color: #748697;
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
}

.agent-site__card-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 16px;
    color: var(--agent-primary, #1f5f91);
    font-family: 'Cairo', sans-serif;
    font-size: 13px;
    font-weight: 600;
}

.agent-site__card-link i {
    transition: transform .22s ease;
}

.agent-site__card-link:hover i {
    transform: translateX(4px);
}

/* ===== College Cards ===== */
.agent-site__college-card {
    height: 100%;
    padding: 23px;
    border: 1px solid rgba(227, 235, 241, .8);
    border-radius: 14px;
    background: linear-gradient(145deg, #ffffff, #fbfcfd);
    position: relative;
    overflow: hidden;
    transition: transform .25s cubic-bezier(.22, 1, .36, 1), box-shadow .25s ease;
}

.agent-site__college-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--agent-blue), var(--agent-accent));
    opacity: 0;
    transition: opacity .25s ease;
}

.agent-site__college-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(31, 95, 145, .1), 0 4px 12px rgba(31, 95, 145, .06);
}

.agent-site__college-card:hover::before {
    opacity: 1;
}

.agent-site__college-label {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--agent-primary, #1f5f91);
    font-family: 'Cairo', sans-serif;
    font-size: 12px;
    font-weight: 750;
}

.agent-site__college-card h4 {
    margin: 0 0 9px;
    color: var(--agent-secondary, #17324d);
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

.agent-site__college-card-footer {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #edf1f4;
}

.agent-site__course-count {
    display: block;
    margin-bottom: 10px;
    color: #718393;
    font-family: 'Cairo', sans-serif;
    font-size: 12px;
    font-weight: 750;
}

.agent-site__course-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.agent-site__course {
    padding: 5px 11px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(240, 245, 248, .8), rgba(234, 243, 243, .6));
    color: #50677a;
    font-family: 'Cairo', sans-serif;
    font-size: 12px;
    line-height: 1.5;
    transition: background .2s ease, color .2s ease;
}

.agent-site__course:hover {
    background: linear-gradient(135deg, rgba(31, 95, 145, .1), rgba(45, 156, 219, .06));
    color: var(--agent-blue);
}

/* ===== Contact ===== */
.agent-site__contact-card {
    height: 100%;
    padding: 26px;
    border-radius: 14px;
    background: linear-gradient(145deg, #ffffff, #fbfcfd);
    border: 1px solid rgba(227, 235, 241, .8);
    position: relative;
    overflow: hidden;
    transition: transform .22s cubic-bezier(.22, 1, .36, 1), box-shadow .22s ease;
}

.agent-site__contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--agent-blue), var(--agent-accent));
    opacity: 0;
    transition: opacity .25s ease;
}

.agent-site__contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--agent-shadow-md);
}

.agent-site__contact-card:hover::before {
    opacity: 1;
}

.agent-site__contact-icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 13px;
    background: linear-gradient(135deg, rgba(31, 95, 145, .12), rgba(45, 156, 219, .08));
    color: var(--agent-primary, #1f5f91);
    font-size: 20px;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(31, 95, 145, .08);
}

.agent-site__contact-card h3 {
    margin: 13px 0 7px;
    font-family: 'Raleway', sans-serif;
    font-size: 17px;
    font-weight: 700;
}

.agent-site__contact-card p,
.agent-site__contact-card a {
    margin: 0;
    color: #687c8d;
    font-family: 'Cairo', sans-serif;
    overflow-wrap: anywhere;
}

.agent-site__contact-note {
    margin-top: 28px;
    padding: 18px 24px;
    border-radius: 14px;
    background: rgba(31, 95, 145, .05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(31, 95, 145, .08);
    color: #526779;
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.agent-site__contact-note i {
    color: var(--agent-primary, #1f5f91);
    font-size: 18px;
    flex-shrink: 0;
}

/* ===== Empty State ===== */
.agent-site__empty {
    padding: 28px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(227, 235, 241, .6);
    color: #687c8d;
    font-family: 'Cairo', sans-serif;
}

.agent-site [hidden] {
    display: none !important;
}

/* ===== Show More (about content) ===== */
.agent-site .rbt-has-show-more .rbt-has-show-more-inner-content {
    max-height: 350px;
}

.rbt-catagories-scroll-area .rbt-scroll-animation:hover,
.rbt-catagories-scroll-area .rbt-scroll-animation:focus-within {
    animation-play-state: paused;
}

/* ===== Achievement Meta ===== */
.rbt-achievement-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #f0f2f5;
}

.rbt-ach-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    color: #555;
    white-space: nowrap;
}

.rbt-ach-meta-item i {
    font-size: 11px;
    color: #183b5e;
    opacity: .7;
}

.rbt-ach-meta-date {
    color: #888;
    font-weight: 500;
}

.rbt-ach-meta-date i {
    color: #888;
}

/* ===== Hero Entrance Animations ===== */
.agent-site__hero-content {
    animation: agentFadeUp .7s cubic-bezier(.22, 1, .36, 1) both;
}

.agent-site__hero-art {
    animation: agentFadeIn 1s ease .35s both;
}

.agent-site__hero-orbit--outer {
    animation: agentSpin 30s linear infinite;
}

.agent-site__hero-orbit--inner {
    animation: agentSpinReverse 24s linear infinite;
}

.agent-site__hero-float--one {
    animation: agentFloat1 4.5s ease-in-out infinite;
}

.agent-site__hero-float--two {
    animation: agentFloat2 5.5s ease-in-out infinite .6s;
}

.agent-site__hero-icon {
    animation: agentIconFloat 6s ease-in-out infinite;
}

/* ===== Scroll Reveal ===== */
.agent-site__reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .6s cubic-bezier(.22, 1, .36, 1), transform .6s cubic-bezier(.22, 1, .36, 1);
}

.agent-site__reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Keyframes ===== */
@keyframes agentFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes agentFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes agentSpin {
    from {
        transform: rotate(0);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes agentSpinReverse {
    from {
        transform: rotate(0);
    }

    to {
        transform: rotate(-360deg);
    }
}

@keyframes agentFloat1 {

    0%,
    100% {
        transform: translateY(0) rotate(8deg);
    }

    50% {
        transform: translateY(-14px) rotate(8deg);
    }
}

@keyframes agentFloat2 {

    0%,
    100% {
        transform: translateY(0) rotate(-9deg);
    }

    50% {
        transform: translateY(-14px) rotate(-9deg);
    }
}

@keyframes agentIconFloat {

    0%,
    100% {
        transform: rotate(-7deg) translateY(0);
    }

    50% {
        transform: rotate(-7deg) translateY(-10px);
    }
}

@keyframes agentScrollLine {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    51% {
        transform: scaleY(1);
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

@keyframes agentBlobFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(20px, -15px) scale(1.05);
    }

    66% {
        transform: translate(-15px, 10px) scale(.97);
    }
}

/* ===== Responsive ===== */
.agent-site .rbt-single-key-feature-card .rbt-content {
    padding: 24px !important;
}

.agent-site .rbt-single-key-feature-card .rbt-content .rbt-title {
    margin: 4px 0 18px;
    background: none !important;
    color: #171717 !important;
    -webkit-text-fill-color: #171717 !important;
}

.agent-site .agent-site__group-heading h3,
.agent-site .agent-site__group-heading h3 span,
.agent-site .agent-site__group-kicker {
    color: #171717 !important;
}

.agent-site .agent-site__group-heading h3 span {
    background: #f1f3f5;
}

.agent-site .agent-site__group-kicker::before {
    background: #171717;
}

.agent-site .rbt-single-key-feature-card .rbt-key-feature-list {
    gap: 8px !important;
    margin-bottom: 16px !important;
}

.agent-site .rbt-single-key-feature-card .rbt-key-feature-list li {
    padding: 6px 11px !important;
    background: rgba(255, 255, 255, 0.78) !important;
    color: #202020 !important;
}

.agent-site .rbt-single-key-feature-card .rbt-key-feature-list li i {
    color: #202020 !important;
}

.agent-site .rbt-single-key-feature-card .rbt-key-feature-list li a {
    color: #202020 !important;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.agent-site .agent-college-courses {
    margin-top: 8px;
}

.agent-site .agent-college-courses__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 2px;
}

.agent-site .agent-college-courses__item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
    min-height: 62px;
    padding: 11px 12px;
    border: 1px solid rgba(20, 30, 40, 0.12);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.88);
    color: #202020;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
}

.agent-site .agent-college-courses__item i {
    flex: 0 0 auto;
    margin-top: 2px;
    color: #202020;
}

.agent-site .agent-college-courses__empty {
    margin: 12px 0 0;
    color: #3d3d3d;
    font-size: 14px;
}

.agent-contact-section {
    background: #f5f6f7;
}

.agent-contact-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
    gap: clamp(32px, 6vw, 76px);
    align-items: center;
    max-width: 1120px;
    margin: 0 auto;
    padding: clamp(28px, 5vw, 58px);
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(17, 24, 39, .07);
}

.agent-contact-panel__eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: #4b5563;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.agent-contact-panel__intro h2 {
    max-width: 620px;
    margin: 0 0 16px;
    color: #111827;
    font-family: 'Raleway', sans-serif;
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 700;
    line-height: 1.16;
    letter-spacing: -.025em;
}

.agent-contact-panel__intro p {
    max-width: 620px;
    margin: 0;
    color: #596273;
    font-size: 16px;
    line-height: 1.75;
}

.agent-contact-panel__support {
    padding-left: clamp(0px, 3vw, 38px);
    border-left: 1px solid #e5e7eb;
}

.agent-contact-panel__support h3 {
    margin: 0 0 18px;
    color: #111827;
    font-size: 20px;
    font-weight: 700;
}

.agent-contact-panel__help-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.agent-contact-panel__help-list li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    color: #374151;
    font-size: 15px;
    line-height: 1.5;
}

.agent-contact-panel__help-list li i {
    display: grid;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    place-items: center;
    border-radius: 50%;
    background: #f1f3f5;
    color: #111827;
    font-size: 11px;
}

.agent-contact-panel__contacts {
    display: grid;
    gap: 9px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #e5e7eb;
}

.agent-contact-panel__contacts>a,
.agent-contact-panel__contacts>div {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    color: #202632;
    font-size: 14px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.agent-contact-panel__contacts>a:hover {
    color: #111827;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.agent-contact-panel__contacts>a>i,
.agent-contact-panel__contacts>div>i {
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    place-items: center;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    color: #202632;
}

.agent-contact-panel__contacts span {
    display: grid;
    min-width: 0;
}

.agent-contact-panel__contacts small {
    color: #737b89;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

@media (max-width: 767.98px) {
    .agent-contact-panel {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .agent-contact-panel__support {
        padding: 24px 0 0;
        border-top: 1px solid #e5e7eb;
        border-left: 0;
    }
}

@media (max-width: 575.98px) {
    .agent-site__scroll-cue {
        display: none;
    }

    .agent-site__trust {
        gap: 14px;
        padding: 16px 18px;
    }

    .agent-site__stats {
        margin-top: -20px;
    }

    .agent-site__stat {
        padding: 19px 20px;
    }

    .agent-site__stat strong {
        font-size: 29px;
    }

    .agent-site__section {
        padding: 58px 0;
    }

    .agent-site__university {
        padding: 20px;
    }

    .agent-site__university-mark {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 767.98px) {
    .agent-site__network-group {
        margin-top: 30px;
    }

    .agent-site__network-group--colleges {
        margin-top: 48px;
        padding-top: 40px;
    }

    .agent-site__group-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* ===== Accessibility ===== */
@media (prefers-reduced-motion: reduce) {

    .agent-site__hero-content,
    .agent-site__hero-art,
    .agent-site__hero-orbit--outer,
    .agent-site__hero-orbit--inner,
    .agent-site__hero-float--one,
    .agent-site__hero-float--two,
    .agent-site__hero-icon,
    .agent-site__scroll-cue::after,
    .agent-site__hero-blob {
        animation: none !important;
    }

    .agent-site__reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .agent-site__button,
    .agent-site__contact-card,
    .agent-site__university,
    .agent-site__college-card,
    .agent-site__stat,
    .agent-site__filter {
        transition: none !important;
    }

    .agent-site__button:hover,
    .agent-site__contact-card:hover,
    .agent-site__university:hover,
    .agent-site__college-card:hover,
    .agent-site__stat:hover,
    .agent-site__filter:hover {
        transform: none !important;
    }
}

.agent-contact-panel__help-list ul,
.agent-contact-panel__help-list ol {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none
}

.agent-contact-panel__help-list li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    color: #374151;
    font-size: 15px;
    line-height: 1.5
}

.agent-contact-panel__help-list li::before {
    display: grid;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    place-items: center;
    border-radius: 50%;
    background: #f1f3f5;
    color: #111827;
    content: "✓";
    font-size: 12px;
    font-weight: 700
}

.agent-contact-panel__help-list .ql-ui {
    display: none
}

.agent-contact-panel__help-list p {
    margin: 0 0 10px;
    color: #374151;
    font-size: 15px;
    line-height: 1.5
}

.agent-contact-panel__help-list a {
    color: inherit;
    text-decoration: underline
}

.agent-homepage-section-description ul,
.agent-homepage-section-description ol {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 0 0 1rem;
    padding: 0;
    list-style: none
}

.agent-homepage-section-description li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 4px 16px;
    border: 1px solid currentColor;
    border-radius: 60px;
    background: rgba(255, 255, 255, .06);
    color: inherit;
    font-size: 16px;
    line-height: 1.5
}

.agent-homepage-section-description li::before {
    content: "✓";
    color: inherit;
    font-size: 16px;
    font-weight: 700
}

.agent-homepage-section-description .ql-ui {
    display: none
}

.agent-homepage-section-description p {
    margin: 0 0 1rem;
    line-height: 1.65
}

.agent-homepage-section-description a {
    color: inherit;
    text-decoration: underline
}

.agent-homepage-card-section,
.agent-homepage-text-section {
    padding: 64px 0
}

.agent-homepage-card-section {
    background: #f7f9fc
}

.agent-homepage-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 16px 44px rgba(15, 23, 42, .1)
}

.agent-homepage-card__image {
    min-height: 320px
}

.agent-homepage-card__image img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover
}

.agent-homepage-card__content {
    align-self: center;
    padding: clamp(24px, 5vw, 56px)
}

.agent-homepage-card__heading {
    display: block;
    margin-top: 8px;
    font-size: .72em;
    line-height: 1.25
}

.agent-homepage-text-section__content {
    max-width: 880px;
    margin: 0 auto;
    text-align: center
}

.agent-homepage-text-section__content .agent-homepage-section-description {
    text-align: left
}

.agent-homepage-text-section .agent-homepage-section-description ul,
.agent-homepage-text-section .agent-homepage-section-description ol {
    justify-content: center
}

.agent-homepage-text-section .agent-homepage-section-description li {
    border-color: rgba(30, 107, 82, .35);
    background: rgba(30, 107, 82, .04)
}

@media(max-width:767px) {

    .agent-homepage-card-section,
    .agent-homepage-text-section {
        padding: 40px 0
    }

    .agent-homepage-card {
        grid-template-columns: 1fr
    }

    .agent-homepage-card__image,
    .agent-homepage-card__image img {
        min-height: 220px;
        max-height: 320px
    }
}

.agent-homepage-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    padding-top: 56px;
    padding-bottom: 56px
}

.agent-homepage-card-section {
    min-width: 0;
    padding: 0;
    background: transparent
}

.agent-homepage-card {
    display: flex;
    height: 100%;
    flex-direction: column
}

.agent-homepage-card__image,
.agent-homepage-card__image img {
    width: 100%;
    height: 220px;
    min-height: 220px;
    max-height: 220px
}

.agent-homepage-card__content {
    width: 100%;
    padding: 28px;
    color: #111
}

.agent-homepage-card__content .rbt-title,
.agent-homepage-card__content .subtitle,
.agent-homepage-card__content .agent-homepage-section-description {
    color: #111
}

.agent-homepage-card__content .agent-homepage-section-description li {
    color: #111;
    border-color: rgba(17, 17, 17, .35);
    background: rgba(17, 17, 17, .03)
}

@media(max-width:767px) {
    .agent-homepage-card-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        padding-top: 36px;
        padding-bottom: 36px
    }

    .agent-homepage-card__image,
    .agent-homepage-card__image img {
        height: 200px;
        min-height: 200px;
        max-height: 200px
    }

    .agent-homepage-card__content {
        padding: 24px
    }
}

.agent-homepage-text-section {
    color: #111;
    background: #fdf2f8
}

.agent-homepage-text-section--1 {
    background: #fdf2f8
}

.agent-homepage-text-section--2 {
    background: #eff6ff
}

.agent-homepage-text-section--3 {
    background: #ecfdf5
}

.agent-homepage-text-section--4 {
    background: #fffbeb
}

.agent-homepage-text-section__content,
.agent-homepage-text-section__content .rbt-title,
.agent-homepage-text-section__content .subtitle,
.agent-homepage-text-section__content .agent-homepage-section-description,
.agent-homepage-text-section__content .agent-homepage-section-description li {
    color: #111
}

.agent-homepage-text-section__content .agent-homepage-section-description li {
    border-color: rgba(17, 17, 17, .35);
    background: rgba(255, 255, 255, .45)
}

.agent-dynamic-page__hero {
    padding: 35px 0 1px;
    background: linear-gradient(135deg, var(--agent-primary, #1f5f91), var(--agent-secondary, #17324d));
    color: #fff
}

.agent-dynamic-page__hero h1 {
    margin: 0;
    color: #fff;
    font-size: 70px;
}

.agent-dynamic-page__eyebrow {
    margin: 0 0 12px;
    color: rgba(255, 255, 255, .8);
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase
}

.agent-dynamic-page__content {
    padding: 56px 0 80px
}

.agent-dynamic-page__rich-content {
    margin: 0 auto 32px;
    line-height: 1.75
}

.agent-dynamic-page__gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px
}

.agent-dynamic-page__gallery figure {
    overflow: hidden;
    margin: 0;
    border-radius: 14px;
    background: #f8fafc;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .1)
}

.agent-dynamic-page__gallery img {
    display: block;
    width: 100%;
    height: 240px;
    object-fit: cover
}

.agent-dynamic-page__gallery figcaption {
    padding: 12px 16px;
    font-weight: 600
}

.agent-dynamic-page__contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px
}

.agent-dynamic-page__contact-grid>* {
    padding: 20px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .08);
    color: #111;
    text-decoration: none
}

.agent-dynamic-page__contact-grid small {
    display: block;
    margin-bottom: 6px;
    color: #64748b;
    text-transform: uppercase
}

.agent-dynamic-page__contact-grid a:hover {
    border-color: var(--agent-primary, #1f5f91)
}

@media(max-width:767px) {
    .agent-dynamic-page__hero {
        padding: 64px 0 44px
    }

    .agent-dynamic-page__content {
        padding: 36px 0 56px
    }

    .agent-dynamic-page__gallery,
    .agent-dynamic-page__contact-grid {
        grid-template-columns: 1fr
    }

    .agent-dynamic-page__gallery img {
        height: 220px
    }
}

.agent-gallery-tabs__nav {
    display: flex;
    gap: 10px;
    margin: 0 0 24px;
    border-bottom: 1px solid #e2e8f0
}

.agent-gallery-tabs__nav button {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 18px;
    border: 0;
    border-bottom: 3px solid transparent;
    background: transparent;
    color: #475569;
    font: inherit;
    font-weight: 700;
    cursor: pointer
}

.agent-gallery-tabs__nav button.is-active {
    border-bottom-color: var(--agent-primary, #1f5f91);
    color: var(--agent-primary, #1f5f91)
}

.agent-gallery-tabs__nav button span {
    display: inline-grid;
    min-width: 24px;
    height: 24px;
    place-items: center;
    padding: 0 6px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #334155;
    font-size: 12px
}

.agent-gallery-tabs__panel[hidden] {
    display: none
}

.agent-gallery-tabs__panel figure {
    min-width: 0
}

.agent-gallery-tabs__panel iframe {
    border: 0;
    border-radius: 12px
}

.agent-page-breadcrumbs {
    margin: 0 0 28px
}

.agent-page-breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: rgba(255, 255, 255, .8);
    font-size: 14px
}

.agent-page-breadcrumbs li+li::before {
    content: "/";
    margin-right: 9px;
    color: rgba(255, 255, 255, .65)
}

.agent-page-breadcrumbs a {
    color: #fff;
    text-decoration: none
}

.agent-page-breadcrumbs a:hover {
    text-decoration: underline
}


.agent-what-we-do {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 20px 0 28px
}

.agent-what-we-do>h2 {
    grid-column: 1/-1;
    margin-bottom: 4px
}

.agent-what-we-do__card {
    height: 100%;
    padding: 20px 22px;
    border: 1px solid #e1e8ef;
    border-radius: 14px;
    background: #f8fafc;
    box-shadow: 0 6px 18px rgba(20, 34, 56, .045)
}

.agent-what-we-do__card h3,
.agent-what-we-do__card h4,
.agent-what-we-do__card h5,
.agent-what-we-do__card h6 {
    margin: 0 0 10px;
    color: #142238;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4
}

.agent-what-we-do__card p {
    margin: 0;
    color: #5c6878;
    font-size: 15px;
    line-height: 1.7
}

.agent-what-we-do__card p+p {
    margin-top: 10px
}

@media(max-width:700px) {
    .agent-what-we-do {
        grid-template-columns: 1fr;
        gap: 12px
    }

    .agent-what-we-do>h2 {
        grid-column: auto
    }
}

.agent-what-we-do>.agent-what-we-do__title {
    grid-column: 1/-1;
    margin: 0 0 6px;
    color: #142238;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3
}

.agent-what-we-do__card>.agent-what-we-do__card-title {
    margin: 0 0 10px;
    color: #142238;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4
}

@media(max-width:700px) {
    .agent-what-we-do>.agent-what-we-do__title {
        grid-column: auto;
        font-size: 24px
    }
}

.agent-hero-carousel {
    position: relative;
    overflow: hidden;
    min-height: 600px;
    background: #17324d;
    color: #fff
}

.agent-hero-carousel__slides {
    position: relative;
    min-height: 600px
}

.agent-hero-carousel__slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    min-height: 600px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: opacity .7s ease
}

.agent-hero-carousel__slide.is-active {
    position: relative;
    opacity: 1;
    visibility: visible
}

.agent-hero-carousel__image,
.agent-hero-carousel__shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%
}

.agent-hero-carousel__image {
    object-fit: cover
}

.agent-hero-carousel__shade {
    background: linear-gradient(90deg, rgba(8, 24, 42, .82), rgba(8, 24, 42, .48) 52%, rgba(8, 24, 42, .12))
}

.agent-hero-carousel__inner {
    position: relative;
    z-index: 1;
    padding-top: 90px;
    padding-bottom: 100px
}

.agent-hero-carousel__inner h1,
.agent-hero-carousel__inner h2 {
    max-width: 760px;
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(42px, 6vw, 76px);
    line-height: 1.08
}

.agent-hero-carousel__eyebrow {
    margin: 0 0 14px;
    color: rgba(255, 255, 255, .88);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase
}

.agent-hero-carousel__description {
    max-width: 650px;
    margin: 0 0 24px;
    color: rgba(255, 255, 255, .92);
    font-size: 18px;
    line-height: 1.65
}

.agent-hero-carousel__button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 13px 22px;
    border: 1px solid rgba(255, 255, 255, .85);
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
    font-weight: 700
}

.agent-hero-carousel__button:hover {
    border-color: var(--color-primary, var(--agent-primary, #1f5f91));
    background: var(--color-primary, var(--agent-primary, #1f5f91));
    color: #fff
}

.agent-hero-carousel__arrow {
    position: absolute;
    z-index: 2;
    top: 50%;
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 50%;
    background: rgba(10, 25, 40, .28);
    color: #fff;
    font-size: 32px;
    line-height: 1;
    transform: translateY(-50%);
    cursor: pointer
}

.agent-hero-carousel__arrow--prev {
    left: 24px
}

.agent-hero-carousel__arrow--next {
    right: 24px
}

.agent-hero-carousel__dots {
    position: absolute;
    z-index: 2;
    bottom: 28px;
    left: 50%;
    display: flex;
    gap: 9px;
    transform: translateX(-50%)
}

.agent-hero-carousel__dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .55);
    cursor: pointer
}

.agent-hero-carousel__dots button[aria-current="true"] {
    width: 28px;
    border-radius: 999px;
    background: var(--color-primary, var(--agent-primary, #1f5f91))
}

.agent-college-know-more {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 8px;
    padding: 10px 17px;
    border: 0;
    border-radius: 999px;
    background: var(--color-primary, var(--agent-primary, #1f5f91));
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer
}

.agent-college-know-more:hover {
    filter: brightness(.92)
}

.agent-college-modal .modal-content {
    overflow: hidden;
    border: 0;
    border-radius: 18px;
    box-shadow: 0 22px 70px rgba(15, 23, 42, .25);
    color: #172033
}

.agent-college-modal .modal-header {
    align-items: flex-start;
    padding: 22px 24px;
    border-bottom: 1px solid #e8edf3
}

.agent-college-modal .modal-title {
    font-size: 23px;
    font-weight: 700
}

.agent-college-modal__eyebrow {
    margin: 0 0 5px;
    color: #64748b;
    font-size: 13px;
    font-weight: 700
}

.agent-college-modal .modal-body {
    padding: 22px 24px
}

.agent-college-modal .modal-body h3 {
    margin: 0 0 14px;
    font-size: 16px;
    font-weight: 700
}

.agent-college-modal__courses {
    display: grid;
    gap: 10px
}

.agent-college-modal__course {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 12px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    color: #202a39;
    cursor: pointer
}

.agent-college-modal__course input {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    margin-top: 2px;
    accent-color: var(--color-primary, var(--agent-primary, #1f5f91))
}

.agent-college-modal__status {
    margin: 12px 0 0;
    color: #b42318;
    font-size: 14px
}

.agent-college-modal .modal-footer {
    justify-content: flex-start;
    padding: 16px 24px;
    border-top: 1px solid #e8edf3
}

.agent-college-modal__whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 18px;
    border: 0;
    border-radius: 999px;
    background: #168b49;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer
}

.agent-college-modal__whatsapp:hover {
    background: #11743c
}

.agent-college-modal__whatsapp:disabled {
    background: #94a3b8;
    cursor: not-allowed
}

@media(max-width:575px) {
    .agent-college-modal .modal-dialog {
        margin: 12px
    }

    .agent-college-modal .modal-header,
    .agent-college-modal .modal-body {
        padding: 18px
    }

    .agent-college-modal .modal-footer {
        padding: 14px 18px
    }
}

.agent-college-modal .modal-body .agent-college-modal__course>input[type="checkbox"] {
    position: static !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    width: 20px !important;
    height: 20px !important;
    flex: 0 0 20px !important;
    margin: 1px 0 0 !important;
    padding: 0 !important;
    border: 2px solid #64748b !important;
    border-radius: 4px !important;
    background: #fff !important;
    box-shadow: none !important;
    transform: none !important;
    cursor: pointer
}

.agent-college-modal .modal-body .agent-college-modal__course>input[type="checkbox"]:checked {
    border-color: var(--color-primary, var(--agent-primary, #1f5f91)) !important;
    background: var(--color-primary, var(--agent-primary, #1f5f91)) !important
}

.agent-college-modal .modal-body .agent-college-modal__course>input[type="checkbox"]:checked::after {
    display: block;
    width: 5px;
    height: 10px;
    margin: 1px 0 0 5px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    content: "";
    transform: rotate(45deg)
}

@media(max-width:767px) {

    .agent-hero-carousel,
    .agent-hero-carousel__slides,
    .agent-hero-carousel__slide {
        min-height: 470px
    }

    .agent-hero-carousel__inner {
        padding: 74px 42px
    }

    .agent-hero-carousel__description {
        font-size: 16px
    }

    .agent-hero-carousel__arrow {
        width: 36px;
        height: 36px;
        font-size: 26px
    }

    .agent-hero-carousel__arrow--prev {
        left: 10px
    }

    .agent-hero-carousel__arrow--next {
        right: 10px
    }
}

@media(prefers-reduced-motion:reduce) {
    .agent-hero-carousel__slide {
        transition: none
    }
}

.agent-course-category-section {
    padding: 76px 0;
    background: #f6f8fb
}

.agent-course-category-section__heading {
    margin: 0 0 34px;
    text-align: center
}

.agent-course-category-section__heading .subtitle {
    color: var(--color-primary, var(--agent-primary, #1f5f91))
}

.agent-course-category-section__heading h2 {
    margin: 8px 0 10px;
    color: #172033;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 700
}

.agent-course-category-section__heading p {
    margin: 0;
    color: #64748b
}

.agent-course-category-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px
}

.agent-course-category-card {
    overflow: hidden;
    border: 1px solid #e4eaf0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 26px rgba(15, 23, 42, .07);
    transition: transform .2s ease, box-shadow .2s ease
}

.agent-course-category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(15, 23, 42, .12)
}

.agent-course-category-card__link>img {
    display: block;
    width: 100%;
    height: 150px;
    object-fit: cover
}

.agent-course-category-card__body {
    padding: 16px 18px 18px
}

.agent-course-category-card__body h3 {
    margin: 0 0 6px;
    color: #172033;
    font-size: 18px;
    font-weight: 700
}

.agent-course-category-card__body p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.5
}

@media(max-width:1199px) {
    .agent-course-category-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr))
    }
}

@media(max-width:991px) {
    .agent-course-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr))
    }
}

@media(max-width:700px) {
    .agent-course-category-section {
        padding: 50px 0
    }

    .agent-course-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px
    }

    .agent-course-category-card__link>img {
        height: 125px
    }

    .agent-course-category-card__body {
        padding: 14px
    }

    .agent-course-category-card__body h3 {
        font-size: 16px
    }
}

@media(max-width:390px) {
    .agent-course-category-grid {
        grid-template-columns: 1fr
    }
}

.agent-course-category-card__description {
    color: #64748b;
    font-size: 14px;
    line-height: 1.55
}

.agent-course-category-card__description p {
    margin: 0 0 8px;
    color: inherit;
    font: inherit;
    line-height: inherit
}

.agent-course-category-card__description p:last-child {
    margin-bottom: 0
}

.agent-course-category-card__description h1,
.agent-course-category-card__description h2,
.agent-course-category-card__description h3,
.agent-course-category-card__description h4,
.agent-course-category-card__description h5,
.agent-course-category-card__description h6 {
    margin: 0 0 8px;
    color: #172033;
    font-size: 1em;
    font-weight: 700;
    line-height: 1.35
}

.agent-course-category-card__description ul,
.agent-course-category-card__description ol {
    margin: 0 0 8px;
    padding-left: 20px
}

.agent-course-category-card__description a {
    color: var(--color-primary, var(--agent-primary, #1f5f91));
    text-decoration: underline
}

.agent-course-category-card__link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none
}

.agent-course-category-card__link:hover {
    color: inherit
}

.agent-course-category-detail__intro {
    padding: 72px 0;
    background: #f5f7fa
}

.agent-course-category-detail__intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .85fr);
    gap: 48px;
    align-items: center
}

.agent-course-category-detail__eyebrow {
    margin: 0 0 12px;
    color: var(--color-primary, var(--agent-primary, #1f5f91));
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase
}

.agent-course-category-detail__intro h1 {
    margin: 0 0 18px;
    color: #172033;
    font-size: clamp(38px, 5vw, 64px);
    font-weight: 700;
    line-height: 1.1
}

.agent-course-category-detail__description {
    color: #526173;
    font-size: 17px;
    line-height: 1.75
}

.agent-course-category-detail__description p {
    margin: 0 0 12px;
    color: inherit
}

.agent-course-category-detail__description h1,
.agent-course-category-detail__description h2,
.agent-course-category-detail__description h3,
.agent-course-category-detail__description h4,
.agent-course-category-detail__description h5,
.agent-course-category-detail__description h6 {
    margin: 0 0 12px;
    color: #172033
}

.agent-course-category-detail__intro figure {
    overflow: hidden;
    margin: 0;
    border-radius: 20px;
    background: #e8edf3;
    box-shadow: 0 18px 48px rgba(15, 23, 42, .12)
}

.agent-course-category-detail__intro figure img {
    display: block;
    width: 100%;
    height: 360px;
    object-fit: cover
}

.agent-course-category-detail__courses {
    padding: 68px 0 54px;
    background: #fff
}

.agent-course-category-detail__heading {
    margin: 0 0 30px;
    text-align: center
}

.agent-course-category-detail__heading .subtitle {
    color: var(--color-primary, var(--agent-primary, #1f5f91))
}

.agent-course-category-detail__heading h2 {
    margin: 8px 0;
    color: #172033;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 700
}

.agent-course-category-detail__heading p {
    margin: 0;
    color: #64748b
}

.agent-course-category-detail__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px
}

.agent-course-category-detail__card {
    padding: 22px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .06)
}

.agent-course-category-detail__college {
display: block;
  margin-bottom: 8px;
  color: #47494c;
  font-size: 15px;
  font-weight: 500;
}

.agent-course-category-detail__card h3 {
margin: 0 0 14px;
  color: #172033;
  font-size: 19px;
  font-weight: 600;
}

.agent-course-category-detail__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.agent-course-category-detail__meta span {
    padding: 5px 10px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #344054;
    font-size: 13px
}

.agent-course-category-detail__department {
    margin: 12px 0 0;
    color: #64748b;
    font-size: 14px
}

.agent-course-category-detail__empty {
    grid-column: 1/-1;
    padding: 38px 20px;
    text-align: center;
    color: #64748b
}

.agent-course-category-detail__empty i {
    font-size: 30px
}

.agent-course-category-detail__empty h3 {
    margin: 12px 0 6px;
    color: #172033
}

.agent-course-category-detail__empty p {
    margin: 0
}

.agent-course-category-detail__enquiry {
    margin-top: 28px;
    text-align: center
}

.agent-course-category-detail__enquiry a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 20px;
    border-radius: 999px;
    background: #168b49;
    color: #fff;
    text-decoration: none;
    font-weight: 700
}

.agent-course-category-detail__breadcrumbs {
    padding: 0 0 24px
}

.agent-course-category-detail__breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: #64748b;
    font-size: 14px
}

.agent-course-category-detail__breadcrumbs li+li::before {
    content: "/";
    margin-right: 9px;
    color: #94a3b8
}

.agent-course-category-detail__breadcrumbs a {
    color: var(--color-primary, var(--agent-primary, #1f5f91));
    text-decoration: none
}

.agent-course-category-detail__breadcrumbs a:hover {
    text-decoration: underline
}

 .agent-course-category-detail {
        --acd-ink: #14243a;
        --acd-muted: #617188;
        --acd-line: #e1e8f0;
        --acd-accent: #4f9c52;
        color: var(--acd-ink);
        background: #f7f9fc
    }



    .agent-course-category-detail__intro {
        padding: 28px 0 52px;
        background: radial-gradient(ellipse at 78% 14%, #e6f2e6 0, transparent 34%), linear-gradient(135deg, #fff 0%, #f2f6fb 100%);

    }

    .agent-course-category-detail__intro-grid {
        display: grid;
        grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
        align-items: center;
        gap: 52px
    }

    .agent-course-category-detail__eyebrow {
        margin: 0 0 12px;
        color: var(--acd-accent);
        font-size: 13px;
        font-weight: 400;
        text-transform: uppercase
    }

    .agent-course-category-detail__intro h1 {
        margin: 0;
        color: var(--acd-ink);
        font-size: 40px;
        font-weight: 500;
        line-height: 1.05
    }

    .agent-course-category-detail__description {
        max-width: 680px;
        margin-top: 20px;
        color: var(--acd-muted);
        font-size: 1.08rem;
        line-height: 1.8
    }

    .agent-course-category-detail__description p:last-child {
        margin-bottom: 0
    }


    .agent-course-category-detail__intro figure img {
        width: 100%;
        height: 100%;
        object-fit: cover
    }

    .agent-course-category-detail__courses {
        padding: 68px 0 76px
    }

    .agent-course-category-detail__heading {
        max-width: 720px;
        margin: 0 auto 34px;
        text-align: center
    }




    .agent-course-category-detail__heading p {
        margin: 10px 0 0;
        color: var(--acd-muted)
    }

    .agent-course-category-detail__grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px
    }

    .agent-course-category-detail__card {
        min-height: 150px;
        padding: 23px;
        border: 1px solid var(--acd-line);
        border-radius: 18px;
        background: #fff;
        box-shadow: 0 8px 24px #19345408;
        transition: transform .18s ease, box-shadow .18s ease
    }

    .agent-course-category-detail__card:hover {
        transform: translateY(-3px);
        box-shadow: 0 16px 34px #19345412
    }


 
  

    .agent-course-category-detail__meta {
        display: flex;
        flex-wrap: wrap;
        gap: 7px;
        margin-top: 14px
    }

    .agent-course-category-detail__meta span {
        padding: 5px 10px;
        border-radius: 999px;
        background: #f0f5f1;
        color: #416d45;
        font-size: .78rem;
        font-weight: 650
    }

    .agent-course-category-detail__department {
        margin: 12px 0 0;
        color: var(--acd-muted);
        font-size: .88rem
    }

    .agent-course-category-detail__empty {
        grid-column: 1/-1;
        padding: 42px 24px;
        border: 1px dashed #cbd7e3;
        border-radius: 18px;
        background: #fff;
        text-align: center;
        color: var(--acd-muted)
    }

    .agent-course-category-detail__empty h3 {
        margin: 12px 0 6px;
        color: var(--acd-ink)
    }

    .agent-course-category-detail__empty p {
        margin: 0
    }

    .agent-course-category-detail__requirements {
        max-width: 920px;
        margin: 48px auto 0;
        padding: 30px 34px;
        border-radius: 20px;
        background: linear-gradient(135deg, #f0f8f0, #fff 70%);
        box-shadow: 0 12px 32px #1934540a
    }

    .agent-course-category-detail__requirements h2 {
        display: flex;
        align-items: center;
        gap: 11px;
        margin: 0 0 18px;
        color: var(--acd-ink);
        font-size: 20px;
        font-weight: 600
    }

    .agent-course-category-detail__requirements h2:before {
        content: "✓";
        display: grid;
        width: 34px;
        height: 34px;
        place-items: center;
        border-radius: 11px;
        background: #e0f1e0;
        color: #438447;
        font-size: 1rem
    }

    .agent-course-category-detail__requirements>div {
        color: #47586d;
        line-height: 1.8
    }

    .agent-course-category-detail__requirements p:last-child {
        margin-bottom: 0
    }

    .agent-course-category-detail__requirements ul,
    .agent-course-category-detail__requirements ol {
        display: grid;
        gap: 9px;
        margin: 0;
        padding-left: 1.4rem
    }

    .agent-course-category-detail__requirements li {
        padding-left: 5px
    }

    .agent-course-category-detail__requirements li::marker {
        color: var(--acd-accent);
        font-weight: 700
    }

    .agent-course-category-detail__other-categories {
        margin: 60px 0 0;
        padding-top: 36px;
        border-top: 1px solid var(--acd-line)
    }

    .agent-course-category-detail__other-heading {
        margin-bottom: 20px
    }

   

    .agent-course-category-detail__category-links {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 12px
    }

    .agent-course-category-detail__category-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 16px 18px;
        border: 1px solid var(--acd-line);
        border-radius: 14px;
        background: #fff;
        color: var(--acd-ink);
        font-weight: 700;
        text-decoration: none;
        transition: border-color .18s ease, transform .18s ease
    }

    .agent-course-category-detail__category-link:hover {
        transform: translateY(-2px);
        border-color: #a9cba9;
        color: #3e8344
    }

    .agent-course-category-detail__category-link span:last-child {
        color: var(--acd-accent);
        font-size: 1.1rem
    }

    .agent-course-category-detail__enquiry {
        display: flex;
        justify-content: center;
        margin-top: 38px
    }

    .agent-course-category-detail__enquiry a {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 14px 23px;
        border-radius: 999px;
        background: #168b50;
        color: #fff;
        font-weight: 750;
        text-decoration: none;
        box-shadow: 0 8px 20px #168b5030;
        transition: transform .18s ease, background .18s ease
    }

    .agent-course-category-detail__enquiry a:hover {
        transform: translateY(-2px);
        background: #117541;
        color: #fff
    }

    @media(max-width:991px) {
        .agent-course-category-detail__intro-grid {
            gap: 32px
        }

        .agent-course-category-detail__grid {
            grid-template-columns: repeat(2, minmax(0, 1fr))
        }

        .agent-course-category-detail__category-links {
            grid-template-columns: repeat(2, minmax(0, 1fr))
        }
    }

    @media(max-width:767px) {
        .agent-course-category-detail__intro {
            padding: 20px 0 38px
        }

        .agent-course-category-detail__breadcrumbs ol {
            margin-bottom: 22px
        }

        .agent-course-category-detail__intro-grid {
            grid-template-columns: 1fr;
            gap: 24px
        }

        .agent-course-category-detail__intro figure {
            height: 240px
        }

        .agent-course-category-detail__courses {
            padding: 48px 0
        }

        .agent-course-category-detail__grid {
            grid-template-columns: 1fr
        }

        .agent-course-category-detail__requirements {
            margin-top: 34px;
            padding: 23px 20px
        }

        .agent-course-category-detail__category-links {
            grid-template-columns: 1fr
        }

        .agent-course-category-detail__other-categories {
            margin-top: 42px;
            padding-top: 28px
        }
    }

    @media(prefers-reduced-motion:reduce) {
        .agent-course-category-detail * {
            scroll-behavior: auto !important;
            transition: none !important
        }
    }

@media(max-width:900px) {
    .agent-course-category-detail__intro-grid {
        grid-template-columns: 1fr;
        gap: 28px
    }

    .agent-course-category-detail__intro figure img {
        height: 300px
    }

    .agent-course-category-detail__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media(max-width:600px) {
    .agent-course-category-detail__intro {
        padding: 48px 0
    }

    .agent-course-category-detail__intro figure img {
        height: 230px
    }

    .agent-course-category-detail__courses {
        padding: 48px 0 36px
    }

    .agent-course-category-detail__grid {
        grid-template-columns: 1fr
    }
}

.agent-home-popup[hidden] {
    display: none !important;
}

.agent-home-popup {
    position: fixed;
    inset: 0;
    z-index: 12000;
    display: grid;
    place-items: center;
    padding: 24px;
}

.agent-home-popup-open {
    overflow: hidden;
}

.agent-home-popup__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: rgba(13, 27, 42, .64);
    cursor: pointer;
    backdrop-filter: blur(3px);
}

.agent-home-popup__dialog {
    position: relative;
    z-index: 1;
    display: grid;
    width: min(820px, 100%);
    max-height: min(90vh, 760px);
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    overflow: auto;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 28px 90px rgba(0, 0, 0, .28);
    animation: agent-home-popup-enter .24s ease-out both;
}

.agent-home-popup__dialog--text-only {
    width: min(560px, 100%);
    grid-template-columns: 1fr;
}

.agent-home-popup__image {
    min-height: 320px;
    background: #f1f5f9;
}

.agent-home-popup__image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
}

.agent-home-popup__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(28px, 5vw, 52px);
}

.agent-home-popup__content h2 {
    margin: 0;
    color: var(--agent-secondary, #17324d);
    font-family: 'Raleway', sans-serif;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 700;
    line-height: 1.2;
}

.agent-home-popup__content p {
    margin: 16px 0 0;
    color: #617188;
    font-family: 'Cairo', sans-serif;
    line-height: 1.7;
    white-space: pre-line;
}

.agent-home-popup__button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    padding: 12px 18px;
    border-radius: 8px;
    background: var(--agent-primary, #1f5f91);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.agent-home-popup__button:hover {
    background: var(--agent-secondary, #17324d);
    color: #fff;
}

.agent-home-popup__contacts {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
    padding-top: 24px;
}

.agent-home-popup__contacts a {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 9px;
    color: #637386;
    font-family: 'Cairo', sans-serif;
    font-size: 12px;
    line-height: 1.45;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.agent-home-popup__contacts a:hover {
    color: var(--agent-primary, #1f5f91);
}

.agent-home-popup__contacts i {
    width: 15px;
    flex: 0 0 15px;
    color: var(--agent-primary, #1f5f91);
    text-align: center;
}

.agent-home-popup__close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .94);
    color: #263445;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .12);
    cursor: pointer;
}

@keyframes agent-home-popup-enter {
    from { opacity: 0; transform: translateY(12px) scale(.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@media(max-width:640px) {
    .agent-home-popup { padding: 14px; }
    .agent-home-popup__dialog { width: min(460px, 100%); max-height: 92vh; grid-template-columns: 1fr; }
    .agent-home-popup__image,.agent-home-popup__image img { min-height: 0; height: 210px; }
    .agent-home-popup__content { padding: 25px; }
}

@media(prefers-reduced-motion:reduce) {
    .agent-home-popup__dialog { animation: none; }
}

/* Pastel programme cards used on Agent course category pages. */
.agent-course-category-detail__card {
    position: relative;
    display: flex;
    min-height: 246px;
    flex-direction: column;
    align-items: flex-start;
    padding: 27px 28px 20px;
    overflow: hidden;
    border: 0;
    border-radius: 22px;
    box-shadow: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.agent-course-category-detail__card::before {
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: var(--course-card-accent, #69ad58);
    content: "";
}

.agent-course-category-detail__card:nth-child(3n+1) {
    --course-card-accent: #69ad58;
    background: #e3f1dc;
}

.agent-course-category-detail__card:nth-child(3n+2) {
    --course-card-accent: #f3a047;
    background: #ffead6;
}

.agent-course-category-detail__card:nth-child(3n) {
    --course-card-accent: #70a9d8;
    background: #deebf7;
}

.agent-course-category-detail__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(23, 50, 77, .1);
}

.agent-course-category-detail__college {
    margin: 0 0 4px;
    color: #12243a;
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
}

.agent-course-category-detail__card h3 {
    margin: 20px 0 0;
    color: #10243a;
    font-family: 'Raleway', sans-serif;
    font-size: clamp(19px, 1.55vw, 23px);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.25;
}

.agent-course-category-detail__meta span {
    background: rgba(255, 255, 255, .62);
    color: #263b50;
}

.agent-course-category-detail__card-action {
    width: 100%;
    margin-top: auto;
    padding-top: 19px;
}

.agent-course-category-detail__card-action a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    color: #10243a;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.agent-course-category-detail__card-arrow {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    font-size: 20px;
    line-height: 1;
    transition: transform .2s ease;
}

.agent-course-category-detail__card-action a:hover .agent-course-category-detail__card-arrow {
    transform: translateX(3px);
}

@media(max-width:767px) {
    .agent-course-category-detail__card {
        min-height: 220px;
        padding: 23px 23px 18px;
    }
}

/* Refined medical programme cards */
.agent-course-category-detail .agent-course-category-detail__card {
    min-height: 250px;
    padding: 26px 27px 20px;
    border: 1px solid #dce4ed;
    border-left: 4px solid var(--color-primary, var(--agent-primary, #16365c));
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(17, 39, 65, .065);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.agent-course-category-detail .agent-course-category-detail__card::before {
    display: none;
}

.agent-course-category-detail .agent-course-category-detail__card:nth-child(3n+1),
.agent-course-category-detail .agent-course-category-detail__card:nth-child(3n+2),
.agent-course-category-detail .agent-course-category-detail__card:nth-child(3n) {
    background: #fff;
}

.agent-course-category-detail .agent-course-category-detail__card:hover {
    transform: translateY(-3px);
    border-color: #c4d1df;
    box-shadow: 0 16px 34px rgba(17, 39, 65, .11);
}

.agent-course-category-detail .agent-course-category-detail__college {
    margin-bottom: 11px;
    color: #5b6c80;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .025em;
    line-height: 1.55;
}

.agent-course-category-detail .agent-course-category-detail__card h3 {
margin: 0;
  color: #142b47;
  font-family: 'Raleway', sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1.35;
}

.agent-course-category-detail .agent-course-category-detail__meta {
    gap: 7px;
    margin-top: 16px;
}

.agent-course-category-detail .agent-course-category-detail__meta span {
    padding: 5px 10px;
    border: 1px solid #e1e8f0;
    border-radius: 6px;
    background: #f5f7fa;
    color: #40546c;
    font-size: 12px;
    font-weight: 600;
}

.agent-course-category-detail .agent-course-category-detail__department {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #edf0f4;
    color: #69798b;
    font-size: 13px;
}

.agent-course-category-detail .agent-course-category-detail__card-action {
    padding-top: 18px;
}

.agent-course-category-detail .agent-course-category-detail__card-action a {
    color: #16365c;
}

.agent-course-category-detail .agent-course-category-detail__card-arrow {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    color:var(--agent-primary, #1f5f91);
    font-size: 18px;
}

.agent-course-category-detail .agent-course-category-detail__requirements {
    width: 100vw;
    max-width: none;
    margin: 58px 0 0 calc(50% - 50vw);
    padding: 66px 24px;
    border: 0;
    border-radius: 0;
    background-color: #142b47;
    background-image: linear-gradient(100deg, rgba(12, 34, 60, .91), rgba(12, 34, 60, .72)), url('/images/banner1.webp');
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    box-shadow: none;
    color: #fff;
}

.agent-course-category-detail .agent-course-category-detail__requirements > * {
    max-width: 920px;
    margin-right: auto;
    margin-left: auto;
}

.agent-course-category-detail .agent-course-category-detail__requirements h2 {
    color: #fff;
    font-size: clamp(24px, 2.2vw, 32px);
    font-weight: 700;
}

.agent-course-category-detail .agent-course-category-detail__requirements h2::before {
    background: rgba(255, 255, 255, .15);
    color: #f7c65b;
}

.agent-course-category-detail .agent-course-category-detail__requirements > div {
    color: rgba(255, 255, 255, .96) !important;
}

.agent-course-category-detail .agent-course-category-detail__requirements > div * {
    color: rgba(255, 255, 255, .96) !important;
}

.agent-course-category-detail .agent-course-category-detail__requirements li::marker {
    color: #f7c65b;
}

@media(max-width:767px) {
    .agent-course-category-detail .agent-course-category-detail__card {
        min-height: 220px;
        padding: 22px 22px 18px;
    }

    .agent-course-category-detail .agent-course-category-detail__requirements {
        margin-top: 38px;
        padding: 44px 22px;
        background-attachment: scroll;
    }
}

@media(prefers-reduced-motion: reduce) {
    .agent-course-category-detail .agent-course-category-detail__requirements {
        background-attachment: scroll;
    }
}

/* Location based college directory */
.agent-college-directory {
    width: min(100%, 390px);
    margin: 28px auto 0;
    height: 750px;
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(18, 46, 79, .08);
}

.agent-college-directory__header {
    display: flex;
    min-height: 96px;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    background: #eaf0f9;
    color: #fff;
}

.agent-college-directory__count {
    display: grid;
    width: 62px;
    height: 66px;
    flex: 0 0 62px;
    place-items: center;
    background: #e3e3e3;
    clip-path: polygon(50% 0, 96% 25%, 96% 75%, 50% 100%, 4% 75%, 4% 25%);
    color:var(--agent-primary, #1f5f91);
    font-size: 23px;
    font-weight: 800;
}

.agent-college-directory__header h3 {
    margin: 0 0 4px;
    color: #201c1c;
    font-size: 22px;
    font-weight: 500;
}

.agent-college-directory__header p {
 margin: 0;
  color: rgba(19, 19, 19, 0.84);
  font-size: 13px;
}

.agent-college-directory__body {
    display: flex;
    height: calc(100% - 96px);
    flex-direction: column;
    padding: 14px 18px 0;
}

.agent-college-directory__filters,
.agent-college-directory__courses {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.agent-college-directory__filters { margin-bottom: 14px; }

.agent-college-directory__filters button,
.agent-college-directory__courses span,
.agent-college-directory__courses a,
.agent-college-directory__badge {
    display: inline-flex;
    align-items: center;
    border: 1px solid #d1deed;
    border-radius: 999px;
    background: #fff;
    color: #45617f;
    font-size: 12px;
    line-height: 1.3;
}

.agent-college-directory__filters button { padding: 5px 12px; cursor: pointer; }
.agent-college-directory__filters button.is-active {
    border-color: var(--agent-primary);
    background: var(--agent-primary);
    color: #fff;
}
.agent-college-directory__courses span,
.agent-college-directory__courses a { padding: 4px 9px; border-radius: 6px; background: #edf3fa; color: #102e57; font-weight: 700; text-decoration: none; }
.agent-college-directory__courses a { background: #fff; }
.agent-college-directory__course-heading { margin: 0 0 6px; color: #49617b; font-size: 12px; font-weight: 800; }

.agent-college-directory__list {
    min-height: 0;
    flex: 1 1 auto;
    margin: 14px 0 0;
    padding: 0 5px 16px 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-color: #aabbd0 #eef3f8;
    scrollbar-width: thin;
    list-style: none;
}
.agent-college-directory__list::-webkit-scrollbar { width: 7px; }
.agent-college-directory__list::-webkit-scrollbar-track { border-radius: 8px; background: #eef3f8; }
.agent-college-directory__list::-webkit-scrollbar-thumb { border-radius: 8px; background: #aabbd0; }
.agent-college-directory__list li { border-bottom: 1px solid #d5e0ed; }
.agent-college-directory__list li[hidden] { display: none; }
.agent-college-directory__list li > button { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border: 0; background: none; color: #102e57; text-align: left; cursor: pointer; }
.agent-college-directory__list li > button > span:first-child { min-width: 0; }
.agent-college-directory__list small { display: block; margin-top: 3px; color: #647b94; font-size: 11px; }
.agent-college-directory__badge { flex: 0 0 auto; padding: 2px 7px; border-radius: 6px; white-space: nowrap; }

@media(min-width: 768px) {
    #colleges .container:has(> .agent-college-directory) { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 0 20px; }
    #colleges .container > .row:first-child { grid-column: 1 / -1; }
    .agent-college-directory { width: 100%; margin-top: 28px; }
}

@media(max-width: 420px) {
    .agent-college-directory { height: 500px; }
    .agent-college-directory__body { padding: 13px 14px 17px; }
    .agent-college-directory__list li > button { align-items: flex-start; }
    .agent-college-directory__badge { font-size: 10px; }
}
