:root {
    --navy: #07365f;
    --navy-deep: #052b50;
    --navy-dark: #031f3d;

    --blue: #126da2;

    --gold: #efae17;
    --gold-soft: #ffc533;

    --ink: #07365f;
    --text: #26496b;
    --muted: #6d8296;

    --page: #f4f9fd;
    --line: #e1ebf3;

    --green-bg: #d9f5e6;
    --green: #12824c;

    --shadow:
        0 8px 25px rgba(28, 84, 124, 0.10);
}


/* ========================================
   RESET
======================================== */

* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    margin: 0;

    min-width: 320px;

    background:
        linear-gradient(
            180deg,
            #ffffff 0,
            #f8fbfe 34%,
            #f3f9fd 100%
        );

    color: var(--text);

    font-family:
        "Segoe UI",
        Arial,
        Helvetica,
        sans-serif;

    font-size: 15px;

    line-height: 1.45;
}


a {
    color: inherit;
}


svg {
    display: block;
}


/* ========================================
   WIDTH
======================================== */

.portal-header-inner,
.home-hero-inner,
.schemes-container,
.portal-footer-inner {
    max-width: 1480px;

    margin-left: auto;
    margin-right: auto;

    padding-left: 58px;
    padding-right: 58px;
}


/* ========================================
   HEADER
======================================== */

.portal-header {
    height: 96px;

    background:
        linear-gradient(
            90deg,
            #ffffff 0%,
            #f9fcff 65%,
            #ffffff 100%
        );

    border-bottom: 4px solid var(--gold);

    position: relative;

    z-index: 20;
}


.portal-header-inner {
    height: 92px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}


.portal-brand {
    display: flex;

    align-items: center;

    gap: 17px;

    text-decoration: none;

    color: var(--navy);
}


.portal-logo {
    width: 77px;
    height: 77px;

    object-fit: contain;
}


.portal-brand-copy {
    display: flex;

    flex-direction: column;

    line-height: 1.17;
}


.portal-brand-copy strong {
    color: #07345c;

    font-size: 22px;

    font-weight: 750;
}


.portal-brand-copy > span {
    margin-top: 5px;

    color: #335b7d;

    font-size: 15px;
}


.portal-brand-copy em {
    margin-top: 7px;

    color: var(--gold);

    font-style: normal;

    font-weight: 800;

    letter-spacing: .02em;

    font-size: 15px;
}


.portal-nav {
    display: flex;

    height: 100%;

    align-items: center;

    gap: 28px;
}


.portal-nav-link {
    position: relative;

    height: 100%;

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 0 12px;

    color: #07365f;

    text-decoration: none;

    font-weight: 700;

    font-size: 16px;
}


.portal-nav-link::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 21px;

    margin: auto;

    width: 0;

    height: 2px;

    background: var(--gold);

    transition: width .2s ease;
}


.portal-nav-link:hover::after,
.portal-nav-link.active::after {
    width: calc(100% - 14px);
}


.portal-nav-icon {
    width: 20px;
    height: 20px;
}


.portal-nav-icon svg {
    width: 100%;
    height: 100%;

    fill: #07365f;

    stroke: #07365f;

    stroke-width: 1.2;
}


/* ========================================
   HERO
======================================== */

.home-hero {
    position: relative;

    height: 345px;

    overflow: hidden;

    background:
        url("../img/iitr-main-building.png")
        center 80% / cover
        no-repeat;
}


.home-hero-overlay {
    position: absolute;

    inset: 0;

    background:

        linear-gradient(
            90deg,
            rgba(0, 43, 78, .98) 0%,
            rgba(2, 50, 86, .94) 31%,
            rgba(3, 62, 99, .71) 54%,
            rgba(1, 72, 111, .34) 78%,
            rgba(1, 62, 99, .26) 100%
        ),

        linear-gradient(
            0deg,
            rgba(0, 36, 68, .24),
            rgba(7, 77, 121, .08)
        );
}


.home-hero-inner {
    position: relative;

    z-index: 2;

    height: 100%;

    display: flex;

    align-items: center;

    justify-content: space-between;
}


.home-hero-copy {
    max-width: 810px;

    color: #ffffff;
}


.hero-eyebrow {
    display: flex;

    align-items: center;

    gap: 16px;

    margin-bottom: 14px;

    color: #ffffff;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: .27em;
}


.hero-eyebrow-line {
    width: 63px;

    height: 3px;

    border-radius: 3px;

    background: var(--gold);
}


.home-hero h1 {
    margin: 0;

    color: #ffffff;

    font-size: 40px;

    line-height: 1.08;

    font-weight: 760;

    letter-spacing: -.02em;
}


