* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* text selection: brand style comes from gateway-theme.css */
@font-face {
    font-family: 'SF Pro Display';
    src: url(../fonts/SFPRODISPLAYREGULAR.OTF);
}

@font-face {
    font-family: 'SF Pro Display'; font-weight: 500;
    src: url(../fonts/SFPRODISPLAYMEDIUM.OTF);
}

@font-face {
    font-family: 'SF Pro Display'; font-weight: 700;
    src: url(../fonts/SFPRODISPLAYBOLD.OTF);
}

@font-face {
    font-family: 'SF Pro Display'; font-weight: 300;
    src: url(../fonts/SF-Pro-Display-Light.otf);
}

body {
    font-family: var(--gw-font) !important;
    letter-spacing: 0.02em;
    background-image: url(../images/bg/banner-bg.svg);
    background-repeat: no-repeat;
    /* background-size: cover; */
    background-position: center top;
    background-color: white;
}

a {
    display: inline-block;
    color: black;
    text-decoration: none;
}

.instant-apply-sub-heading {
    color: var(--gw-navy);
    margin-block: 16px 32px;
    font-size: 18px;
    font-family: var(--gw-font);
}

p {
    font-size: 18px;
    line-height: 1.4;
    margin: 0;
    color: var(--gw-navy);
}

img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.general-query-btn img {
    width: auto;
    height: auto;
}

.banner-new {
    position: relative;
    overflow: hidden;
}

.new-banner-wrapper {
    padding: 20px 0 20px;   /* form sits a little higher */
}

.new-banner-title {
    text-align: center;
    font-size: 64px;
    width: 100%;
    max-width: 906;
    font-family: var(--gw-font); font-weight: 500;
    background-image: none; background-color: var(--gw-navy);
    background-clip: text;
    -webkit-text-fill-color: var(--gw-navy);
    margin: 0;
}

/* "Study Abroad" in the hero heading: the letters stay crisp navy; a gold swoosh underline sits below them
   (brand rule: no gold text on white, so the gold is an accent line, not the letters). */
.new-banner-title .gw-marker {
    position: relative;
    display: inline-block;
    white-space: nowrap;   /* the two words stay together on one line */
}
.new-banner-title .gw-marker::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -.15em;         /* just under the descender of the "y", clear of the next line */
    height: .24em;
    border-bottom: .105em solid var(--gw-gold);
    border-radius: 0 0 100% 100% / 0 0 100% 100%;   /* curved, thick in the middle, tapering at the ends */
}

/* Line under the hero heading: theme Gold (#FFC629) background (pill) with Navy text. */
p.gw-hero-sub {
    display: table;              /* shrink to the text width, stay centred (the p also has .text-center) */
    margin: 16px auto 28px;
    padding: 8px 22px;
    background: var(--gw-gold);
    color: var(--gw-navy);
    border-radius: 999px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: .01em;
}
@media (max-width: 575px) {
    p.gw-hero-sub { font-size: 14px; padding: 7px 16px; margin: 14px auto 22px; }
}

.consultant-new-banner-title {
    text-align: center;
    width: 100%;
    max-width: 906;
    font-family: var(--gw-font); font-weight: 500;
    background-image: none; background-color: transparent; color: var(--gw-navy);
    background-clip: text;
    -webkit-text-fill-color: var(--gw-navy);
    margin: 0;
}

.new-theme-btn {
    border: 1px solid rgba(var(--gw-navy-rgb), 1);
    padding: 13px 33px;
    border-radius: 43px;
    font-size: 18px;
    background-color: white;
    color: var(--gw-navy);
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: all 0.4s linear;
}

.new-theme-btn:after {
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    position: absolute;
    left: auto;
    right: 0;
    z-index: -1;
    background-color: var(--gw-navy);
    -webkit-transition: width 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) 0s;
    transition: width 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) 0s;
}

.new-theme-btn:hover {
    color: var(--gw-gold);
}

.new-theme-btn:hover:after {
    width: 100%;
    left: 0;
    right: auto;
}

.new-banner-wrapper p {
    margin: 16px 0 32px;
}

/* Same gold glow frame as .talk-form-border (every white-background form on the home page looks alike). */
.banner-form-border {
    background-color: rgba(var(--gw-gold-rgb), .16);
    padding: 10px;
    border: 2px solid var(--gw-gold);
    box-shadow: 0 14px 40px rgba(var(--gw-gold-rgb), .35), 0 0 0 5px rgba(var(--gw-gold-rgb), .14);
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
}

.banner-form-bg {
    background-color: white;
    padding: 24px;
    border-radius: 4px;
}

.form-title {
    font-family: var(--gw-font); font-weight: 500;
    color: var(--gw-navy);
}

.form-sub-title {
    color: var(--gw-navy);
    font-family: var(--gw-font) !important;
}


.form-tab-wrapper {
    gap: 10px;
    display: flex;
    margin: 24px 0;
}

