
.iceberg-impact-section {
    margin-top: 50px;
    border-bottom: 1px solid #E9ECEF;
    padding-bottom: 12px;
}

.iceberg-impact-section__title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 16px;
}

.iceberg-impact-section .impact-title {
    margin: 0;
    font-size: 30px;
    font-weight: 600;
    line-height: 36px;
    color: #101828;
    flex: 1;
}

.iceberg-impact-section__card-inner {
    display: flex;
    align-items: center;
    gap: 12px;
}

.iceberg-impact-section__flipped .iceberg-impact-section__card-inner {
    /*flex-direction: row-reverse;*/
}

.iceberg-impact-section__flipped .iceberg-impact-section__text {
    text-align: right;
    align-items: flex-end;
}

.iceberg-impact-section__text {
  padding:12px
    /* flex-shrink: 0; */
}


.iceberg-impact-section .impact-header {
    max-width: 1216px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #E9ECEF;
    padding-bottom: 12px;
    flex-wrap: wrap;
}

.iceberg-impact-section .impact-text .impact-subtitle {
    color: #0A4968;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
}

.iceberg-impact-section .impact-text .impact-title {
    color: #101828;
    font-size: 30px;
    font-weight: 600;
    line-height: 36px;
}

.iceberg-impact-section__scenario-pill {
    padding: 8px 16px;
    background: #0C5E79;
    border-radius: 4px;
    color: white;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.iceberg-impact-section__arrow-down {
    width: 12px;
    height: 7px;
    background: white;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.iceberg-impact-section__iceberg-bg-wrapper {
    width: calc(100vw - 10px);
    margin-left: calc(-50vw + 50%);
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.iceberg-impact-section__iceberg-blue-fill {
    position: absolute;
    top: 33.95%;
    left: 0;
    width: 100%;
    height: 70%;
    background: #0C5E79;
    z-index: -1;
}

.iceberg-impact-section__iceberg-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 40px;
    box-sizing: border-box;
    z-index: 1;
}

.iceberg-impact-section__iceberg-bg {
    width: 40%;
    height: auto;
    z-index: 1;
    position: relative;
}

.iceberg-impact-section__impact-card {
    position: absolute;
    max-width: 260px;
    color: white;
    font-size: 20px;
    font-weight: 600;
    line-height: 22px;
    background: none;
    z-index: 2;
}

.iceberg-impact-section__card-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width:400px;
}

/*.iceberg-impact-section__icon {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}*/
/*
            .iceberg-impact-section__text {
            display: flex;
            flex-direction: column;
            }*/

.iceberg-impact-section__impact-card .light {
    font-weight: 400;
    font-size: 18px;
    line-height: 22px;
    display: block;
    margin-top: 4px;
    color: #F7F8F9;
}

.iceberg-impact-section__impact-card .dark {
    font-weight: 400;
    font-size: 18px;
    line-height: 22px;
    display: block;
    margin-top: 4px;
    color: #212529 !important
}

.iceberg-impact-section .highlight {
    color: #BAF3A4 !important;
    font-weight: 700 !;
}

.iceberg-impact-section__health {
    top: -3%;
    right: 23%;
    transform: translateX(-50%);
    color: #212529 !important
}

.iceberg-impact-section__economy {
    top: 38%;
    left: 4.3%;
}

.iceberg-impact-section__society {
    top: 48%;
    right: 23.5%;
}

.iceberg-impact-section__education {
    bottom: 28%;
    left: 11.5%;
}

.iceberg-impact-section__security {
    bottom: 17%;
    right: 29.5%;
}

.light .highlight-text {
    color: #BAF3A4;
    font-weight: 700;
}

.dark .highlight-text {
    color: #1D8919;
    font-weight: 700;
}

@media (max-width: 768px) {
    .iceberg-impact-section__title-row {
        flex-direction: column;
    }
    .impact-dropdown {
        width:100%;
    }
    .iceberg-impact-section .impact-title {
        font-size: 22px;
        line-height: 30px;
    }

    .iceberg-impact-section__impact-card {
        font-size: 16px;
        max-width: 180px;
    }

    .iceberg-impact-section__iceberg-bg {
        width: 70%;
    }
    .iceberg-impact-section__impact-card .dark,  .iceberg-impact-section__impact-card .light {
        font-size: 14px;
    }
    .iceberg-impact-section__iceberg-bg-wrapper {
        width:100vw  
    }
}

.impact-section__dropdown {
    position: relative;
    font-family: 'IBM Plex Sans', sans-serif;
}

.impact-section__dropdown-toggle {
    background: #0C5E79;
    color: white;
    font-size: 14px;
    font-weight: 500;
    border: none;
    border-radius: 4px;
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 180px;
}

    .impact-section__dropdown-toggle::after {
        content: '';
        width: 10px;
        height: 6px;
        background: white;
        clip-path: polygon(0 0, 100% 0, 50% 100%);
    }

.impact-section__dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 6px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 4px rgba(0,0,0,0.15);
    outline: 1px solid #E9ECEF;
    display: none;
    flex-direction: column;
    min-width: 180px;
    z-index: 10;
}