.home-hero p {
    margin: 14px 0 20px;

    max-width: 800px;

    color: rgba(255,255,255,.95);

    font-size: 16px;

    line-height: 1.55;
}


.home-hero-actions {
    display: flex;

    align-items: center;

    gap: 16px;
}


.hero-btn {
    height: 54px;

    min-width: 195px;

    padding: 0 21px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    border-radius: 8px;

    text-decoration: none;

    font-size: 16px;

    font-weight: 750;

    transition:
        transform .15s ease,
        box-shadow .15s ease;
}


.hero-btn:hover {
    transform: translateY(-1px);
}


.hero-btn-gold {
    background:
        linear-gradient(
            180deg,
            #ffc534,
            #efa715
        );

    color: #06345c;

    box-shadow:
        0 7px 16px rgba(0, 23, 48, .15);
}


.hero-btn-outline {
    border: 2px solid rgba(255,255,255,.88);

    background: rgba(2, 40, 73, .22);

    color: #ffffff;
}


.hero-btn-icon {
    width: 21px;
    height: 21px;
}


.hero-btn-icon svg {
    width: 100%;
    height: 100%;

    fill: none;

    stroke: currentColor;

    stroke-width: 2;
}


.hero-arrow {
    font-size: 20px;

    line-height: 1;
}


.hero-tagline {
    align-self: flex-start;

    margin-top: 35px;

    margin-right: 7px;

    color: rgba(255,255,255,.94);

    font-size: 26px;

    line-height: 1.05;

    text-align: center;

    font-style: italic;

    font-family:
        "Segoe Script",
        "Bradley Hand",
        cursive;

    transform: rotate(-4deg);

    white-space: nowrap;
}


.hero-tagline span {
    display: block;

    width: 126px;

    height: 3px;

    margin: 11px auto 0;

    background: var(--gold);

    transform: rotate(-3deg);
}


/* ========================================
   SCHEMES SECTION
======================================== */

.schemes-section {
    padding: 26px 0 17px;

    background:

        radial-gradient(
            circle at 84% 10%,
            rgba(180, 221, 244, .16),
            transparent 26%
        ),

        linear-gradient(
            180deg,
            #fafeff 0%,
            #f5fafe 100%
        );
}


.schemes-heading-row {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    margin-bottom: 24px;
}


.section-kicker {
    display: flex;

    align-items: center;

    gap: 11px;

    color: #173f66;

    font-size: 15px;

    font-weight: 700;
}


.section-kicker span {
    display: inline-block;

    width: 4px;

    height: 24px;

    border-radius: 2px;

    background: var(--gold);
}


.schemes-heading h2 {
    margin: 3px 0 0;

    color: #07365f;

    font-size: 34px;

    line-height: 1.1;

    font-weight: 780;

    letter-spacing: -.02em;
}


.schemes-message {
    min-width: 400px;

    display: flex;

    align-items: center;

    gap: 14px;

    padding: 13px 20px;

    border-radius: 12px;

    background:
        linear-gradient(
            100deg,
            #e8f4fb,
            #eef8fd
        );

    color: #07365f;

    font-size: 14px;

    font-weight: 600;
}


.message-icon {
    width: 31px;
    height: 31px;

    flex: 0 0 31px;
}


.message-icon svg {
    width: 100%;
    height: 100%;

    fill: #07365f;
}


/* ========================================
   CARD GRID
======================================== */

.schemes-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px 19px;
}


.support-card {
    position: relative;

    min-height: 213px;

    display: grid;

    grid-template-columns: 78px 1fr;

    gap: 20px;

    padding: 18px 20px;

    border: 1px solid #e4edf4;

    border-radius: 13px;

    background:
        linear-gradient(
            180deg,
            #ffffff,
            #fefefe
        );

    box-shadow: var(--shadow);

    overflow: hidden;
}


.support-card-icon {
    width: 76px;
    height: 76px;

    border-radius: 12px;

    display: grid;

    place-items: center;
}


.support-card-icon svg {
    width: 43px;
    height: 43px;
}


.scheme-blue {
    background:
        linear-gradient(
            145deg,
            #edf8ff,
            #dceeff
        );

    color: #086cf0;
}


.scheme-blue svg {
    fill: currentColor;
}


.scheme-gold {
    background:
        linear-gradient(
            145deg,
            #fff8e9,
            #fff0c6
        );

    color: #d89b00;
}


.scheme-gold svg {
    fill: currentColor;
}


.scheme-purple {
    background:
        linear-gradient(
            145deg,
            #f5efff,
            #ebe0ff
        );

    color: #6d35d9;
}