.form-tab-wrapper .col-4 {
    padding: 0;
}

.form-tab {
    background-color: #F7F8FA;
    padding: 16px;
    border-radius: 8px;
    width: 100%;
    cursor: pointer;
}

.form-tab-img {
    width: 36px;
    height: 36px;
    margin-bottom: 16px;
}

.form-tab-txt {
    font-size: 18px;
    color: var(--gw-navy);
}

.light-theme-btn {
    padding: 10px 30px 10px 30px;
    border-radius: 43px;
    background: var(--gw-gold-shine);
    border: 1px solid var(--gw-gold);
    color: var(--gw-navy);
    font-size: 18px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: all 0.4s linear;
    text-align: center;
}

.light-theme-btn:after {
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    position: absolute;
    left: auto;
    right: 0;
    z-index: -1;
    background-color: var(--gw-navy);
    -webkit-transition: width 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) 0s;
    transition: width 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) 0s;
}

.light-theme-btn:hover {
    color: var(--gw-gold);
}

.light-theme-btn:hover:after {
    width: 100%;
    left: 0;
    right: auto;
}

.form-wrapper {
    display: none;
}

.form-field-wrapper {
    overflow: hidden;
}

.banner-input {
    border: 1px solid #D0D5DD;
    background-color: white;
    border-radius: 8px;
    min-height: 44px;
    width: 100%;
    outline: none;
    padding: 10px 14px 10px 14px;
    transition: all 0.3s linear;
    overflow: hidden;
}

.banner-input:focus {
    border-color: #000000;
}

.form-wrapper {
    padding-bottom: 24px;
}

.banner-form-label {
    font-family: var(--gw-font); font-weight: 500;
    font-size: 14px;
    color: var(--gw-slate);
    margin-bottom: 6px;
}

.form-height {
    min-height: 340px;
    height: auto;
    padding-bottom: 60px;
}

.banner-left-before {
    position: absolute;
    bottom: 130px;
    height: 552px;
    opacity: 50%;
    left: -111px;
    z-index: -2;
}

.banner-right-before {
    position: absolute;
    opacity: 50%;
    right: -139px;
    bottom: 105px;
    z-index: -2;
}

.banner-center-before {
    max-width: 1316px;
    width: 100%;
    height: 130px;
    background-color: rgba(var(--gw-gold-rgb), 0.5);
    position: absolute;
    bottom: 92px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 100%;
    filter: blur(250px);
    z-index: -1;
}


/* Offer Section */


.offer-section {
    background-color: var(--gw-navy);
    padding: 120px 0;
    border-radius: 24px;
}

/* Accent words inside a heading on a NAVY section: theme Gold text (Gold on Navy is a brand-approved pairing and has strong contrast). */
.section-dark-title .gw-accent-gold {
    color: var(--gw-gold);
    -webkit-text-fill-color: var(--gw-gold);
    font-weight: 600;
}

.section-dark-title {
    font-family: var(--gw-font); font-weight: 500;
    font-size: 48px;
    background-image: linear-gradient(320.55deg, #363A3F -9.49%, #FFFFFF 76.21%);
    color: #ffffff;
    background-clip: text;
    /* -webkit-text-fill-color: transparent; */
}

.offer-slider-card {
    width: 360px;
    height: 540px;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    z-index: 3;
}

.offer-img {
    position: relative;
    z-index: 1;
}

.mask-offer-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 79.65%);
    z-index: 2;
}

.offer-content-wrapper {
    position: absolute;
    /* bottom: 0; */
    top: 0;
    height: 100%;
    z-index: 3;
    padding: 24px;
    padding-top: 75% !important;
    display: flex;
    flex-direction: column;
}

.offer-sub-title {
    font-family: var(--gw-font); font-weight: 700;
    color: white;
    font-size: 24px;
}

.offer-desc {
    font-size: 14px;
    color: var(--gw-white);
    margin: 16px 0;
}

.offer-tc {
    margin-top: auto;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border-radius: 42px;
    box-shadow: 0px 0.59px 0px 0px #FFFFFF40 inset,
        -6.06px 23.03px 40.84px -17.22px #A7A7A71A;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.offer-tc p {
    color: #BFBFD4;
    font-size: 12px;
    line-height: 1.6em;
}

.offer-left-arrow {
    width: 48px;
    cursor: pointer;
    opacity: 60%;
    transition: all 0.4s ease;
}

.offer-left-arrow:hover {
    opacity: 100%;
}

.offer-slider {
    margin-top: 40px;
    mask-image: linear-gradient(90deg, rgba(var(--gw-navy-rgb), 0) 0%, rgba(var(--gw-navy-rgb), 0.4) 1%, var(--gw-navy) 10%, var(--gw-navy) 85%, rgba(var(--gw-navy-rgb), 0.4) 98%, rgba(var(--gw-navy-rgb), 0) 100%);
}

