* {
    font-family: 'GT-Walsheim-Regular', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #212b55;
}

.esg-container {
    max-width: 1400px;
    margin: 0 auto;
    background-color: #fff;
    min-height: 100vh;
}

/* Desktop Layout - Tabs on Left, Content on Right */
@media screen and (min-width: 1025px) {
    .esg-container {
        position: relative;
        background-color: #fff;
        padding-bottom: 50px;
        margin-top: -46px;
    }

    .esg-content-wrapper {
        display: flex;
        flex-direction: column;
        width: 400px;
        background-color: #fff;
        gap: 15px;
    }

    /* Gray background aligned with tab height */
    .esg-container::before {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        top: 20px;
        bottom: 0;
        background: #F5F6FA;
        z-index: -1;
    }

    /* Tab Headers - Left Sidebar */
    .tab-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 50px;
        padding: 0 20px;
        cursor: pointer;
        transition: all 0.3s ease;
        background-color: #fff;
        border: 1px solid #cce2f5;
    }

    .tab-header:hover {
        background-color: #f8f8f8;
    }

    .tab-item.active .tab-header {
        background-color: #212b55;
        color: #fff;
        border-color: #212b55;
    }

    .tab-item.active .tab-header:hover {
        background-color: #212b55;
    }

    .tab-text {
        font-size: 15px;
        font-weight: 300;
    }

    .tab-item.active .tab-text {
        font-family: 'GT-Walsheim-Medium', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
        color: #fff;
    }

    .tab-arrow {
        font-size: 25px;
        color: #333333;
    }

    .tab-item.active .tab-arrow {
        color: #fff;
    }

    /* Tab Content - Right Content Area */
    .tab-content {
        position: absolute;
        left: 416px;
        right: 0;
        top: 0;
        padding: 25px 27px;
        display: none;
        animation: fadeIn 0.3s ease;
        border-radius: 2px;
        background: #F5F6FA;
        min-height: calc(100% - 100px);
    }

    .tab-item.active .tab-content {
        display: block;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* Mobile/Tablet Layout - Accordion */
@media screen and (max-width: 1024px) {
    .esg-container {
        background-color: #fff;
        margin-top: -46px;
            margin-bottom: 25px;
    }

    .esg-content-wrapper {
        width: 100%;
        background-color: #fff;
    }

    .tab-item {
        margin-bottom: 10px;
        background-color: #fff;
    }

    .tab-item:not(.active) {
        border: 1px solid #cce2f5;
    }

    /* Accordion Header */
    .tab-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 5px 20px;
        cursor: pointer;
        background-color: #fff;
        transition: background-color 0.3s ease;
        -webkit-tap-highlight-color: transparent;
    }

    .tab-item:not(.active) .tab-header:hover {
        background-color: #f8f8f8;
    }

    .tab-item.active .tab-header {
        background-color: #212b55;
        color: #fff;
    }

    .tab-item.active .tab-header:hover {
        background-color: #212b55;
    }

    /* Remove hover on touch devices */
    @media (hover: none) {
        .tab-item:not(.active) .tab-header:hover {
            background-color: #fff;
        }
    }

    .tab-text {
        font-size: 15px;
        font-weight: 400;
    }

    .tab-item.active .tab-text {
        font-family: 'GT-Walsheim-Medium', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
        color: #fff;
    }

    .tab-arrow {
        font-size: 25px;
        color: #333333;
        transition: transform 0.3s ease;
    }
    
    .tab-item .tab-arrow {
        transform: rotate(90deg);
    }

    .tab-item.active .tab-arrow {
        color: #fff;
        transform: rotate(270deg);
    }

    /* Accordion Content */
    .tab-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        background: #F5F6FA;
        padding: 0 20px;
    }

    .tab-item.active .tab-content {
        padding: 20px;
        max-height: 5000px;
        background: #F5F6FA;
    }
    .tab-item {
        margin-bottom: 15px;
    }
}

