.footer-container-parent {
    background: #1A2142;
}

.footer-container-parent .footer-container {
    max-width: 1920px;
    margin: 0 auto;
    background: #1A2142;
    padding: 3.34rem 3.938rem 1.438rem 4.5rem;
}

.footer-container-parent .footer-content {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin-bottom: 1.875rem;
}

.footer-container-parent .footer-section h3 {
    color: #FFF;
    font-family: Effra-Bold;
    font-size: 1rem;
    font-style: normal;
    font-weight: normal;
    line-height: normal;
    letter-spacing: 0;
}

.footer-container-parent .footer-section h3::after {
    content: '';
    display: none;
}

.footer-container-parent .footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-container-parent .footer-section:nth-of-type(2) ul {
    width: 10.688rem;
    border: 1px solid transparent;
}

.footer-container-parent .footer-section:nth-of-type(3) ul {
    width: auto;
    border: 1px solid transparent;
}

.footer-container-parent .footer-section ul li {
    margin-bottom: 0.625rem;
    margin-bottom: 0.875rem;
    color: #FFF;
    font-family: Effra-Regular;
    font-size: 0.875rem;
    font-style: normal;
    font-weight: normal;
    line-height: 1.125rem;
    letter-spacing: 0;
}

.footer-container-parent .footer-section ul li a {
    text-decoration: none;
    transition: color 0.3s;
    color: #FFF;
    font-family: Effra-Regular;
    font-size: 0.875rem;
    font-style: normal;
    font-weight: normal;
    line-height: 1.125rem;
}

.footer-container-parent .footer-bottom a {
    text-decoration: none;
}

.footer-container-parent .footer-section img {
    margin-bottom: 0.938rem;
    width: 22px;
    height: 19px;
}

.footer-container-parent .social-links {
    display: flex;
    gap: 9px;
    margin-top: 0.938rem;
    align-items: center;
    flex-wrap: wrap;
}

.footer-container-parent .social-links a {
    line-height: normal;
}

.footer-container-parent .footer-logo-line {
    width: 1.2px;
    height: 35.778px;
    background: #00AEEF;
    margin-top: 0px;
}

.footer-container-parent .footer-content .footer-section:nth-of-type(2) h3 {
    margin-bottom: 2rem;
}

.footer-container-parent .footer-content .footer-section:nth-of-type(3) h3 {
    margin-bottom: 2.024rem;
}

.footer-container-parent .footer-content .footer-section:nth-of-type(4) h3 {
    margin-bottom: 2rem;
}

.footer-container-parent .footer-content .footer-section:nth-of-type(5) h3 {
    margin-bottom: 2.228rem;
}

.footer-container-parent .footer-bottom {
    border-top: 0.5px solid #ffffff;
    padding-top: 1.406rem;
    display: flex;
    justify-content: flex-start;
    column-gap: 3.75rem;
    overflow-wrap: anywhere;
}

.footer-container-parent .footer-bottom p, .footer-container-parent .footer-bottom-copyright-tab {
    color: #FFF;
    font-family: Effra-Bold;
    font-size: 0.75rem;
    font-style: normal;
    font-weight: normal;
    line-height: normal;
    letter-spacing: 0;
}

.footer-container-parent .footer-bottom-line {
    border: 1px solid #ffffff;

}

.footer-container-parent .footer-logo .footer-content-wrapper {
    display: flex;
    column-gap: 13px;
    align-items: center;
    margin-top: -8px;
}

.footer-container-parent .footer-logo-title {
    color: #FFF;
    font-family: Effra-Regular;
    font-size: 1rem;
    font-style: normal;
    font-weight: normal;
    line-height: normal;
    letter-spacing: 0;
    width: 12.875rem;
    margin-top: -2.5px;
}

.footer-container-parent .footer-logo-title-p {
    width: 70%;
    display: inline-block;
    font-weight: normal;
    overflow-wrap: break-word;
}

.footer-container-parent .footer-logo .footer-content-wrapper img {
    max-width: 145.756px;
    height: auto;
    width: auto;
	color: #ffffff;
}

.footer-container-parent .footer-section {
    border: 1px solid transparent;
    overflow-wrap: anywhere;
}

.footer-container-parent .footer-bottom-copyright-tab {
    display: none;
}