.offer-arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}


/* talk-us-section */

.talk-us-section {
    padding: 90px 0;
    overflow: hidden;
}

.talk-content-wrapper {
    width: 100%;
    max-width: 520px;
}

.section-light-title {
    font-family: var(--gw-font); font-weight: 500;
    font-size: 48px;
    background-image: none; background-color: transparent; color: var(--gw-navy);
    background-clip: text;
    -webkit-text-fill-color: var(--gw-navy);
}

.talk-us-section-title, .stories-section-title {
    font-family: var(--gw-font); font-weight: 500;
    background-image: none; background-color: transparent; color: var(--gw-navy);
    background-clip: text;
    -webkit-text-fill-color: var(--gw-navy);
}

.talk-desc {
    width: 100%;
    max-width: 360px;
    padding: 24px 0 32px;
}

.talk-form-border {
    background-color: rgba(var(--gw-gold-rgb), .16);
    border: 2px solid var(--gw-gold);
    box-shadow: 0 14px 40px rgba(var(--gw-gold-rgb), .35), 0 0 0 5px rgba(var(--gw-gold-rgb), .14);
    padding: 10px;
    border-radius: 12px;
    position: relative;
    z-index: 1;
}

.talk-form-bg {
    padding: 24px;
    background-color: white;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.book-form-btn {
    padding-top: 24px;
}

.home-book-tab,
.phone-book-tab,
.video-book-tab {
    padding-bottom: 20px;
}

.phone-book-tab,
.video-book-tab {
    display: none;
}

.book-tab-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(208, 213, 221, 1);
    border-radius: 39px;
    padding: 6px;
}

.book-tab {
    min-width: 80px;
    min-height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    border-radius: 100px;
    cursor: pointer;
    color: var(--gw-slate);
}

.book-tab p {
    color: var(--gw-slate);
}

.active-book-tab {
    background: var(--gw-gold-shine);
}

.book-ico {
    width: 19px;
}

.book-border {
    background-color: rgba(var(--gw-gold-rgb), 0.3);
    height: 2px;
    border-radius: 5px;
}

.book-border-active {
    background: var(--gw-gold-shine);
}

.book-input-wrapper {
    border: 1px solid #D0D5DD;
    border-radius: 8px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.book-input {
    width: 100%;
    border: none;
    height: 24px;
    font-size: 16px;
    color: var(--gw-navy);
    overflow: hidden;
}

.book-input:focus {
    outline: none;
}

.book-box-ico {
    width: 16px;
    height: 16px;
}

.book-ico-wrap {
    padding: 4px;
    background-color: #F7F8FA;
    border-radius: 17px;
    width: 32px;
    height: 32px;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.book-input-label {
    font-family: var(--gw-font); font-weight: 500;
    font-size: 14px;
    color: var(--gw-slate);
    margin-bottom: 6px;
}

.talk-before-shape {
    background-color: rgba(var(--gw-gold-rgb), 0.5);
    max-width: 481px;
    width: 100%;
    height: 294px;
    border-radius: 100%;
    filter: blur(200px);
    position: absolute;
    z-index: -1;
    left: 50%;
    top: 87px;
    transform: translateX(-50%);
}

.load-map {
    width: 100%;
    max-width:560px;
    height:300px;
}

/* steps-section */

.steps-section {
    background-color: var(--gw-navy);
    border-radius: 24px;
    padding: 120px 0;
}

.white-theme-btn {
    background-color: #ffffff;
    border-radius: 43px;
    padding: 13px;
    max-width: 200px;
    width: 100%;
    text-align: center;
    color: var(--gw-navy);
    font-size: 18px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: all 0.4s linear;
}

.white-theme-btn:after {
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    position: absolute;
    left: auto;
    right: 0;
    z-index: -1;
    background: var(--gw-gold-shine);
    -webkit-transition: width 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) 0s;
    transition: width 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) 0s;
}

.white-theme-btn:hover {
    color: var(--gw-navy-light);
}

.white-theme-btn:hover:after {
    width: 100%;
    left: 0;
    right: auto;
}

.step-accordion {
    margin-top: 40px;
}

.single-step-accordion {
    padding: 48px 0;
    border-top: 0.74px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    width: 100%;
    transition: all 0.3s linear;
    position: relative;
}

.step-cross-mobile {
    border: 0.74px solid rgba(255, 255, 255, 0.2);
    padding: 13px;
    border-radius: 100%;
    width: 48px;
    height: 48px;
    position: relative;
    cursor: pointer;
    right: 0;
    display: none;
}

.step-number {
    font-size: 18px;
    color: white;
    font-family: var(--gw-font); font-weight: 700;
    margin-right: 60px;
}

.step-content {
    color: white;
    flex: 1;
}

.step-ans p {
    color: var(--gw-white);
    font-size: 18px;
}


.step-ans,
.step-que {
    max-width: 677px;
    width: 100%;
}