/* Common Content Styles */
.tab-content h1 {
    color: #212b55;
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 700;
    font-family: 'GT-Walsheim-Medium', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.tab-content p {
    color: #212b55;
    font-size: 15px;
    margin-bottom: 15px;
    line-height: 130%;
}

/* Highlight Box */
.highlight-box {
    background-color: #cce2f5;
    padding: 25px 20px;
    margin: 25px 0;
    border-radius: 10px;
}

.highlight-box p {
    margin-bottom: 0;
    color: #212b55;
    font-size: 14px;
    font-weight: 400;
}

/* Stats Container */
.stats-container {
    display: flex;
    gap: 20px;
    margin: 30px 0;
    width: 100%;
}

.stat-card {
    background-color: #212b55;
    color: #fff;
    border-radius: 10px;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    height: 150px;
    text-align: center;
    padding: 20px;
}

.stat-card * {
    color: #fff;
}

.stat-card h3 {
    font-size: 15px;
    font-weight: 700;
    line-height: 130%;
    margin-bottom: -10px;
}

.stat-number {
    font-size: 55px;
    font-weight: 400;
    color: #fff;
}

/* Tablet Specific Adjustments */
@media screen and (max-width: 1024px) {

    .stat-card {
        max-width: 100%;
    }
}

/* Mobile Specific Adjustments */
@media screen and (max-width: 767px) {
    .tab-header {
        padding: 6px 15px;
    }

    .tab-content {
        padding: 0 15px;
    }

    .tab-item.active .tab-content {
        padding: 20px 15px;
    }
    
    .stats-container {
        flex-direction: column;
    }

    .highlight-box {
        padding: 20px;
    }

    .stat-card {
        padding: 23.5px 20px;
    }
}

/* Discover Section Styles */
.esg-discover-section {
    background-color: #212b55;
    padding: 55px 0px 85px 0px;
    margin-top: 0;
    clear: both;
    margin-bottom: 110px;
}

.esg-discover-section * {
    color: inherit;
}

.esg-discover-container {
    max-width: 1400px;
    margin: 0 auto;
}

.discover-title {
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    font-family: 'GT-Walsheim-Medium';
}

.discover-grid {
    display: grid;
    grid-template-columns: repeat(4, 220px);
    column-gap: 60px;
    row-gap: 34px;
    justify-content: center;
}

.discover-card {
    width: 220px;
    height: 202px;
    border-radius: 5px;
    background: #fff;
    padding: 40px 20px;
    text-align: center;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.discover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.discover-icon {
    margin-bottom: 20px;
}

.discover-icon img {
    object-fit: contain;
}

.discover-card-title {
    color: #212b55;
    font-size: 24px;
    margin: 0;
    line-height: 28px;
    font-family: 'GT-Walsheim-Medium', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Tablet View - 2 per row */
@media screen and (max-width: 1024px) {
    .discover-grid {
        grid-template-columns: repeat(2, 220px);
        column-gap: 20px;
        row-gap: 20px;
        justify-content: center;
    }

    .discover-title {
        font-size: 30px;
    margin-bottom: 30px;
    padding: 0px 150px;
    }

    .esg-discover-section {
        padding: 25px 20px;
    }
}

/* Mobile View - 2 per row */
@media screen and (max-width: 767px) {
    .discover-grid {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 10px;
        row-gap: 20px;
        justify-content: center;
    }

    .discover-title {
        font-size: 30px;
    margin-bottom: 30px;
    padding: 0px 20px;
    }

    .esg-discover-section {
        padding: 25px 40px;
        margin-top: 30px;
    }

    .discover-card {
        width: 100%;
        padding: 5px;
    }

    .discover-icon img {
        width: 40px;
        height: 40px;
    }

    .esg-container {
    padding: 50px 40px 0px 40px;
    margin-top: 65px;
}
.subEsg{
    flex-direction: column;
}
p.description {
    padding: 0px 40px;
}
}

.subEsg {
    display: flex;
    gap: 30px;
}

.esgContent {
    background: #d2f1ff;
    padding: 30px 10px 15px 10px;
    border-radius: 10px;
    width: fit-content;
}

.esgContent p {
    font-size: 14px;
    text-align: center;
    font-weight: 400;
}

p.description {
    color: #fff;
}
        