.scheme-purple svg {
    fill: currentColor;
}


.scheme-green {
    background:
        linear-gradient(
            145deg,
            #eafaf1,
            #d4f4e2
        );

    color: #129056;
}


.scheme-green svg {
    fill: none;

    stroke: currentColor;

    stroke-width: 2;
}


.support-card-main {
    min-width: 0;
}


.support-card-top {
    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 16px;
}


.support-code {
    margin-bottom: 5px;

    color: #3e658a;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: .10em;

    text-transform: uppercase;
}


.support-card h3 {
    margin: 0;

    max-width: 510px;

    color: #07365f;

    font-size: 19px;

    line-height: 1.25;

    font-weight: 760;
}


.support-status {
    flex: 0 0 auto;

    padding: 5px 13px;

    border-radius: 100px;

    font-size: 14px;

    font-weight: 750;
}


.support-status.is-open {
    background: var(--green-bg);

    color: var(--green);
}


.support-status.is-closed {
    background: #f8e3e3;

    color: #a64444;
}


.support-description {
    margin: 9px 0 12px;

    color: #476889;

    font-size: 13.5px;
}


.support-dates {
    display: flex;

    align-items: center;

    gap: 14px;

    color: #365b7d;

    font-size: 13.5px;
}


.support-dates > div {
    display: flex;

    align-items: center;

    gap: 5px;

    white-space: nowrap;
}


.support-dates strong {
    color: #183f65;

    font-weight: 750;
}


.detail-icon,
.contact-icon {
    display: inline-flex;

    width: 17px;
    height: 17px;

    align-items: center;

    justify-content: center;

    color: #07365f;
}


.detail-icon svg,
.contact-icon svg {
    width: 100%;
    height: 100%;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.8;
}


.support-divider {
    width: 1px;

    height: 18px;

    background: #bfcddd;
}


.support-bottom {
    margin-top: 17px;

    display: flex;

    align-items: center;

    gap: 15px;
}


.fill-form-btn {
    flex: 0 0 auto;

    min-width: 153px;

    height: 41px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 11px;

    padding: 0 17px;

    border-radius: 7px;

    background:
        linear-gradient(
            180deg,
            #073963,
            #053054
        );

    color: #ffffff;

    text-decoration: none;

    font-size: 14px;

    font-weight: 700;

    box-shadow:
        0 4px 9px rgba(4, 47, 84, .15);
}


.fill-form-btn:hover {
    color: #ffffff;

    background: #052a4a;
}


.support-contact {
    min-width: 0;

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 5px 15px;

    color: #3a5d7d;

    font-size: 12.5px;
}


.support-contact > span,
.support-contact > a {
    display: inline-flex;

    align-items: center;

    gap: 5px;
}


.support-contact a {
    color: #0870d9;

    text-decoration: underline;

    text-underline-offset: 2px;
}


.external-arrow {
    text-decoration: none;

    font-size: 14px;
}


/* ========================================
   FOOTER
======================================== */

.portal-footer {
    min-height: 74px;

    border-top: 1px solid #e0eaf2;

    background:
        linear-gradient(
            180deg,
            #fbfdff,
            #f5f9fc
        );

    color: #466888;
}


.portal-footer-inner {
    min-height: 74px;

    display: grid;

    grid-template-columns:
        1fr 260px 1fr;

    align-items: center;

    gap: 20px;

    font-size: 13px;
}


.portal-footer-left {
    justify-self: start;
}


.portal-footer-right {
    justify-self: end;

    white-space: nowrap;
}


.portal-footer-right span {
    margin: 0 10px;

    color: #9aaaba;
}


.portal-footer-mark {
    text-align: center;

    opacity: .55;
}


.footer-building {
    width: 100px;

    height: 25px;

    margin: 0 auto 2px;

    position: relative;

    border-bottom: 2px solid #70889e;
}


.footer-building::before {
    content: "";

    position: absolute;

    left: 17px;
    right: 17px;
    bottom: 0;

    height: 14px;

    border:
        2px solid #70889e;

    border-bottom: 0;
}


.footer-building::after {
    content: "";

    position: absolute;

    left: 43px;
    top: 0;

    width: 14px;
    height: 9px;

    border:
        2px solid #70889e;

    border-bottom: 0;

    border-radius:
        8px 8px 0 0;
}


.footer-building span {
    display: inline-block;

    width: 2px;
    height: 11px;

    margin: 12px 5px 0;

    background: #70889e;
}


.portal-footer-mark small {
    color: #70889e;

    font-size: 6px;

    letter-spacing: .04em;
}