.step-ans {
    padding-top: 24px;
    /* display: none; */
}

.step-que {
    font-size: 32px;
    font-family: var(--gw-font); font-weight: 500;
    cursor: pointer;
}

.step-cross {
    border: 0.74px solid rgba(255, 255, 255, 0.2);
    padding: 13px;
    border-radius: 100%;
    width: 48px;
    height: 48px;
    position: relative;
    cursor: pointer;
}

.step-plus,
.step-minus {
    width: 21px;
    height: 2px;
    background-color: white;
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s linear;
}

.step-plus-rotate {
    transform: translate(-50%, -50%) rotate(-90deg);
}

.step-active {
    background-color: #222733;
}

.step-before-img {
    position: absolute;
    z-index: 1;
    top: -40px;
    right: 100px;
    max-width: 270px;
    transform: scale(0);
    transition: all 0.3s linear;
}

.step-scale {
    transform: scale(1);
}


/* know-more-section */


.know-more-us-section {
    padding: 120px 0 60px;
}

.know-card-wraper {
    margin-top: 40px;
}

.know-more-card {
    background-color: rgba(240, 241, 243, 0.4);
    border-radius: 8px;

    padding: 29px;
    position: relative;
}

.know-ico svg {
    width: 44px;
}

.know-more-card,
.know-more-card .know-ico svg,
.know-more-card .know-before svg {
    transition: all 0.4s ease;
}

/* .know-more-card:hover {
    border-color: rgba(var(--gw-gold-rgb), 1);
} */

/* .know-more-card:hover .know-ico svg {
    fill: var(--gw-gold);
} */

/* .know-more-card:hover .know-before svg {
    fill: rgba(var(--gw-gold-rgb), 0.5);
} */

