/*========================================
  BANNER SECTION
========================================*/
.learn-traacs-top {
    position: relative;
    background: url(../images/bluebg.jpg) no-repeat;
    background-size: cover;
    color: white;
    overflow: hidden;
    padding: 64px 0px;
    background-color: #014A78;
}
.learn-traacs-title {
    color: #fff;
    padding-bottom: 24px;
    margin-bottom: 0;
    font-size: 50px;
    font-weight: 600;
    line-height: 115%;
    letter-spacing: -0.5px;
}
.learn-traacs-content p {
    color: rgba(255, 255, 255, 1);
    font-size: 19px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}

/*========================================
  HORIZONTAL TABS
========================================*/
.updates-tabs-section {
    background-color: #FFF;
    padding-bottom: 72px;
}
.horizontal-tabs-wrapper-outer {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background: #F0F4F8;
    margin-bottom: 40px;
}
.horizontal-tabs-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.horizontal-tabs-wrapper::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.horizontal-tabs-wrapper {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.horizontal-tabs-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 0;
    min-width: max-content;
}

.horizontal-tab-item {
    position: relative;
    padding: 16px 32px;
    cursor: pointer;
    color: #000;
    font-family: "Inter Tight", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 110%;
    letter-spacing: 0.32px;
    white-space: nowrap;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    background-color: transparent;
}
.horizontal-tab-item:hover {
    color: #014A78;
    background-color: rgba(1, 74, 120, 0.05);
}
.horizontal-tab-item.active {
    color: #00;
    font-weight: 600;
    border-bottom-color: #014A78;
    background-color: rgba(1, 74, 120, 0.05);
}

.horizontal-tabs-content {
    position: relative;
}

.tab-content-wrapper {
    display: none;
    animation: fadeInUp 0.4s ease;
}

.tab-content-wrapper.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*========================================
  GENERAL UTILITIES
========================================*/
.full-flex {
    display: flex;
}

/*========================================
  FEATURES SECTION
========================================*/
.features-section1 {
    background-size: cover;
    height: 514px;
    position: relative;
    background-repeat: no-repeat;
}
.features-section1-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: url('../images/features-section1-overlay.webp');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.features-section1-container {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    height: 100%;
    position: relative;
}
.features-section1-title {
    color: #FFF;
    text-align: center;
    font-family: "Inter Tight", sans-serif;
    font-size: 60px;
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
    letter-spacing: -0.6px;
    margin: 0;
}

.features-section2,
.features-section3 {
    padding: 0;
    background-color: #FFF;
}

.features-section2.desktop {
    display: flex;
}
.features-section3.mobile {
    display: none;
}

.features-section2-inner-block {
    display: flex;
    gap: 64px;
    justify-content: space-between;
}

/*========================================
  SIDEBAR NAVIGATION
========================================*/
.features-sidebar {
    width: 260px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    padding: 20px;
    align-items: flex-start;
    gap: 2px;
    border: 1px solid #D6DBDF;
    background: #FFF;
    max-height: calc(100vh - 140px); /* Dynamic height based on viewport - adjust 140px to header height + gap */
    flex-shrink: 0;
    position: sticky;
    top: 120px; /* Adjust this value to match your sticky header height + desired gap */
    align-self: flex-start;
}

.features-title {
    color: #050E15;
    font-family: "Work Sans", sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 100%;
    letter-spacing: -0.48px;
    margin-bottom: 20px;
}

.features-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.features-sidebar li {
    margin-bottom: 12px;
    padding: 6px 12px;
    cursor: pointer;
    color: #050E15;
    font-family: "Inter Tight", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%;
    letter-spacing: -0.16px;
    border-radius: 0;
    border: none;
    transition: all 0.2s ease-in-out;
}

.features-sidebar li:hover {
    background: rgba(1, 74, 120, 0.10);
}

.features-sidebar li.active {
    background: rgba(1, 74, 120, 0.10);
}

/*========================================
  CONTENT AREA
========================================*/
.features-content {
    flex: 1;
    overflow-y: auto;
    background-color: #FFF;
}

.content-section {
    display: none;
    animation: fadeIn 0.4s ease;
    background-color: #fff;
}

.content-section.active {
    display: block;
}

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

.features-section2-wrapper {
    gap: 32px;
}

.features-section2-half.left {
    flex: 1;
    padding: 0;
}

