/*
Theme Name: Custom Theme
Theme URI: http://example.com/
Author: Your Name
Author URI: http://example.com/
Description: A custom WordPress theme.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: customtheme
*/

body {
    margin: 0;
    padding: 0;
}
section.packed-goodness {
    background: #f5f4f6;
    padding: 120px 0 220px;
}
.packed-goodness-inner {
    margin-left: 72px;
}
.container {
    width: auto;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 16px;
}

span.bar {
    width: 40px;
    height: 12px;
    display: block;
    border-radius: 6px;
    background: linear-gradient(90deg, rgb(99, 92, 202), rgb(140, 158, 255));
    margin-bottom: 24px;
}

h1 {
    font-family: "Montserrat", sans-serif;
    font-size: 56px;
    font-weight: 800;
    color: #2a2660;
    margin: 0;
    max-width: 450px;
    line-height: 110%;
    transform: translate3d(0px, 0px, 0px) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg);
    transform-style: preserve-3d;
    opacity: 1;
}

p {
    font-family: 'Montserrat';
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
    color: #707074;
    max-width: 450px;
}
.goodness-blocks {
    margin-top: -237px;
    padding-top: 32px;
}
.goodness-blocks .row {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
}
.col.video-col {
    flex: 1 1 0;
    position: relative;
    overflow: hidden;
    border-radius: 48px;
    min-height: 376px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bg-video {
    position: absolute;
    top: 0; 
    left: 0; 
    width: 102%; 
    height: 102%; 
    object-fit: cover; 
    z-index: 1;
}
.info-icon {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgb(140, 158, 255);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    top: 28px;
    right: 26px;
}
.info-icon:hover {
    background: rgb(99, 92, 202);
    cursor: pointer;
}
.info-icon img {
    width: 16px;
}
.block-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9;
    width: auto;
    margin: 0 48px 36px 56px;
    max-width: 360px;
}

span.yellow-bar {
    background: #ffcd83;
    width: 32px;
    height: 12px;
    display: block;
    border-radius: 6px;
    margin-bottom: 16px;
}

.block-text h3 {
    font-family: 'Montserrat';
    font-size: 14px;
    font-weight: 800;
    line-height: 100%;
    color: #fff;
    text-transform: uppercase;
    margin: 0;
}

.block-text h4 {
    font-family: 'Montserrat';
    font-size: 14px;
    font-weight: 400;
    line-height: 145%;
    color: rgba(255, 255, 255, 0.6);
    margin: 8px 0 0;
}
.packed-goodness-inner {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }
  
  .packed-goodness-inner.fade-in {
    opacity: 1;
    transform: translateY(0);
  }
@media (max-width: 991.98px) {
    .container {
        max-width: 512px;
    }
    .goodness-blocks .row {
        display: flex;
        flex-wrap: wrap;
        max-width: 448px;
    }
    .goodness-blocks .col.video-col {
        flex: 0 0 49%;
        max-width: 50%;
        min-height: 252px;
    }
    .goodness-blocks .col.video-col:last-child {
        flex: 0 0 100%;
        max-width: 100%;
        margin-top: 16px;
        min-height: 204px;
    }
    section.packed-goodness {
        background: #f5f4f6;
        padding: 120px 0 418px;
    }
    .packed-goodness-inner {
        max-width: 416px;
        margin: 0 auto;
    }
    .goodness-blocks {
        margin-top: -435px;
    }
    h1 {
        font-size: 40px;
    }
    p {
        max-width: 410px;
    }
    .info-icon{
        right: 22px;
        top: 26px;
    }
    .goodness-blocks .col.video-col:last-child .info-icon {
        top: 26px;
        right: 30px;
    }
    .bg-video {
        inset: -1% 0% auto -1%;
    }
    .block-text {
        margin: 0 48px 44px;
    }
}
@media (max-width: 478.98px) {
    .container {
        max-width: 390px;
        width: auto;
    }
    .goodness-blocks .col.video-col {
        flex: 0 0 48%;
    }
    .info-icon{
        right: 28px;
        top: 26px;
    }
    .goodness-blocks .col.video-col:last-child .info-icon {
        top: 26px;
        right: 25px;
    }
}
@media (max-width: 389.98px) {
    .info-icon{
        right: 22px;
        top: 26px;
    }
    .goodness-blocks .col.video-col:last-child .info-icon {
        top: 26px;
        right: 30px;
    }
}