.know-ico {
    background-color: white;
    border-radius: 14px;
    width: 64px;
    height: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.know-sub-title {
    font-size: 24px;
    color: var(--gw-navy);
    margin: 24px 0 16px;
    font-family: var(--gw-font);
}

.know-desc {
    font-size: 16px;
}

.know-before {
    position: absolute;
    top: 0;
    right: 0;
    max-width: 140px;
}


/* institutions-section */

.institutions-section {
    padding: 60px 0;
}

.institutions-slider {
    margin-top: 40px;
}

.institutions-title {
    font-family: var(--gw-font); font-weight: 500;
    background-clip: text;
    -webkit-text-fill-color: var(--gw-navy);
    background-image: none; background-color: transparent; color: var(--gw-navy);
}

.institutions-card {
    background-color: rgba(240, 241, 243, 0.4);
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(4, 37, 47, 0.1);
    width: 230px;
}

.institutions-bg {
    border-radius: 8px;
    background-color: #fff;
    padding: 10px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.institutions-bg a {
    display: block;
    width: 100%;
    height: 100%;
}

.institutions-bg img {
    object-fit: contain;
    width: 100%;
    height: 100%;
}



/* stories-section */

.stories-section {
    padding: 80px 0;
}

.story-slider {
    margin-top: 40px;
}

.story-title-desc {
    font-size: 16px;
    line-height: 1.4em;
    max-width: 335px;
    text-transform: uppercase;
    margin-top: 16px;
    color: var(--gw-slate);
    font-family: var(--gw-font);
}

.story-card {
    width: 400px;
    position: relative;
    height: 469px;
    border-radius: 8px;
    overflow: hidden;
}

.story-arrow {
    margin-top: 20px;
}

.story-img {
    position: relative;
    z-index: 1;
    height: 100%;
}

.story-img::after {
    content: '';
    background-image: linear-gradient(to left, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8));
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.story-content {
    position: absolute;
    z-index: 1;
    width: 100%;
    max-width: 220px;
    top: 24px;
    left: 24px;
}

.story-content p {
    color: white;
    font-size: 18px;
    line-height: 1.4em;
    /* display: -webkit-box;
    -webkit-line-clamp: 9;
    -webkit-box-orient: vertical;
    overflow: hidden; */
}

.story-content .story-before-quotes {
    font-size: 60px;
    line-height: 0.8em;
}

.story-content .story-before-quotes.btm {
    text-align: end;
    margin-top: 20px;
}

.popup-btn {
    position: absolute;
    z-index: 1;
    padding-top: 10px;
    bottom: 24px;
    left: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    cursor: pointer;
    width: 100%;
    padding-right: 40px;
    flex-wrap: wrap;
}

.video-btn {
    display: flex;
    align-items: center;
    gap: 8px;
}

.popup-btn p {
    font-size: 18px;
    color: white;
    margin-bottom: 0;
}

.popup-play-btn {
    width: 30px;
    height: 30px;
}

.story-modal-close {
    background-image: url(../images/download.svg);
}

.story-dialog {
    max-width: 540px;
    width: 100%;
}

.story-modal-body{
    border-radius: 0 0 12px 12px;
    padding: 24px;
    font-size: 18px;
    color: var(--gw-navy);
    margin-right: 16px;
}

#storymodal .modal-content {
    border-radius: 12px;
    overflow: hidden;
}

.play-ico {
    width: 64px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.story-modal-video iframe {
    min-width: 100%;
    height: 500px;
}

.story-video-dialog {
    max-width: 1080px;
}

.back-btn-new {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 16px;
    font-size: 18px;
    cursor: pointer;
}

.back-btn-new i {
    font-size: 16px;
}

/* consultant-section */

.consultant-section {
    padding: 70px 0;
}

.consultant-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.consultant-left {
    width: 100%;
    max-width: 616px;
}

.consult-desc {
    font-size: 21px;
    line-height: 1.45em;
    max-width: 520px;
    margin: 24px 0 32px;
}

.consultant-right {
    margin-top: -60px;
    max-width: 520px;
    width: 100%;
}

/* country-files-section */

.country-files-section {
    padding: 120px 0;
    background-color: var(--gw-navy);
    border-radius: 24px;
}

.country-slider {
    margin-top: 40px;
}

.country-card {
    width: auto;
    height: 400px;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    z-index: 3;
}

.contry-logo {
    width: 50px;
    height: 50px;
    margin-right: 10px;
    flex: none;
    object-fit: cover;
    border-radius: 100%;
    overflow: hidden;
}

.country-name {
    color: white;
    font-size: 18px;
    font-family: var(--gw-font); font-weight: 500;
}

.download-ico {
    width: 32px;
    height: 32px;
    margin-left: auto;
    flex: none;
    position: relative;
}

.download-white,
.download-theme {
    transition: all 0.3s linear;
}

.download-ico:hover .download-white {
    opacity: 0;
}

.download-ico:hover .download-theme {
    opacity: 1;
}

.download-theme {
    position: absolute;
    top: 0;
    left: 0;width: 100%;
    opacity: 0;
}

.country-card-box {
    padding: 24px;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 3;
    width: 100%;
}

.country-content-box {
    display: flex;
    align-items: center;
    gap: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    box-shadow: 0px 0.59px 0px 0px rgba(255, 255, 255, 0.25) inset,
        -6.06px 23.03px 40.84px -17.22px rgba(167, 167, 167, 0.1);
    padding: 16px 20px;
    border-radius: 42px;
}

.country-sub-desc {
    font-size: 18px;
    font-family: var(--gw-font);
}

/* cta-section */

.cta-section {
    padding: 120px 0;
}

.cta-box {
    background-color: var(--gw-navy);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-left {
    padding: 112px 0 112px 62px;
}

.cta-btns {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    align-items: start;
}

.cta-btns .light-theme-btn {
    width: 100%;
    max-width: 220px;
    text-align: center;
    margin-right: 20px;
}

.outline-btn {
    border: 1px solid var(--gw-gold);
    color: var(--gw-gold);
    padding: 10px 30px;
    border-radius: 43px;
    max-width: 220px;
    width: 100%;
    text-align: center;
    font-size: 18px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: all 0.4s linear;
}

.outline-btn:after {
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    position: absolute;
    left: auto;
    right: 0;
    z-index: -1;
    background: var(--gw-gold-shine);
    -webkit-transition: width 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) 0s;
    transition: width 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) 0s;
}

.outline-btn:hover {
    color: var(--gw-navy);
}

.outline-btn:hover:after {
    width: 100%;
    left: 0;
    right: auto;
}

.cta-right {
    height: 100%;
}

.cta-right img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 45% center;   /* keeps both faces in frame */
}

/* The blurred gold layer made the navy box look like a navy-to-grey gradient: switched off, the box is flat Navy. */
.cta-before {
    display: none;
    max-width: 1337px;
    width: 100%;
    height: 316px;
    background-color: rgba(var(--gw-gold-rgb), 0.5);
    filter: blur(250px);
    position: absolute;
    top: calc(100% - 30px);
    left: 0;
    z-index: -1;
}

/* select */

.select2-container .select2-choice {
    background-image: none;
    border: none;
    box-shadow: none;
}

.select2-dropdown-open .select2-choice {
    background-color: white;
}

.select2-container .select2-choice .select2-arrow {
    background-image: none;
    background-color: white;
    border: none;
}

.select2-search input {
    background-image: none;
}

.select2-results {
    scrollbar-width: none;
    color: var(--gw-navy);
}

.select2-results::-webkit-scrollbar {
    display: none;
}

.select2-drop-active {
    border: none;
}

.select2-results .select2-highlighted {
    background-color: #F7F8FA;
    color: var(--gw-navy);
}

.applyDropdown.select2-container-multi .select2-choices {
    border: none;
    min-height: 44px;
}

.select2-drop {
    z-index: 9998 !important;
}

/* .select2-container-active {
    border: none;
} */

.select2-results .select2-selected {
    display: block !important;
}

