:root {
    --primary-color: #821E2A;
    --secondary-color: #C79906;
    --text-color: #4B4B4B;
    --light-bg: #EFEBE5;
    --light-bg-2: #F5F5F5;

    --fluid-font: clamp(14px, calc(0.625vw + 6px), 18px);
}

html, 
body {
    font-size: var(--fluid-font);
    line-height: 1.66;
    color: var(--text-color);
    font-family: 'Roboto', sans-serif;
}

.head_font {
    font-family: 'Roboto Slab', serif;
}

body {
    margin: 0;
    padding: 0;
    max-width: 100dvw;
    overflow-x: hidden;
}

.site_section {
    padding: 0 20rem;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
}

.site_content_area {
    padding: 5.33rem 0;
}

.btn-custom,
.btn-custom:focus,
.btn-custom:active {
    min-width: 12.33rem;
    height: 3.11rem;
    background-color: var(--secondary-color);
    color: black;
    border-radius: 5rem;
    text-transform: uppercase;
    padding: 0.25rem 2rem;
    line-height: 1;
    font-weight: 500;
    font-size: 1.33rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--secondary-color);
    box-shadow: none;
    outline: none;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn-custom:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: white;
}

.hero-section {
    width: 100%;
    position: relative;
    background-color: var(--text-color);
}

.hero-section .splide__slide {
    position: relative;
    padding: 6.66rem 0 6rem;
}

.slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: start;
}

.slide-content .logo,
.thank-content .logo {
    width: 10rem;
    margin-bottom: 3.88rem;
}

