﻿.sustainability-logo {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 3 / 2; /* natural logo ratio */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

    /* image scaling like cover */
    .sustainability-logo img {
        height: 110%;
        width: auto;
        max-width: none;
    }

/* responsive adjustments for mobile */
@media (max-width: 992px) {
    .sustainability-logo {
        aspect-ratio: auto; /* remove fixed ratio */
        height: 120px; /* or whatever fits nicely */
        max-width: 100%; /* smaller width */
    }

        .sustainability-logo img {
            height: 250%;
            width: auto;
        }
}

.sustainability-hero h3, .sustainability-hero p, .ict-content p, .ict-content h4, .ict-content h3, .orphanage-content p, .orphanage-content h4 {
    color: var(--somtel-blue-2);
}

@media (max-width: 768px) {
    .home-page-new .banner-dots {
        bottom: 0px;
    }
}

.training-image-wrapper {
    background-image: url('/img/training-center.jpg');
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 350px;
    position: relative;
}

.training-text-wrapper {
    position: absolute;
    inset: 0;
    color: white;
    width: 50%;
    background: linear-gradient( 63deg, var(--somtel-blue-2) 30%, transparent 90%);
    padding: 30px;
}

    .training-text-wrapper h3 {
        color: #ffd700 !important;
        font-weight: 700;
        font-size: clamp(22px,3vw,40px);
    }

    .training-text-wrapper p {
        font-size: 2.5vw;
        color: white !important;
    }

.box-text {
    font-size: clamp(30px,3vw,60px);
    font-weight: 700;
    text-align: start !important;
    color: var(--somtel-blue-2);
}

@media(max-width:400px) {
    .training-text-wrapper {
        padding-left: 10px;
    }

    .training-image-wrapper {
        height: 250px;
    }
}
/* Equal rectangle boxes */
.equal-box {
    aspect-ratio: 4 / 3; /* Wider than tall, adjust if needed */
    overflow: hidden;
    position: relative;
}

@media (max-width: 768px) {
    .equal-box {
        aspect-ratio: auto;
        height: 320px; /* or 200px, adjust as you like */
    }

        .equal-box.bg-light {
            height: 180px;
        }
}

.equal-content {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.equal-box.bg-light {
    background-color: #eaeaea !important;
    position: relative;
}

.equal-box h5 {
    margin: 0;
}

.header-background {
    /*  background: linear-gradient(230deg, #ffd700 16%, #4a9544 55%); */
    /*  background: linear-gradient(40deg, #4a9544 85%, #ffd700 100%); */
    background: linear-gradient(265deg, #ffd700, #ffd70069);
}

.logo-divider {
    position: absolute;
    top: 50%;
    right: 0%;
    transform: translateY(-50%);
    width: 1px;
    height: 70%;
    background: #222d5d;
}

    .logo-divider::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 100%;
        transform: translateY(-50%);
        border-top: 15px solid transparent;
        border-bottom: 15px solid transparent;
        border-left: 15px solid #222d5d;
    }

@media(max-width:992px) {
    .logo-divider {
        display: none;
    }
}

.award-image {
    border-radius: 7px;
}

.sustainability-title {
    font-size: clamp(26px,3vw,46px);
    line-height: clamp(26px,3vw,46px);
    margin-bottom: 10px;
}

.sustainability-content {
    font-size: clamp(15px,1.1rem,22px)
}

.img-animation {
    opacity: 0;
    transition: 600ms ease-in;
}

    .img-animation.show {
        opacity: 1;
    }

@media(max-width:992px) {
    .award-image {
        width: 400px;
    }
}

.slick-dots {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: -ms-flex;
    display: flex;
    margin: 0;
    padding: 1rem 0;
    list-style-type: none;
    position: relative;
    bottom: 4px;
}

    .slick-dots li {
        margin-right: 6px;
        margin-left: 6px;
        cursor: pointer;
        outline: none;
        padding: 3px;
        border: solid 4px transparent;
        position: relative;
        width: 10px;
        height: 10px;
    }

        .slick-dots li button {
            display: block;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            padding: 0;
            border: none;
            box-sizing: border-box;
            background-color: #909090;
            text-indent: -9999px;
            cursor: pointer;
            outline: none;
        }

.slick-list {
    padding: 0px;
}

.header-banner:after {
    height: 0px;
}