.select2-container.select2-container-multi {
    padding: 0px;
}

.invalid-error {
    border: 1px solid red !important;
}

.select2-input::placeholder {
    color: black;
}

.select2-drop.select2-drop-active,
a.select2-choice,
span.select2-arrow {
    background: #fff !important;
    color: var(--gw-navy-light) !important;
}

.form-tab.active {
    border: 2px solid var(--gw-gold);
}

.success-form-field {
    border: 1px solid var(--gw-gold);
}

.select2-result-label {
    color: black;
}

.select2-results .select2-disabled {
    background-color: lightgrey !important;
    color: #999 !important;
}

.select2-container.form-select {
    background-color: #fff;
    background-image: none;
}

.c_time {
    padding-top: 0px;
    padding-right: 0px;
}

.second-step {
    margin-top: 20px;
}

input::placeholder {
    color: var(--gw-slate);
}

.complete-img img {
    width: 155px;
}

.errorMessage {
    margin-top: 5px;
}

.book-consulting-form .errorMessage {
    margin-bottom: inherit;
}

.select2-container-multi .select2-choices .select2-search-field input {
    color: var(--gw-slate) !important;
    /* margin-top: 5px; */
    margin-left: 10px;
}

.selected-instant-tab {
    background-color: rgba(127, 255, 240, 0.2);
    border: 1px solid var(--gw-gold);
}

.current-instant-tab {
    background-color: inherit;
    border: 1px solid #5280F5;
}

.current-instant-element {
    border: 1px solid #5280F5;
}

.select2-dropdown-open.select2-drop-above .select2-choice, .select2-dropdown-open.select2-drop-above .select2-choices, .select2-container.select2-container-active .select2-choices {
    border-color: inherit !important;
}

.select2-results .select2-no-results, .select2-results .select2-searching, .select2-results .select2-ajax-error, .select2-results .select2-selection-limit {
    color: var(--gw-slate);
}

.login-details {
    margin-bottom: 15px;
}

.login-form .btn-primary-main {
    padding: 12px 25px;
    border-width: 0;
    border-color: transparent;
    border-radius: 30px;
    font-size: 16px;
    text-transform: uppercase;
    overflow: hidden;
    -webkit-transition: all 0.3s, border-width 0s;
    transition: all 0.3s, border-width 0s;
    z-index: 1;
    color: var(--gw-navy);
    background: var(--gw-gold-shine);
    border: 1px solid var(--gw-gold);
    position: relative;
    font-family: var(--gw-font); font-weight: 500;
}

.login-form .btn-primary-main:hover {
    color: var(--gw-gold);
}


/* Modal */

.modal {
    z-index: 9999;
}

.modal-content {
    border-radius: 16px;
}

.modal-backdrop {
    z-index: 9998;
}

.btn-primary-main {
    padding: 12px 25px;
    border-width: 0;
    border-color: transparent;
    border-radius: 30px;
    font-size: 16px;
    text-transform: uppercase;
    overflow: hidden;
    -webkit-transition: all 0.3s, border-width 0s;
    transition: all 0.3s, border-width 0s;
    z-index: 1;
    color: var(--gw-navy);
    background: var(--gw-gold-shine);
    /* background: linear-gradient(240deg,var(--gw-gold) 0%,#43cea2 100%); */
    border: 1px solid var(--gw-gold);
    position: relative;
    font-family: var(--gw-font); font-weight: 500;
}

.btn-primary-main:after {
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    position: absolute;
    left: auto;
    right: 0;
    z-index: -1;
    background-color: var(--gw-navy);
    -webkit-transition: width 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) 0s;
    transition: width 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) 0s;
}

.btn-primary-main:hover {
    color: var(--gw-gold);
}

.btn-primary-main:hover:after {
    width: 100%;
    left: 0;
    right: auto;
}


/* Header */

/* The header is navy on every page (same as the inner pages): white menu, gold on hover. */
header {
    color: var(--gw-white);
}

.section-nav-main .navbar-nav .nav-item .nav-link {
    color: var(--gw-white);
}

.section-nav-main .navbar-nav .nav-item .nav-link:hover {
    color: var(--gw-gold);
}

/* Desktop dropdown panels are white: every link in them is Navy (no black). On mobile the menu is dark, so they stay white there. */
@media (min-width: 992px) {
    .header-special .dropdown-menu.megamenu a.list_a_tag,
    .header-special .dropdown-menu.megamenu li a {
        color: var(--gw-navy) !important;
    }
}

.header-special .contact-link,
.header-special .signup-hover-btn a,
.header-special .res-contact-btn a {
    color: var(--gw-white);
}

.col-megamenu {
    color: var(--gw-navy);
}

.col-megamenu ul li a {
    color: var(--gw-navy) !important;
}

/* .navbar-dark .navbar-toggler-icon {
    background-image: url(../images/header-light-hamburger.svg);
} */