.slide-content h1 {
    font-size: 4.55rem;
    line-height: 1.036em;
    margin: 0;
    font-weight: 400;
    color: #ffffff;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}

.slide-content h3 {
    font-size: 2.22rem;
    font-weight: 700;
    margin: 2rem 0;
    color: #ffffff;
    line-height: 1.3em;
}

.slide-content .decorative-image {
    width: 18.33rem;
    margin-top: 0.5rem;
}

.splide__pagination {
    bottom: 8rem;
    gap: 1rem;
}

.splide__pagination__page {
    background-color: white;
    opacity: 1;
    width: 0.55rem;
    height: 0.55rem;
}

.splide__pagination__page.is-active {
    background-color: var(--secondary-color);
    opacity: 1;
}

.site_content_area {
    gap: 5.33rem 1rem;
}

.course_info_item:nth-child(3n+1) {
    width: 20rem;
}

.course_info_item:nth-child(3n+2) {
    width: 18rem;
}

.course_info_item:nth-child(3n) {
    width: 10rem;
}

.course_info_item h3 {
    font-weight: 300;
    font-size: 1.11rem;
    line-height: 1.5;
    text-transform: uppercase;
    letter-spacing: 0.3em;
}

.course_info_item h5 {
    font-family: 'Roboto Slab', serif;
    color: var(--secondary-color);
    font-size: 1.11rem;
    line-height: 1.5;
    font-weight: 400;
}

.siteHeading {
    font-family: 'Roboto Slab', serif;
    font-size: 1.666rem;
    line-height: 1.33;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.about-section {
    margin-bottom: 5.33rem;
    overflow: hidden;
}

.about-section-content {
    background: var(--light-bg-2);
    margin-inline: -5.55rem;
    padding-inline: 5.55rem;
    gap: 5rem;
}

.about-section-content-left {
    width: 1%;
    flex-grow: 1;
}

.about-section-content-left p,
.about-section-content-left li {
    line-height: 2;
}

.about-section-content-right {
    width: 31.71rem;
    margin-right: -5.55rem;
}

.about-section-content-right .about-image {
    margin: -5.33rem 0;
    width: 100%;
    height: calc(100% + 10.66rem);
    object-fit: cover;
    object-position: center;
}

.video-thumb {
    width: 36.66rem;
    aspect-ratio: 660/346;
    background-color: var(--primary-color);
    margin-top: 4rem;
}

.video-thumb-cover {
    width: 100%;
    height: 100%;
    position: relative;
    cursor: pointer;
    transform: translate(-1.66rem, 1.66rem);
}

.video-thumb-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-thumb-play-icon {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    width: 1.22rem
}

.video-thumb-fullscreen-icon {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    width: 1.22rem
}

.video-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    animation: fadeOut 0.3s ease-in-out forwards;
}

.video-popup-overlay.active {
    display: flex;
    animation: fadeIn 0.3s ease-in-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.video-popup-container {
    position: relative;
    width: 95vw;
    height: 95vh;
    max-width: 95vw;
    max-height: 95vh;
    aspect-ratio: 16 / 9;
}

.video-popup-content {
    width: 100%;
    height: 100%;
    border-radius: 0.5rem;
    overflow: hidden;
    background-color: black;
}

.video-popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    z-index: 10000;
    transition: color 0.3s ease;
}

.video-popup-close:hover {
    color: var(--secondary-color);
}

.cohort-section {
    background-color: var(--light-bg);
}

.cohort-section h4 {
    font-size: 1rem;
    font-weight: 700;
}

.cohortList {
    padding-top: 2rem;
}

.cohortList_item {
    background: linear-gradient( to right, #ffffff66, #ffffff00);
    border: 1px solid #ffffff;
    padding: 2.44rem;
    width: 18rem;
}

.cohortList_item h5 {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 700;   
}

.shiftList {
    display: flex;
    flex-wrap: wrap;
    gap: 4.222rem 5.33rem;
    padding-top: 4.222rem;
}

.shiftList_item {
    width: 35%;
    flex-grow: 1;
    border: 1px solid #D9D9D9;
    border-radius: 1.66rem;
    padding: 1.77rem 2.22rem;
    background: white;
    box-shadow: 0 0rem 0rem rgba(0, 0, 0, 0);
    transition: box-shadow 0.3s ease;
}

.shiftList_item:hover {
    box-shadow: 0 0.55rem 0.66rem rgba(0, 0, 0, 0.1);
}

.shiftList_item h3 {
    font-size: 1rem;
    font-weight: 700;
    border-bottom: 1px dashed var(--secondary-color);
    padding-bottom: 0.8rem;
    margin-bottom: 0.8rem;
}

.edge-section {
    background-color: black;
    background-image: url(images/iifr_image_07.png);
    background-position: center center;
    background-size: cover;
    overflow: hidden;
}

.edge-section .site_content_area {
    position: relative;
}

.edge-section .site_content_area::before {
    content: "";
    position: absolute;
    top: 0;
    left: calc(100% - 35rem);
    bottom: 0;
    background-color: #042D4D;
    z-index: 1;
    width: 100vw;
    mix-blend-mode: multiply;
}

.edge-section-content {
    max-width: 28rem;
    width: 100%;
    position: relative;
    z-index: 2;
}

.edge-section-content p {
    color: white;
}

.edgeList {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem 0;
    padding-top: 2rem;
}

.edgeList_item {
    width: 100%;
    max-width: 11.11rem;
}

.edgeList_item h3 {
    font-size: 1rem;
    color: white;   
    font-weight: 700;
    line-height: 1.38;
    margin-bottom: 0.7rem;
}

.edgeList_item p {
    color: white;
    line-height: 1.38;
    margin: 0;
}

.learning_section {
    background-color: var(--light-bg-2);
}

.learningList {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4rem 0;
    padding-top: 4rem;
}

.learningList_item {
    width: 100%;
    max-width: 32rem;
}

.learningList_item img {
    width: 3.66rem;
    height: 3.66rem;
    transform: translateX(-10%);
    mix-blend-mode: multiply;
}

.learningList_item h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-block: 0.5rem 1rem;
}

.faculty-section {
    background-color: var(--light-bg);
}

.legacy_content_right {
    background: var(--light-bg-2);
    width: 25.94rem;
    height: 23.88rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1.5rem;
}

.legacy_content_left,
.sitefooter_left_content {
    width: 1%;
    flex-grow: 1;
}

.bvb_image {
    width: 13.055rem;
}

.efmd_image {
    width: 8.055rem;
}

.legacy_content_right hr {
    opacity: 1;
    border-color: #D9D9D9;
    width: 12.277rem;
}

.siteFooter {
    background: var(--primary-color);
    padding-block: 2rem;
}

.sitefooter_left {
    width: 100%;
    max-width: 33.944rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.sitefooter_left img {
    width: 9.5rem;
}

.sitefooter_left p {
    color: white;
    line-height: 1.38em;
}

.sitefooter_left .siteHeading {
    border-bottom: 1px solid var(--secondary-color);
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    line-height: 1.16em;
    display: inline-block;
}

.sitefooter_right {
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 0.7rem;
}

.sitefooter_right a,
.sitefooter_right p {
    color: white;
    text-decoration: none;
}

.social_links {
    gap: 2.25rem;
}

.social_links img {
    height: 1.27rem;
    max-width: 1.27rem;
}

.stepCards_section {
    padding-inline: 5.55rem;
    padding-bottom: 5.33rem;
}

.stepCards_outter {
    padding-block: 4rem 3.5rem;
}

.stepCards_item,
.stepCards_item_inner {
    width: 14.166rem;
    height: 13.88rem;
}

.stepCards_item.active {
    width: 20.27rem;
}

.stepCards_item {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: width 0.4s ease-in-out;
}

.stepCards_item_inner {
    background-color: var(--light-bg-2);
    border-radius: 1.22rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1rem 2rem 2rem;
    transform: scale(1);
    transition: transform 0.4s ease-in-out, background-color 0.3s ease;
}

.stepCards_item.active .stepCards_item_inner {
    background-color: var(--light-bg);
    transform: scale(1.43);
}

.stepCards_item h4 {
    color: white;
    font-family: 'Roboto Slab', serif;
    font-size: 7.22rem;
    line-height: 1em;
    margin: 0;
    font-weight: 700;
}

.stepCards_item h6 {
    font-weight: 700;
    font-size: 0.88rem;
    line-height: 1.125em;
    margin: 0;
}

.stepCards_arrow {
    width: 0.4rem;
}

.facultySlider {
    margin-top: 5.33rem;
    position: relative;
}

.faculty_image {
    margin-top: 0.25rem;
    width: 13.88rem;
    border: 1px solid var(--secondary-color);
}

.faculty_data,
.form-image {
    width: 1%;
    flex-grow: 1;
}

.faculty_data h5 {
    color: var(--secondary-color);
    font-size: 1.33rem;
    font-weight: 700;
    line-height: 1;
}

.faculty_data p {
    line-height: 1.66em;
}

.custom-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 1.44rem;
    height: 1.44rem;
    border-radius: 50%;
    background: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.custom-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.faculty-slider-prev {
    left: -2.5rem;
}

.step-slider-prev {
    left: 1rem;
}

.faculty-slider-prev .arrow-icon,
.step-slider-prev .arrow-icon {
    transform: rotate(180deg);
    width: 0.65rem;
    height: 0.65rem;
}

.faculty-slider-next {
    right: -2.5rem;
}

.step-slider-next {
    right: 1rem;
}

.faculty-slider-next .arrow-icon,
.step-slider-next .arrow-icon {
    width: 0.65rem;
    height: 0.65rem;
}

.form_section {
    overflow: hidden;
}

.form_section .site_content_area {
    position: relative;
}

.form_section .site_content_area::after {
    position: absolute;
    content: '';
    top: 0;
    width: 100vw;
    bottom: 0;
    left: 0;
    background: var(--light-bg);
    z-index: -1;
}

.form-image img {
    height: 100%;
    margin-left: -20rem;
    width: calc(100% + 20rem);
    object-fit: cover;
    object-position: center;
}

.formwrap {
    width: 100%;
    max-width: 28rem;
    padding-block: 1.5rem;
}

.ecp_form {
    margin-top: 2.66rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: start;
}

.form_group {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
}

.parsley-errors-list {
    position: absolute;
    bottom: 0rem;
    right: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.8rem;
    color: #ff4d4d;
    font-weight: 400;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.parsley-errors-list.filled {
    opacity: 1;
}

.parsley-error,
.form_group.parsley-error .form_input,
.phone_group.parsley-error {
    border-bottom-color: #ff4d4d !important;
}

.form_input {
    padding: 0.25rem 0rem;
    border: none;
    border-bottom: 1px solid white;
    border-radius: 0;
    background: transparent;
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    color: #4B4B4B;
    transition: all 0.3s ease;
    width: 100%;
}

.form_input::placeholder {
    color: #A0A0A0;
}

.form_input:focus {
    outline: none;
    border-bottom-color: var(--secondary-color);
}

.phone_group {
    flex-direction: row;
    gap: 0;
    align-items: center;
    border-bottom: 1px solid white;
    position: relative;
}

.phone_group .form_input {
    border-bottom: none;
}

.country_code_wrap {
    position: relative;
    display: flex;
    align-items: center;
    flex: 0 0 3.5rem;
    width: 3.5rem;
}

.country_code_display {
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    color: #A0A0A0;
    width: 100%;
    padding: 0rem 0;
    pointer-events: none;
    white-space: nowrap;
}

.country_code {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.country_code:focus {
    outline: none;
}

.phone_input {
    flex: 1;
    padding-left: 1rem;
}

.info-tooltip {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    vertical-align: middle;
    margin-left: 0.5rem;
    z-index: 10;
    width: 1.5rem;
    height: 1.5rem;
    background: white;
    border: 1px solid #D9D9D9;
    border-radius: 50%;
    color: #D9D9D9;
    font-size: 0.9rem;
    font-weight: bold;
}

.phone_group .info-tooltip {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 0;
}

.info-tooltip img {
    width: 1.1rem;
    height: 1.1rem;
}

.tooltip-text {
    position: absolute;
    left: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%) translateX(-10px);
    width: 260px;
    min-width: 160px;
    background-color: #EFEBE5;
    color: #4B4B4B;
    padding: 1rem 1.2rem;
    border-radius: 0.8rem;
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.4;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1001;
    pointer-events: none;
    text-align: left;
    white-space: normal;
    font-family: 'Roboto', sans-serif;
}

/* Tooltip tail on the left (default) */
.tooltip-text::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -10px;
    transform: translateY(-50%);
    border-width: 8px 10px 8px 0;
    border-style: solid;
    border-color: transparent #EFEBE5 transparent transparent;
}

/* Tooltip on the left of trigger - tail on the right */
.tooltip-text.is-left {
    transform: translateY(-50%) translateX(10px);
}

.tooltip-text.is-left::before {
    left: auto;
    right: -10px;
    border-width: 8px 0 8px 10px;
    border-color: transparent transparent transparent #EFEBE5;
}

.info-tooltip:hover .tooltip-text {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

/* Specific style for form tooltip */
.phone_group .tooltip-text {
    background-color: white !important;
}

.phone_group .tooltip-text::before {
    border-right-color: white !important;
}

.phone_group .tooltip-text.is-left::before {
    border-right-color: transparent !important;
    border-left-color: white !important;
}

.form-info-icon {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1.5rem;
    height: 1.5rem;
    background: white;
    border: 1px solid #D9D9D9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #D9D9D9;
    font-size: 0.9rem;
    font-weight: bold;
    pointer-events: none;
}

.city_select {
    appearance: none;
    background-image: 
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23A0A0A0' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    padding-left: 0.25rem;
    padding-right: 2rem;
    cursor: pointer;
    color: #A0A0A0;
}

.city_select.has-value {
    color: #4B4B4B;
}

.checkbox_group {
    flex-direction: row;
    gap: 1rem;
    align-items: flex-start;
    margin: 0.5rem 0 0;
    position: relative;
    padding-bottom: 1rem;
}

.checkbox_group.parsley-error input[type="checkbox"] {
    border-color: #ff4d4d !important;
}

.checkbox_group input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 1.6rem;
    height: 1.6rem;
    border: 1px solid #D9D9D9;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.checkbox_group input[type="checkbox"]:checked {
    border-color: #4B4B4B;
}

.checkbox_group input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #4B4B4B;
    font-size: 1rem;
}

.checkbox_group label {
    font-size: 0.95rem;
    line-height: 1.4;
    color: #4B4B4B;
    cursor: pointer;
}

.btn_submit,
.btn_submit:focus,
.btn_submit:active {
    background: var(--primary-color) !important;
    border: none !important;
    color: white !important;
    border-radius: 5rem !important;
    padding: 1rem 4rem !important;
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    width: auto !important;
    min-width: 15rem !important;
    margin-top: 0rem;
    text-transform: capitalize !important;
}

.btn_submit:hover {
    background: var(--secondary-color) !important;
    color: black !important;
    border-color: white;
}

.fab_download {
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    width: 3.33rem;
    height: 3.33rem;
    background: var(--primary-color);
    border: 1px solid var(--secondary-color);
    z-index: 999;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.fab_download:hover {
    transform: scale(1.1);
}

.fab_tooltip {
    position: absolute;
    right: calc(100% + 15px);
    white-space: nowrap;
    background-color: #D9D9D9;
    color: #000;
    padding: 0.6rem 1.2rem;
    border-radius: 0.8rem;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transform: translateX(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    text-align: right;
}

.fab_tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -8px;
    transform: translateY(-50%);
    border-width: 6px 0 6px 8px;
    border-style: solid;
    border-color: transparent transparent transparent #D9D9D9;
}

.fab_download:hover .fab_tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.fab_download img {
    width: 1.388rem;
}

.thank-content {
    width: 100%;
    max-width: 35rem;
}

.thank-content h1 {
    color: var(--primary-color);
    font-family: 'Roboto Slab', serif;
    font-size: 4.55rem;
    line-height: 1.1;
    font-weight: 400;
    margin-top: 5rem;
}

.thank-content p {
    line-height: 1.3em;
    font-weight: 600;
    margin-bottom: 3rem;
}

.btn-thank,
.btn-thank:focus,
.btn-thank:active {
    background-color: var(--light-bg-2);
    font-size: 1.1rem;
    color: #53575A;
    font-weight: 500;
}

.thank-image {
    width: 1%;
    flex-grow: 1;
    height: 47.22rem;
    position: relative;
}

.thank-image img {
    height: 100%;
    width: calc(100% + 20rem);
    margin-right: -20rem;
    position: relative;
    z-index: 2;
    object-fit: cover;
    object-position: center;
}

.thank-image::after {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: calc(100% + 20rem);
    content: "";
    border: 1px solid var(--secondary-color);
    z-index: 1;
    transform: translate(-2rem, -2rem);
}