.impact-section__dropdown-item {
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 500;
    color: #495057;
    cursor: pointer;
    transition: background 0.2s;
}

    .impact-section__dropdown-item:hover {
        background: #F8F9FA;
    }


.iceberg-impact-section__icon-wrapper {
    width: 80px !important;
    height: 80px;
    border-radius: 100%;
    border: 4px solid #9BEEF1;
    background: linear-gradient(90deg, rgba(14, 147, 183, 0.55) 0%, rgba(15, 94, 122, 0.55) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.iceberg-impact-section__icon {
    width: 80px;
    height: 50px;
    transition: transform 0.5s ease;
}

/* Hover state when hovering over either the wrapper or text */
.iceberg-impact-section__impact-card:hover .iceberg-impact-section__icon {
    transform: scale(1.3);
    cursor: pointer;
}

.iceberg-impact-section__impact-card:hover .iceberg-impact-section__icon-wrapper {
    background: linear-gradient(90deg, #0E93B7 0%, #0F5E7A 100%);
    border-color: #9BEEF1;
}

/* Optional: background on text container */
.iceberg-impact-section__impact-card:hover .iceberg-impact-section__text {
    background: rgba(58, 153, 174, 0.30);
    cursor: pointer;
    /*padding: 12px 14px;*/
    border-radius: 10px;
    transition: background 0.5s ease;
}
.iceberg-impact-section__note {
    text-align: center;
    color: #D9D9D9;
    font-size: 14px;
    font-style: italic;
    padding: 0;
    /* max-width: 800px; */
    margin: 0 auto;
    /* position: absolute; */
    /* bottom: 0; */
    width: 100%;
    /* text-align: center; */
    /* height: 0; */
    margin-bottom: 64px;
}

/*Menu tab*/
.iceberg-tab-menu-wrapper {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 5;
    transform: translateY(50%);
    margin-top: -50px;
}

.iceberg-tab-pill {
    display: flex;
    gap: 4px;
    padding: 3px 4px;
    border-radius: 32px;
    background: #fff;
    border: 1px solid #D2D2D2;
    box-shadow: 0px 10px 60px rgba(38, 45, 118, 0.08);
}
    .iceberg-tab-pill .tab {
        padding: 14px 20px;
        font-size: 16px;
        font-weight: 600;
        border-radius: 24px;
        color: #6C757D;
        cursor: pointer;
        transition: background 0.3s ease, color 0.3s ease;
        white-space: nowrap;
    }


        .iceberg-tab-pill .tab.active {
            background: #0C5E79;
            color: #E9FCFB;
            font-weight: 700;
        }
.iceberg-tab-pill {
    display: flex;
    gap: 4px;
    padding: 3px 4px;
    border-radius: 32px;
    background: #fff;
    border: 1px solid #D2D2D2;
    box-shadow: 0px 10px 60px rgba(38, 45, 118, 0.08);
    width: fit-content;z
}
/* tablet */
@media (min-width: 769px) and (max-width: 1024px) {
.iceberg-impact-section__health {
    top: -3%;
    right: 15%;
}
.iceberg-impact-section__economy {
    top: 36%;
    left: 2.3%;
}
.iceberg-impact-section__economy .iceberg-impact-section__text, .iceberg-impact-section__society .iceberg-impact-section__text  {
    max-width: 60% !important;
}
.iceberg-impact-section__society {
    top: 34%;
    right: 17.5%;
}
.iceberg-impact-section__education {
    bottom: 15%;
    left: 5.5%;
}
.iceberg-impact-section__security {
    bottom: 14%;
    right: 23.5%;
}
}
  /*  mobile */

@media (max-width: 768px) {
    .iceberg-tab-pill .tab {
        font-size: 14px;
    }
    .iceberg-impact-section__iceberg-bg-wrapper {
        margin-top:40px;
    }
    .iceberg-impact-section__health {
    top: -14%;
    right: 33%;
    transform: translateX(-50%);
    color: #212529 !important;

    text-align: center;
    width: 100%;
  }
  .iceberg-impact-section__health .iceberg-impact-section__text {
    max-width: 80%;
  }
.iceberg-impact-section__economy {
        top: 30%;
    left: 1.3%;
}
.iceberg-impact-section__economy .iceberg-impact-section__text, .iceberg-impact-section__society .iceberg-impact-section__text  {
    max-width: 70% !important;
}
    .iceberg-impact-section__society {
        top: 46%;
        right: 47.5%;
    }
.iceberg-impact-section__education {
        bottom: 21%;
        left: 1.5%;
    }
    .iceberg-impact-section__education .iceberg-impact-section__text, .iceberg-impact-section__security .iceberg-impact-section__text {
        max-width: 50%;
    }
  .iceberg-impact-section__health .iceberg-impact-section__card-inner {
    flex-direction: column-reverse; /* put icon BELOW text */
    align-items: center;
    gap: 8px;
  }
.iceberg-impact-section__security {
    bottom: 1%;
    right: 29.5%;
}
    .iceberg-impact-section__iceberg-blue-fill {
        position: absolute;
        top: 33.5%;
    }

  .iceberg-impact-section__health .iceberg-impact-section__text {
    text-align: center;
    padding: 0 16px;
  }

  .iceberg-impact-section__iceberg-bg {
    width: 90%;
    max-width: 320px;
    height: auto;
  }

  .iceberg-impact-section__note {
    padding: 0 16px;
    max-width:90% !important;
  }
}

@media (max-width: 768px) {
    .iceberg-impact-section__icon-wrapper {
        width:50px !important;
        height:50px;
    }
    .iceberg-impact-section__icon {
        height:30px;
    }
    .iceberg-tab-pill .tab {
        padding:8px !important;
    }
}

.impact-animate .iceberg-impact-section__icon {
    transform: scale(1.3);
    transition: transform 0.75s ease;
    cursor: pointer;
}

.impact-animate .iceberg-impact-section__icon-wrapper {
    background: linear-gradient(90deg, #0E93B7 0%, #0F5E7A 100%);
    border-color: #9BEEF1;
    transition: all 0.75s ease;
}

.impact-animate .iceberg-impact-section__text {
    background: rgba(58, 153, 174, 0.30);
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.75s ease;
}
.impact-animate-fadeout .iceberg-impact-section__icon {
    transform: scale(1);
    transition: transform 0.75s ease;
}

.impact-animate-fadeout .iceberg-impact-section__icon-wrapper {
    background: linear-gradient(90deg, rgba(14, 147, 183, 0.55) 0%, rgba(15, 94, 122, 0.55) 100%);
    border-color: #9BEEF1;
    transition: all 0.75s ease;
}

.impact-animate-fadeout .iceberg-impact-section__text {
    background: transparent;
    transition: background 0.75s ease;
}