.navbar-dark .navbar-toggler {
    border-color: rgb(0 0 0 / 10%);
}

/* The header is navy now, so the logo keeps its own (white) colours: no black filter. */
.navbar-brand img {
    filter: none;
}

.error-message {
    color: red;
    font-weight: 600;
    font-size: 16px;
}

.tooltip-main {
    position: relative;
}
.tooltip-main .tooltiptext {
    visibility: hidden;
    display: none;
    width: fit-content;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    font-size: 12px;
    position: absolute;
    z-index: 1;
    top: 100%;
    left: 23%;
    margin-left: -60px;
}

.pointer-events-none {
    pointer-events: none;
}

/* Select2 */
.applyDropdown.select2-container-multi .select2-choices .select2-search-choice {
    background-color: #F7F8FA !important;
    background-image: none !important;
    border: none !important;
    color: var(--gw-navy) !important;
    font-size: 16px !important;
    padding: 5px !important;
    padding-right: 23px !important;
}

.applyDropdown .select2-search-choice-close {
    background-image: url(../images/x.svg) !important;
    background-position: center !important;
    background-size: 15px !important;
    background-repeat: no-repeat !important;
}

.applyDropdown.select2-container-multi .select2-search-choice-close {
    left: auto !important;
    right: 6px !important;
}

.applyDropdown.select2-container-multi .select2-choices .select2-search-choice .select2-search-choice-close:hover {
    background-position: center !important;
}

.applyDropdown.select2-container-multi .select2-choices .select2-search-choice-focus .select2-search-choice-close {
    background-position: center !important;
}

.tooltip-main:hover .tooltiptext {
    visibility: visible;
    display: block;
}

.select2-results .select2-result:hover:has(input) {
    background: var(--gw-gold-shine) !important;
    color: var(--gw-navy-light) !important;
}

.applyDropdown.select2-container-multi.select2-container-disabled .select2-choices {
    background-color: #fff;
    background-image: none;
    border: 1px solid #ddd;
    cursor: default;
}


/* about-us-section */


.about-us-section {
    padding: 60px 0;
}

.about-wrapper {
    background-color: #f7f7f7;
    padding: 40px;
    border-radius: 16px;
    font-size: 16px;
}

.about-wrapper p {
    font-size: 16px;
}

.about-first-desc p {
    margin-bottom: 10px;
}

.about-second-desc p {
    margin-bottom: 10px;
}

.new-read-more-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    color: var(--gw-gold-dark);
    transition: all 0.3s ease;
    cursor: pointer;
    margin-top: 24px;
}

.down-arrow-ico {
    width: 16px;
    height: 16px;
    display: flex;
    fill: var(--gw-gold-dark);
    transition: all 0.3s ease;
}

.new-read-more-btn:hover {
    color: var(--gw-navy);
}

.new-read-more-btn:hover .down-arrow-ico {
    fill: var(--gw-navy);
}

.theme-text-dark {
    color: var(--gw-navy);
}

.read-ico-rotate {
    transform: rotate(180deg);
}

/* Faq section */

/* ===== FAQ section ===== */
.faq-section {
    padding: 70px 0;
    color: var(--gw-navy);
    background: var(--gw-ice);
    overflow-x: clip;
}

/* Each question is its own white card (no border), with a gold circle icon on the right. */
.faq {
    background: var(--gw-white);
    border: 0;
    border-radius: 14px;
    margin-bottom: 12px;
    padding: 0 22px;
    transition: box-shadow .25s ease;
}

.faq:has(.faq-ico-rotate) {
    box-shadow: inset 4px 0 0 var(--gw-gold);   /* the open question gets a gold edge */
}

.faq-que {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
    cursor: pointer;
}

.faq-section .institutions-title { margin-bottom: 22px; }

.faq-que-txt {
    font-size: 18px;
    line-height: 1.35;
    font-family: var(--gw-font);
    font-weight: 600;
    margin-bottom: 0;
}

.faq-que span {
    font-family: var(--gw-font);
}

.faq-close {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gw-gold);
    color: var(--gw-navy);
    font-size: 22px;
    font-weight: 500;
    line-height: 1;
    font-family: var(--gw-font) !important;
    transition: transform .3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-ico-rotate {
    transform: rotate(45deg);
}

.faq-ans {
    padding-bottom: 20px;
    display: none;
}

.faq-ans p {
    font-size: 16px;
    line-height: 1.6;
}

/* Right side: ONE card. The counselling photo on top (nothing covers the faces) and the navy "Still have questions?"
   panel attached right below it. Sticky, so it stays in view next to a long FAQ list. */
.faq-visual {
    position: sticky;
    top: 110px;
    max-width: 520px;
    margin: 0 auto;
    background: var(--gw-navy);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(var(--gw-navy-rgb), .18);
}

.faq-visual-main {
    height: 600px;          /* the photo fills the whole card; the text sits on it, at the bottom */
}