@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .footer-container-parent .footer-content {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-container-parent .footer-section {
        border-bottom: 1px solid transparent;
        width: 100%;
        margin-bottom: 16px;
    }

    .footer-container-parent .footer-content .footer-section:nth-of-type(4) h3 {
        margin-bottom: 21px;
        font-size: 32px;
        line-height: 38.4px;
    }

    .footer-container-parent .footer-section h3 {
        padding: 0px;
        margin-bottom: 0;
        cursor: pointer;
        user-select: none;
        position: relative;
        font-size: 24px;
        line-height: 28.8px;
    }

    .footer-container-parent .footer-section h3::after {
        content: '';
        display: block;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 24px;
        height: 24px;
        background: url("ibhomepage/images/footerRedesign_CaratDwn_icon.svg") no-repeat right center;
        background-size: contain;
        background-repeat: no-repeat;
        transition: all 0.3s ease;

    }

    .footer-container-parent .footer-section.active h3::after {
        transform: rotate(180deg);
        top: 25%;
    }

    .footer-container-parent .footer-section .footer-content-wrapper {
        max-height: 0;
        overflow: hidden;
        transition: 0.5s ease-out;
    }

    .footer-container-parent .footer-section.active .footer-content-wrapper {
        max-height: 800px;
        transition: 0.5s ease-in;
    }

    .footer-container-parent .footer-container {
        padding: 56px 24px 25px 20px;
    }

    .footer-container-parent .footer-bottom {
        text-align: left;
        padding-top: 24px;
    }

    .footer-container-parent .footer-logo-title-p {
        width: 100%;
    }

    .footer-container-parent .footer-logo-title {
        font-size: 20px;
        width: 100%;
    }

    .footer-container-parent .footer-content .footer-section:nth-of-type(2) h3,
    .footer-container-parent .footer-content .footer-section:nth-of-type(3) h3,
    .footer-container-parent .footer-content .footer-section:nth-of-type(5) h3 {
        margin-bottom: 24px;
        font-size: 32px;
        line-height: 38.4px;
    }

    /* Keep Follow Us section always open */
    .footer-container-parent .footer-follow-us h3 {
        cursor: default;
    }

    .footer-container-parent .footer-follow-us h3::after {
        display: none;
    }

    .footer-container-parent .footer-follow-us .footer-content-wrapper {
        max-height: none;
        padding-bottom: 18.5px;
    }

    .footer-container-parent .footer-logo .footer-content-wrapper {
        margin-bottom: 56px;
    }

    .footer-container-parent .footer-section ul li a {
        font-size: 16px;
        line-height: normal;
    }

    .footer-container-parent .footer-section:nth-of-type(2) ul {
        width: auto;
    }

    .footer-container-parent .footer-section ul li {
        margin-bottom: 16px;
    }

    .footer-container-parent .footer-content .footer-section:nth-of-type(5) h3 {
        display: none;
    }

    .footer-container-parent .footer-section img {
        width: 36px;
        height: 31px;
    }

    .footer-container-parent .footer-bottom p, .footer-container-parent .footer-bottom-copyright-tab {
        font-size: 16px;
    }

    .footer-container-parent .footer-bottom-copyright-tab {
        display: block;
        text-align: center;
        margin-top: 24px;
    }

    .footer-container-parent .footer-bottom-copyright {
        display: none;
    }
}

