/* Study in USA page styles */
.country-hero {
    position: relative;
    height: clamp(520px, 64vh, 680px);
    min-height: 460px;
    overflow: hidden;
    background: var(--soft)
}

.country-hero>img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center
}

.country-hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(25, 22, 23, .8) 0%, rgba(25, 22, 23, .5) 45%, rgba(25, 22, 23, .08) 78%)
}

.country-hero-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff
}

.country-kicker {
    margin: 0 0 18px;
    color: #fff;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase
}

.country-hero h1 {
    max-width: 620px;
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(2.4rem, 4.4vw, 4rem);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -.03em;
    text-transform: none
}

.country-hero h1 em {
    color: #fff;
    font-style: normal;
    font-weight: 620
}

.country-hero-content p {
    max-width: 520px;
    margin: 0 0 30px;
    color: rgba(255, 255, 255, .86);
    font-size: 1.05rem;
    line-height: 1.65
}

.country-intro {
    background: #fff
}

.country-intro-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 80px;
    align-items: start
}

.country-intro-title {
    margin: 0;
    font-size: clamp(2rem, 4.2vw, 3rem);
    line-height: 1.25;
}

@media(max-width:600px) {
    .country-intro-title {
        font-size: 2rem;
        line-height: 1.4;
    }
}

.country-lead {
    padding-top: 6px
}

.country-lead .large-copy {
    color: var(--red);
    font-weight: 600
}

.country-lead p {
    font-size: 1.08rem;
    line-height: 1.75
}

.country-lead p+p {
    margin-top: 20px
}

.country-lead mark {
    position: relative;
    padding: 0 .08em;
    background: linear-gradient(transparent 62%, rgba(179, 41, 64, .18) 62%);
    color: inherit;
    font-weight: 570;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone
}

.country-university-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line)
}



.country-university-grid article {
    min-height: 150px;
    padding: 30px 26px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #fff;
    transition: transform .3s ease, box-shadow .3s ease
}

.country-university-grid article:hover {
    z-index: 1;
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(33, 31, 32, .08)
}

.country-uni-index {
    display: block;
    margin-bottom: 14px;
    color: var(--red);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em
}

.country-university-grid h3 {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.4
}

/* new start */
.country-apply-btn {
    margin-top: auto;
    /* Pushes the button to the bottom */
    display: inline-flex;
    align-items: center;
    background-color: var(--soft);
    border-radius: 30px;
    padding: 6px;
    text-decoration: none;
    color: var(--ink);
    transition: background-color 0.3s ease;
    overflow: hidden;
    margin-top: 6px;
}

/* Hidden text by default */
.country-apply-btn .apply-text {
    max-width: 0;
    opacity: 0;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    transition: max-width 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
}

/* Text reveals on button hover */
.country-apply-btn:hover .apply-text {
    max-width: 80px;
    /* Adjust if text length changes */
    opacity: 1;
    padding: 0 10px 0 14px;
}

/* Circle holding the arrow */
.country-apply-btn .arrow-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background-color: var(--red);
    color: var(--white);
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

/* Enhancing hover state colors */
.country-apply-btn:hover {
    background-color: var(--line);
}

.country-apply-btn:hover .arrow-icon {
    background-color: var(--red-dark);
}

/* new end */
.country-states {
    border-top: 1px solid var(--line)
}

.country-state {
    border-bottom: 1px solid var(--line)
}

.country-state-heading {
    margin: 0
}

.country-state-toggle {
    width: 100%;
    padding: 26px 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 0;
    background: transparent;
    color: var(--ink);
    font-size: 1.3rem;
    font-weight: 580;
    letter-spacing: -.02em;
    text-align: left;
    cursor: pointer;
    transition: color .25s
}

.country-state-toggle:hover {
    color: var(--red)
}

.country-state-toggle-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 0 0 auto
}

.country-state-meta {
    color: var(--copy);
    font-size: .8rem;
    font-weight: 500
}

.country-state-toggle svg {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .25s
}

.country-state-toggle[aria-expanded=true] {
    color: var(--red)
}

.country-state-toggle[aria-expanded=true] svg {
    transform: rotate(180deg)
}

.country-state-panel {
    padding: 0 4px 32px
}

.country-state-panel[hidden] {
    display: none
}

.country-uni-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 22px
}

.country-uni-grid article {
    padding: 20px 22px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--soft)
}

.country-uni-grid h4 {
    margin: 0 0 6px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -.01em
}

.country-uni-grid p {
    margin: 0;
    color: var(--copy);
    font-size: .88rem
}

.country-uni-grid p span {
    color: var(--red);
}
.country-disclaimer{
    font-size:.875rem;
    margin-top:10px;
}
@media(max-width:1000px) {
    .country-intro-grid {
        grid-template-columns: 1fr;
        gap: 36px
    }


}

@media(max-width:800px) {
    .country-uni-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:767px) {
    .country-university-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:680px) {
    .country-hero {
        height: 560px;
        min-height: 560px
    }

    .country-hero-shade {
        background: linear-gradient(180deg, rgba(25, 22, 23, .2) 10%, rgba(25, 22, 23, .86) 100%)
    }

    .country-hero-content {
        justify-content: flex-end;
        padding-bottom: 56px
    }

    .country-hero h1 {
        font-size: clamp(2rem, 8vw, 2.6rem)
    }



    .country-state-toggle {
        padding: 20px 0;
        gap: 10px;
        font-size: 1.1rem
    }

    .country-state-meta {
        display: none
    }

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

@media(max-width:479px) {
    .country-university-grid {
        grid-template-columns: 1fr
    }
}