/* ========================================
   FLASH
======================================== */

.portal-alert-wrap {
    padding-top: 14px;
}


/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 1150px) {

    .portal-header-inner,
    .home-hero-inner,
    .schemes-container,
    .portal-footer-inner {
        padding-left: 30px;
        padding-right: 30px;
    }


    .hero-tagline {
        display: none;
    }


    .schemes-message {
        min-width: 330px;
    }


    .support-card {
        grid-template-columns: 64px 1fr;
    }


    .support-card-icon {
        width: 64px;
        height: 64px;
    }


    .support-card-icon svg {
        width: 36px;
        height: 36px;
    }


    .support-bottom {
        align-items: flex-start;

        flex-direction: column;
    }


    .portal-footer-inner {
        grid-template-columns:
            1fr 180px 1fr;
    }

}


@media (max-width: 850px) {

    .portal-header {
        height: auto;
    }


    .portal-header-inner {
        height: auto;

        padding-top: 12px;
        padding-bottom: 12px;

        align-items: flex-start;
    }


    .portal-logo {
        width: 59px;
        height: 59px;
    }


    .portal-brand-copy strong {
        font-size: 17px;
    }


    .portal-brand-copy > span {
        font-size: 12px;
    }


    .portal-brand-copy em {
        font-size: 12px;
    }


    .portal-nav {
        height: 60px;

        gap: 8px;
    }


    .portal-nav-link {
        height: 60px;

        font-size: 13px;
    }


    .portal-nav-link::after {
        bottom: 3px;
    }


    .home-hero {
        height: auto;

        min-height: 390px;
    }


    .home-hero-inner {
        padding-top: 44px;
        padding-bottom: 44px;
    }


    .home-hero-copy {
        max-width: 100%;
    }


    .home-hero h1 {
        font-size: 34px;
    }


    .schemes-heading-row {
        align-items: flex-start;

        flex-direction: column;
    }


    .schemes-message {
        min-width: 0;
        width: 100%;
    }


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


    .portal-footer-inner {
        display: flex;

        flex-direction: column;

        justify-content: center;

        padding-top: 16px;
        padding-bottom: 16px;

        text-align: center;
    }


    .portal-footer-left,
    .portal-footer-right {
        justify-self: center;
    }

}


@media (max-width: 600px) {

    .portal-header-inner,
    .home-hero-inner,
    .schemes-container,
    .portal-footer-inner {
        padding-left: 17px;
        padding-right: 17px;
    }


    .portal-header-inner {
        flex-direction: column;

        gap: 7px;
    }


    .portal-brand {
        gap: 10px;
    }


    .portal-logo {
        width: 50px;
        height: 50px;
    }


    .portal-brand-copy strong {
        font-size: 15px;
    }


    .portal-brand-copy > span {
        font-size: 11px;
    }


    .portal-brand-copy em {
        margin-top: 4px;

        font-size: 10px;
    }


    .portal-nav {
        width: 100%;

        height: 42px;

        justify-content: flex-start;
    }


    .portal-nav-link {
        height: 42px;

        padding: 0 8px;

        font-size: 12px;
    }


    .portal-nav-icon {
        width: 16px;
        height: 16px;
    }


    .home-hero {
        min-height: 430px;

        background-position: 61% center;
    }


    .home-hero-inner {
        align-items: flex-end;

        padding-top: 40px;
        padding-bottom: 40px;
    }


    .hero-eyebrow {
        gap: 9px;

        font-size: 9px;
    }


    .hero-eyebrow-line {
        width: 39px;
    }


    .home-hero h1 {
        font-size: 31px;
    }


    .home-hero p {
        font-size: 14px;
    }


    .home-hero-actions {
        align-items: stretch;

        flex-direction: column;
    }


    .hero-btn {
        width: 100%;
    }


    .schemes-section {
        padding-top: 21px;
    }


    .schemes-heading h2 {
        font-size: 28px;
    }


    .support-card {
        min-height: 0;

        grid-template-columns: 1fr;

        gap: 12px;

        padding: 17px;
    }


    .support-card-icon {
        width: 58px;
        height: 58px;
    }


    .support-card-top {
        gap: 10px;
    }


    .support-card h3 {
        font-size: 18px;
    }


    .support-dates {
        align-items: flex-start;

        flex-direction: column;

        gap: 7px;
    }


    .support-divider {
        display: none;
    }


    .support-contact {
        align-items: flex-start;

        flex-direction: column;
    }


    .fill-form-btn {
        width: 100%;
    }


    .portal-footer-right {
        white-space: normal;
    }

}