.features-section2-half.right {
    padding: 12px;
    width: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.features-section2-half.right img {
    max-width: 100%;
    width: 100%;
    height: auto;
    transition: all 0.3s ease-in-out;
}

.features-section2-half.right img:hover {
    transform: scale(1.05);
    transition: all 0.3s ease;
}

.updateDate {
    display: block;
    color: #2F373D;
    font-size: 14px;
    font-weight: 500;
    line-height: 150%;
    margin-top: 4px;
}

/*========================================
  CONTENT BLOCKS
========================================*/
.features-section2-top-block {
    margin-bottom: 30px;
}

.features-section2-top-block h4 {
    color: #2F373D;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 110%;
    text-transform: uppercase;
    text-align: left;
    margin-bottom: 15px;
}

.features-section2-top-block p img {
    padding-top: 15px;
    margin-right: 15px;
}

.features-section2-top-block h3 {
    color: #191B1D;
    font-family: "Inter Tight", sans-serif;
    font-size: 22px;
    font-style: normal;
    font-weight: 600;
    line-height: 110%;
    letter-spacing: -0.44px;
    text-align: left;
    margin: 20px 0 20px 0;
}
.features-section2-top-block h3:first-child {margin-top: 0;}

.features-section2-top-block p, 
.features-section2-top-block li {
    color: #2F373D;
    font-family: "Inter Tight", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    padding-bottom: 10px;
    margin: 0;
}

.features-section2-description-wrapper {
    margin-bottom: 40px;
}

.each-feature-description-block {
    margin-bottom: 20px;
}

.each-feature-title {
    color: #050E15;
    font-family: "Inter Tight", sans-serif;
    font-size: 19px;
    font-style: normal;
    font-weight: 600;
    line-height: 125%;
    letter-spacing: -0.19px;
    display: flex;
    gap: 12px;
    padding-bottom: 5px;
}

.each-feature-description {
    box-sizing: border-box;
    padding-left: 32px;
}

.each-feature-description p {
    color: #2F373D;
    font-family: "Inter Tight", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}

.features-section2-bottom-block {
    margin-top: 30px;
}

.features-section2-bottom-block p {
    color: #2F373D;
    font-family: "Inter Tight", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    margin: 0 0 10px 0;
}

.features-section2-bottom-block p a {
    color: #014A78;
    font-weight: 500;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

.features-section2-top-block ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.features-section2-top-block ul li {
    background-image: url('../images/vector-traacs-favicon-small.svg');
    background-position: 0 6px;
    background-repeat: no-repeat;
    background-size: auto;
    padding-left: 26px;
}

/**/
.banner-cta-button, .black-button {
    min-width: 205px;
    margin: 10px 0 0;
}

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

/* 1680px */
@media only screen and (max-width: 1680px) {
    /* Add specific styles if needed */
}

/* 1520px */
@media only screen and (max-width: 1520px) {
    /* Add specific styles if needed */
}

/* 1490px */
@media only screen and (max-width: 1490px) {
    /* Add specific styles if needed */
}

/* 1366px */
@media only screen and (max-width: 1366px) {
    .features-section1-title {
        font-size: 55px;
    }
    .features-section1 {
        height: 450px;
    }
    .features-title {
        font-size: 20px;
    }
    .features-sidebar {
        top: 100px; /* Adjust for smaller screens */
        max-height: calc(100vh - 120px);
    }
    .features-sidebar li {
        font-size: 14px;
    }
    .features-section2-top-block h4 {
        font-size: 14px;
    }
    .features-section2-top-block h3 {
        font-size: 25px;
    }
    .features-section2-top-block p {
        font-size: 14px;
    }
    .each-feature-title {
        font-size: 16px;
    }
    .each-feature-description p {
        font-size: 14px;
    }
    .features-section2-bottom-block p {
        font-size: 14px;
    }
    .horizontal-tab-item {
        font-size: 15px;
        padding: 14px 28px;
    }
}

/* 1280px */
@media only screen and (max-width: 1280px) {
    .features-section1-title {
        font-size: 50px;
    }
    .features-section1 {
        height: 400px;
    }
    .features-title {
        font-size: 18px;
    }
    .features-section2-top-block h4 {
        font-size: 12px;
    }
    .features-section2-top-block h3 {
        font-size: 22px;
    }
    .each-feature-title {
        font-size: 15px;
    }
    .horizontal-tab-item {
        font-size: 15px;
        padding: 16px 24px;
    }
}

/* 1200px */
@media only screen and (max-width: 1200px) {
    .features-section1-title {
        font-size: 45px;
    }
    .features-section1 {
        height: 350px;
    }
}

/* 1024px */
@media only screen and (max-width: 1024px) {
    .features-section1-title {
        font-size: 40px;
    }
    .features-section2,
    .features-section3 {
        padding: 0;
    }
    .features-section2-inner-block {
        gap: 50px;
    }
    .features-title {
        font-size: 16px;
    }
    .features-section2-top-block h3 {
        font-size: 20px;
    }
    .features-sidebar li {
        font-size: 13px;
    }
    .horizontal-tab-item {
        padding: 16px 20px;
        font-size: 15px;
    }
}

/* 880px */
@media only screen and (max-width: 880px) {
    .features-section1-title {
        font-size: 35px;
    }
    .features-section1 {
        height: 300px;
    }
    .features-section2-inner-block {
        gap: 30px;
    }
    .features-section2-half.left {
        width: 70%;
    }
    .features-section2-half.right {
        width: 35%;
    }
    .horizontal-tabs-wrapper {
        margin-bottom: 0;
    }
}

/* 768px */
@media only screen and (max-width: 768px) {
    .features-section1-title {
        font-size: 30px;
    }
    .features-sidebar {
        width: 230px;
        position: sticky; /* Keep sticky on tablet */
        top: 80px;
        max-height: calc(100vh - 100px);
    }
    .horizontal-tab-item {
        padding: 14px 18px;
        font-size: 15px;
    }
}

/* 767px */
@media only screen and (max-width: 767px) {
    .features-section2-wrapper {
        gap: 20px;
        flex-direction: column;
    }
    .features-section2-half.left {
        order: 2;
        width: 100%;
        padding: 20px;
    }
    .features-section2-half.right {
        order: 1;
        width: 100%;
    }
}

/* 600px - Mobile breakpoint */
@media only screen and (max-width: 600px) {
    .features-section2.desktop {
        display: none;
    }
    .features-section3.mobile {
        display: flex;
    }
    .features-sidebar {
        position: relative; /* Remove sticky on mobile */
        top: auto;
        max-height: none;
    }
    .features-section2-half.right img {
        max-width: 100%;
        width: 100%;
    }
    .features-section3.mobile .content-section {
        display: block;
        margin-bottom: 40px;
        padding-bottom: 40px;
        border-bottom: 1px solid #D6DBDF;
    }
    .features-section3.mobile .content-section:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }
    .features-section2-half.left {
        padding: 0;
    }
    .features-section1-title {
        font-size: 46px;
        letter-spacing: -0.46px;
        text-align: left;
    }
    .features-section1 {
        height: 560px;
    }
    .features-content {
        background-color: #FFF;
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    .features-section2-top-block {
        margin-bottom: 0;
    }
    .features-section2-description-wrapper {
        margin-bottom: 30px;
    }
    .features-section2-top-block h4 {
        font-size: 18px;
        color: #306db3;
        font-weight: 600;
    }
    .features-section2-top-block h3 {
        font-size: 20px;
    }
    .features-section2-top-block p {
        font-size: 16px;
    }
    .each-feature-title {
        font-size: 18px;
    }
    .each-feature-description p {
        font-size: 16px;
    }
    .features-section2-bottom-block p {
        font-size: 16px;
    }
    .features-section1-title br {
        display: none;
    }
    
    /* Horizontal tabs mobile adjustments */
    .horizontal-tabs-wrapper {
        margin-bottom: 0;
    }
    .horizontal-tab-item {
        padding: 14px 16px;
        font-size: 15px;
    }
    .updates-tabs-section {
        padding-bottom: 50px;
    }
}

/* 500px */
@media only screen and (max-width: 500px) {
    .horizontal-tab-item {
        padding: 17px 15px;
        font-size: 15px;
    }
}

/* 420px */
@media only screen and (max-width: 420px) {
    /* .horizontal-tab-item {
        padding: 8px 10px;
        font-size: 12px;
    } */
}

/* 375px */
@media only screen and (max-width: 375px) {
    /* Add specific styles if needed */
}

/* 360px */
@media only screen and (max-width: 360px) {
    /* Add specific styles if needed */
}