/* Mobile View (landscape) */
@media only screen and (min-width: 389px) and (max-width: 935px) and (orientation: landscape) {
    .footer-container-parent .footer-content {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-container-parent .footer-section {
        border-bottom: 1px solid transparent;
        width: 98%;
    }

    .footer-container-parent .footer-section h3 {
        padding: 0px;
        margin-bottom: 0;
        cursor: pointer;
        user-select: none;
        position: relative;
        font-size: 24px;
        line-height: 28.8px;
    }

    .footer-container-parent .footer-section h3::after {
        content: '';
        display: block;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 24px;
        height: 24px;
        background: url("ibhomepage/images/footerRedesign_CaratDwn_icon.svg") no-repeat right center;
        background-size: contain;
        background-repeat: no-repeat;
        transition: all 0.3s ease;

    }

    .footer-container-parent .footer-section.active h3::after {
        transform: rotate(180deg);
        top: 25%;
    }

    .footer-container-parent .footer-section .footer-content-wrapper {
        max-height: 0;
        overflow: hidden;
        transition: 0.5s ease-out;
    }

    .footer-container-parent .footer-section.active .footer-content-wrapper {
        max-height: 800px;
        transition: 0.5s ease-in;
    }

    .footer-container-parent .footer-container {
        padding: 58px 20px 60px 20px;
    }

    .footer-container-parent .footer-bottom {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px 20px;
        text-align: left;
        padding-top: 48px;
    }

    .footer-container-parent .footer-logo-title-p {
        width: 100%;
    }

    .footer-container-parent .footer-logo-title {
        font-size: 20px;
        width: 100%;
    }

    .footer-container-parent .footer-content .footer-section:nth-of-type(2) h3,
    .footer-container-parent .footer-content .footer-section:nth-of-type(3) h3,
    .footer-container-parent .footer-content .footer-section:nth-of-type(4) h3,
    .footer-container-parent .footer-content .footer-section:nth-of-type(5) h3 {
        margin-bottom: 24px;
    }

    /* Keep Follow Us section always open */
    .footer-container-parent .footer-follow-us h3 {
        cursor: default;
    }

    .footer-container-parent .footer-follow-us h3::after {
        display: none;
    }

    .footer-container-parent .footer-follow-us .footer-content-wrapper {
        max-height: none;
        padding-bottom: 18.5px;
    }

    .footer-container-parent .footer-logo .footer-content-wrapper {
        margin-bottom: 56px;
    }

    .footer-container-parent .footer-section ul li a {
        font-size: 16px;
        line-height: normal;
    }

    .footer-container-parent .footer-section:nth-of-type(2) ul {
        width: auto;
    }

    .footer-container-parent .footer-section ul li {
        margin-bottom: 16px;
    }

    .footer-container-parent .footer-content .footer-section:nth-of-type(5) h3 {
        display: none;
    }

    .footer-container-parent .footer-content .footer-section:nth-of-type(4) h3 {
        margin-bottom: 37px;
    }

    .footer-container-parent .footer-section img {
        width: 36px;
        height: 31px;
    }

    .footer-container-parent .footer-bottom p, .footer-container-parent .footer-bottom-copyright-tab {
        font-size: 16px;
    }
}

/* Mobile Accordion (max-width: 767px) */
@media (max-width: 767px) {
    .footer-container-parent .footer-content {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-container-parent .footer-section {
        border-bottom: 1px solid transparent;
        width: 98%;
    }

    .footer-container-parent .footer-section h3 {
        padding: 0px;
        margin-bottom: 0;
        cursor: pointer;
        user-select: none;
        position: relative;
        font-size: 24px;
        line-height: 28.8px;
    }

    .footer-container-parent .footer-section h3::after {
        content: '';
        display: block;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 24px;
        height: 24px;
        background: url("ibhomepage/images/footerRedesign_CaratDwn_icon.svg") no-repeat right center;
        background-size: contain;
        background-repeat: no-repeat;
        transition: all 0.3s ease;

    }

    .footer-container-parent .footer-section.active h3::after {
        transform: rotate(180deg);
        top: 25%;
    }

    .footer-container-parent .footer-section .footer-content-wrapper {
        max-height: 0;
        overflow: hidden;
        transition: 0.5s ease-out;
    }

    .footer-container-parent .footer-section.active .footer-content-wrapper {
        max-height: 800px;
        transition: 0.5s ease-in;
    }

    .footer-container-parent .footer-container {
        padding: 58px 20px 60px 20px;
    }

    .footer-container-parent .footer-bottom {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px 20px;
        text-align: left;
        padding-top: 48px;
    }

    .footer-container-parent .footer-logo-title-p {
        width: 100%;
        word-break: break-all;
    }

    .footer-container-parent .footer-logo-title {
        font-size: 20px;
        width: 100%;
    }

    .footer-container-parent .footer-content .footer-section:nth-of-type(2) h3,
    .footer-container-parent .footer-content .footer-section:nth-of-type(3) h3,
    .footer-container-parent .footer-content .footer-section:nth-of-type(4) h3,
    .footer-container-parent .footer-content .footer-section:nth-of-type(5) h3 {
        margin-bottom: 24px;
    }

    /* Keep Follow Us section always open */
    .footer-container-parent .footer-follow-us h3 {
        cursor: default;
    }

    .footer-container-parent .footer-follow-us h3::after {
        display: none;
    }

    .footer-container-parent .footer-follow-us .footer-content-wrapper {
        max-height: none;
        padding-bottom: 18.5px;
    }

    .footer-container-parent .footer-logo .footer-content-wrapper {
        margin-bottom: 56px;
    }

    .footer-container-parent .footer-section ul li a {
        font-size: 16px;
        line-height: normal;
    }

    .footer-container-parent .footer-section:nth-of-type(2) ul {
        width: auto;
    }

    .footer-container-parent .footer-section ul li {
        margin-bottom: 16px;
    }

    .footer-container-parent .footer-content .footer-section:nth-of-type(5) h3 {
        display: none;
    }

    .footer-container-parent .footer-content .footer-section:nth-of-type(4) h3 {
        margin-bottom: 37px;
    }

    .footer-container-parent .footer-section img {
        width: 36px;
        height: 31px;
    }

    .footer-container-parent .footer-bottom p, .footer-container-parent .footer-bottom-copyright-tab {
        font-size: 16px;
    }

}

@media (min-width: 1025px) {
    .footer-container-parent .footer-content {
        grid-template-columns: 1.2fr 0fr 0.7fr 0.945fr 0.9fr 0.5fr;
    }

    .footer-container-parent .footer-section:nth-child(1) {
        grid-column: 1;
    }

    .footer-container-parent .footer-section:nth-child(2) {
        grid-column: 3;
    }

    .footer-container-parent .footer-section:nth-child(3) {
        grid-column: 4;
    }

    .footer-container-parent .footer-section:nth-child(3) .footer-content-wrapper {
        width: 92%;
    }

    .footer-container-parent .footer-section:nth-child(4) .footer-content-wrapper {
        width: 15.5em;
    }

    .footer-container-parent .footer-section:nth-child(4) .footer-content-wrapper ul {
        width: 96.5%;
    }

    .footer-container-parent .footer-section:nth-child(4) {
        grid-column: 5;
    }

    .footer-container-parent .footer-section:nth-child(5) {
        grid-column: 6;
    }

    .footer-container-parent .footer-section ul li a:hover, .footer-container-parent .footer-bottom a:hover {
        text-decoration: underline;
        text-decoration-color: #ffffff;
    }

    .footer-container-parent .social-links {
        max-width: 200px;
    }

    .footer-container-parent .footer-logo-line {
        width: 1px;
    }
}

@media (min-width: 1920px) {
    .footer-container-parent .footer-logo-title {
        font-size: 1.35rem;
        width: 60%;
    }

    .footer-container-parent .footer-section h3 {
        font-size: 1.35rem;
    }

    .footer-container-parent .footer-section ul li a {
        font-size: 1.12rem;
        line-height: 1rem;
    }

    .footer-container-parent .footer-bottom p {
        font-size: 0.9rem;
    }

    .footer-container-parent .footer-section img {
        width: 26px;
        height: 22.858px;
    }

    .footer-container-parent .footer-section:nth-child(4) .footer-content-wrapper {
        width: 92%;
    }

    .footer-container-parent .footer-content {
        grid-template-columns: 1.1fr 0fr 0.6fr 0.8fr 0.9fr 0.5fr;
    }
}

@media (min-width: 2500px) {
    .footer-container-parent .footer-content {
        grid-template-columns: 1fr 0fr 0.6fr 0.8fr 1fr 0.5fr;
    }

    .footer-container-parent .footer-logo-title-p {
        width: 80%;
    }

    .footer-container-parent .footer-logo .footer-content-wrapper {
        margin-top: -4px;
    }
}

@media (min-width: 3840px) {
    .footer-container-parent .footer-container {
        padding: 3.8rem 1rem 2.7rem 1.2rem;
    }

    .footer-container-parent .footer-logo-title {
        font-size: 1.2rem;
        width: 60%;
    }

    .footer-container-parent .footer-section h3 {
        font-size: 1.2rem;
    }

    .footer-container-parent .footer-section ul li a {
        font-size: 1rem;
        line-height: 0.9rem;
    }

    .footer-container-parent .footer-bottom p {
        font-size: 0.8rem;
    }

    .footer-container-parent .footer-bottom {
        padding-top: 2.24rem;
    }
}