.faq-photo {
    overflow: hidden;
    min-width: 0;
}

.faq-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.faq-photo { height: 100%; }
.faq-photo--student img { object-position: center 14%; }       /* face + passport stay in frame */

.faq-cta {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 140px 30px 30px;
    color: var(--gw-white);
    /* navy shade behind the text so white text is always readable on the photo */
    background: linear-gradient(to top, rgba(var(--gw-navy-rgb), .97) 0%, rgba(var(--gw-navy-rgb), .9) 45%, rgba(var(--gw-navy-rgb), 0) 100%);
}

.faq-cta h3,
.faq-cta p {
    text-shadow: 0 1px 2px rgba(var(--gw-navy-rgb), .6);
}

.faq-cta h3 {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 6px;
    color: var(--gw-gold);   /* gold on the navy shade */
}

.faq-cta p {
    font-size: 15px;
    line-height: 1.5;
    margin: 0 0 18px;
    color: var(--gw-white);
}

.faq-cta-btn {
    display: inline-block;
    background: var(--gw-gold-shine);
    color: var(--gw-navy);
    font-weight: 600;
    font-size: 16px;
    padding: 12px 28px;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: var(--gw-gold-glow);
}

.faq-cta-btn:hover {
    color: var(--gw-navy);
    filter: brightness(1.04);
}

@media (max-width: 1199px) {
    .faq-visual { position: relative; top: auto; }   /* not sticky on tablets and phones, but still the frame for the text panel */
}

@media (max-width: 575px) {
    .faq-section { padding: 48px 0; }
    .faq { padding: 0 16px; }
    .faq-que-txt { font-size: 16px; }
    .faq-cta { padding: 22px 20px 24px; }
    .faq-visual-main { height: 480px; }
    .faq-cta { padding-top: 110px; }
}

.select2-disabled-option .select2-result-label {
    cursor: no-drop;
}

.select2-disabled-option {
    background: lightgray;
}

.megamenu a:hover {
    color: var(--gw-gold) !important;
}
/*
.step-ans {
    margin-top: -20px;
    overflow: hidden;
    max-height: 0;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(0, 0, 0);
    transition: max-height 0.5s ease, transform 0.5s ease;
  }

  @-webkit-keyframes moveRight {
    from {
      -webkit-transform: translate3d(0, 0, 0);
      transform: translate3d(0, 0, 0);
    }
    to {
      -webkit-transform: translate3d(0, 0, 0);
      transform: translate3d(0, 0, 0);
    }
  }

  @-webkit-keyframes moveLeft {
    from {
      -webkit-transform: translate3d(0, 0, 0);
      transform: translate3d(0, 0, 0);
    }
    to {
      -webkit-transform: translate3d(-100%, 0, 0);
      transform: translate3d(-100%, 0, 0);
    }
  }

  .single-step-accordion.open .step-ans{
    max-height: 100px;
    margin-top: 0px;
    animation: moveRight 0.8s forwards;
    -webkit-animation: moveRight 0.8s forwards;
  }

  .single-step-accordion.open .step-plus {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  .single-step-accordion.open .step-before-img {
    transform: scale(1);
  } */

  .step-ans {
    margin-top: -20px;
    overflow: hidden;
    max-height: 0; /* Initially hidden */
    -webkit-transform: translate3d(0, 0, 0); /* Hidden off-screen */
    transform: translate3d(0, 0, 0); /* Corrected to match -webkit */
    transition: max-height 0.5s ease, transform 0.5s ease, margin-top 0.3s ease;
  }

  @-webkit-keyframes moveRight {
    from {
      -webkit-transform: translate3d(0, 0, 0);
      transform: translate3d(0, 0, 0);
    }
    to {
      -webkit-transform: translate3d(0, 0, 0);
      transform: translate3d(0, 0, 0);
    }
  }

  @-webkit-keyframes moveLeft {
    from {
      -webkit-transform: translate3d(0, 0, 0);
      transform: translate3d(0, 0, 0);
    }
    to {
      -webkit-transform: translate3d(-100%, 0, 0);
      transform: translate3d(-100%, 0, 0);
    }
  }

  .single-step-accordion.open .step-ans {
    max-height: 100px;
    margin-top: 0px;
    animation: moveRight 0.5s forwards; /* First animation */
    -webkit-animation: moveRight 0.5s forwards;
  }

  .single-step-accordion.open {
    background-color: #222733;
  }

  .single-step-accordion.open .step-plus {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  .single-step-accordion.open .step-before-img {
    transform: scale(1);
    transition: transform 0.5s ease 0.5s; /* Start scaling after moveRight ends */
  }

  .ias-badge-wrap {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    min-height: 90px;
  }

  .ias-badge-wrap #iasBadge {
    display: inline-block;
  }

  @media (max-width:991px) {
    .ias-badge-wrap {
      justify-content: center;
    }
  }
