html{
    scroll-behavior: smooth;
}
body {
    box-sizing: border-box;
    font-family: 'jaf-bernina-sans', sans-serif !important;
    color: #626262 !important;
    font-weight: normal;
    font-style: normal;
    margin: 0;
    padding: 0;
}

p {
    font-size: 1.1em;
    font-weight: 200;
}

a {
    text-decoration: none !important;
    transition: text-decoration-color 0.5s ease-in-out, color .1s ease-in-out;
}

a:hover {
    text-decoration-color: none !important;
}

nav {
    background: #00000045;
}

.navbar-brand img {
    max-width: 225px;
}

.nav-link {
    color: #fff !important;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
    color: #fff !important;
}

header {
    height: 50vh;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url(https://southerncompany.info/bettersolutions/img/header-solar.png) no-repeat bottom;
    background-size: cover;
}

.header h1 {
    color: #fff;
    font-size: 9vh;
}

.video-wrap {
    max-width: 900px;
    margin: auto;
    /* margin: 100px auto 20px auto; */
}

video.fullscreen {
    position: absolute;
    z-index: 0;
    object-fit: cover;
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

video.fullscreen::-webkit-media-controls {
    display: none !important;
}

.psa-bg-img {
    position: relative;
    display: grid;
    place-items: center;
    height: 67vh;
    width: auto;
    margin: 0 auto;
    background-image: url(../img/TTD-hero-dekstop_R4_2050x1200.jpg);
    background-size: cover;
    background-position: center 30%;

}


.content {
    display: block;
    position: absolute;
    top: 44%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    color: #fff;
	width: 100%;
	text-align: center;
}

.content h1 {
    font-size: 9vh;
    margin-bottom: -4rem;
}


/* icon grid mobile */

.icon-mobile-wrapper {
    background-color: #007DB9;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    align-items: center;
    padding: 20px;
}

.icon-mobile {
    text-align: center;
    padding: 20px;
}

.icon-mobile img {
    width: 100px;
}

.resilience-mobile img {
    width: 110px;
}

.smartSolutions-mobile img {
    width: 57px;
}

.netZero-mobile img {
    width: 125px;
}


/* icon grid mobile end */

.section-wrapper {
    max-width: 1200px;
    margin: auto;
    overflow: visible;
}

.section-content {
    text-align: center;
    margin: 30px;
}

.section-content h1 {
    padding: 20px;
    color: #007DB9;
}


/* learn more button */

.learn-more {
    text-align: center;
    border-radius: 40px;
    border: 2px solid #ed1d24;
    font-size: 18px;
    padding: 10px 50px;
    margin: auto;
    text-decoration: none;
    color: #626262 !important;
}

.learn-more:hover {
    color: #626262 !important;
    border: 2px solid #337ab7;
    text-decoration: none !important;
}


/* learn more button end */


/* icon section */

.icon-wrapper {
    text-align:left;
}

.icon-wrapper img {
    width: 60px;
    height: 60px;
}

.icon-wrapper p {
    font-size: 1.2em;
}


/* icon section end */


/* resilience wrapper */

#resilience {
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url("https://southerncompany.info/bettersolutions/img/resilience.jpg") center center no-repeat fixed rgb(35, 31, 32);
    background-size: cover !important;
    /* min-height: 300px; */
}

#netZero {
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url("https://southerncompany.info/bettersolutions/img/trusted-to-deliver.png") center center no-repeat fixed rgb(35, 31, 32);
    background-size: cover !important;
    /* min-height: 300px; */
}

#smartSolutions {
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url("https://southerncompany.info/bettersolutions/img/force-for-good.png") center center no-repeat fixed rgb(35, 31, 32);
    background-size: cover !important;
    /* min-height: 300px; */
}

#ourCommunity {
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url("https://southerncompany.info/bettersolutions/img/ourcommunity-new.jpg") center center no-repeat fixed rgb(35, 31, 32);
    background-size: cover !important;
    /* min-height: 300px; */
}


/* icon section end */


/* CARD INTRO SECTION */

.section-title{
    font-size: 45px;
}

.intro-section{
    padding: 3rem 0rem;
}

.feature-card-pos{
    border-radius: 10px;
    height: 100%;
    border: 2px solid #e8e8e8;
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.3s ease;
}

.feature-card-pos h4{
    margin-bottom: 6px;
}

.feature-card-pos p{
    margin-bottom: 0;
    line-height: 1.4;
}

.feature-card-pos:hover{
    border: 2px solid #007db9;;
    background: linear-gradient(45deg,rgba(0, 0, 0, 0) 50%, rgba(0, 125, 185, 0.25) 90%);
    box-shadow: 0 4px 15px rgba(0, 125, 185, 0.4);
    transform: scale(1.035)
}


.feature-card-grw{
    border-radius: 10px;
    height: 100%;
    border: 2px solid #e8e8e8;
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform 0.3s ease;
}

.feature-card-grw h4{
    margin-bottom: 6px;
}

.feature-card-grw p{
    margin-bottom: 0;
    line-height: 1.4;
}

.feature-card-grw:hover{
    border: 2px solid #007db9;; 
    background: linear-gradient(45deg,rgba(0, 0, 0, 0) 50%, rgba(0, 125, 185, 0.25) 90%);
    box-shadow: 0 4px 15px rgba(0, 125, 185, 0.4);
    transform: scale(1.035)
}

.feature-card-opp{
    border-radius: 10px;
    height: 100%;
    border: 2px solid #e8e8e8;
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform 0.3s ease;
}

.feature-card-opp h4{
    margin-bottom: 6px;
}

.feature-card-opp p{
    margin-bottom: 0;
    line-height: 1.4;
}

.feature-card-opp:hover{
    border: 2px solid #007db9;
    background: linear-gradient(45deg,rgba(0, 0, 0, 0) 50%, rgba(0, 125, 185, 0.25) 90%);
    box-shadow: 0 1px 15px rgba(0, 125, 185, 0.4);
    transform: scale(1.035)

}


.feature-card-del{
    border-radius: 10px;
    height: 100%;
    border: 2px solid #e8e8e8;
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform 0.3s ease;
}

.feature-card-del h5{
    margin-bottom: 6px;
}

.feature-card-del p{
    margin-bottom: 0;
    line-height: 1.4;
}

.feature-card-del:hover{
    border: 2px solid #007db9;
    background: linear-gradient(45deg,rgba(0, 0, 0, 0) 50%, rgba(0, 125, 185, 0.25) 90%);
    box-shadow: 0 1px 15px rgba(0, 125, 185, 0.4);
    transform: scale(1.035)
}

/* CARD HOVER LINKS */

.card-link-wrapper{
    text-decoration: none;
    display: block;
}

.card-link-wrapper,.card-link-wrapper:hover,.card-link-wrapper:focus,.card-link-wrapper:active{
    color: inherit;
    text-decoration: none;
}

.card-link-wrapper *{
    color: inherit;
}

.video-wrap{
    margin-top: 4rem;

}

/* VIDEO SECTION */
.video-section{
    position: relative;
    min-height: 95vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 120px;
}

.bg-video{
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.video-overlay{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.video-content{
    position: relative;
    z-index: 3;
    padding: 1rem;
    margin-bottom: 4rem;
}

.video-content h2{
    font-weight: 600;
    font-size: 45px;
    margin-bottom: 1rem;
}
/*
.video-content p{
    max-width: 500px;
    line-height: 1.6;
}
*/
.video-img{
    height: 80px;
    width: 80px;
}

.video-copy{
    color: white;
}

.icon{
    margin-bottom: 2rem;
}

/* VIDEO BANNERS */

.bottom-v-banner{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 4;
}

.bottom-v-banner img{
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.banner-heading{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #003a5d;
    text-align: center;
    width: 790px;
}

.banner-heading h3{
    margin: 0;
}

.hTitleThin{
    font-weight: 400;
}


/* CONTENT SECTION */


.split-section{
    overflow: hidden;
}

.split-section .row{
        max-width: 1300px;
        margin: 0 auto;
    }

.image-wrapper{
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

}

.image-wrapper img{
    height: 100%;
    object-fit: cover;
    height: 550px;
}

.content-wrapper{
    padding: 4rem 6rem;
    max-width: 600px;
}

.content-h{
    margin-bottom: 2rem;
}

.h-title{
    color: #153C5D;
    font-weight: 300;
    margin-bottom: 3.5rem;
    font-size: 28px;
}


/* Footer */
footer {
    padding: 50px 0;
    background: #153C5D;
}

footer {
    padding: 50px 0;
}

.footer-wrapper {
    display: flex;
    flex-flow: wrap column;
    justify-content: space-around;
    align-items: center;
    max-width: 1200px;
    margin: auto;
}

.footer-menu {
    text-align: center;
    padding: 10px;
}

.footer-menu li {
    list-style: none !important;
    color: #fff !important;
    font-size: .875em;
    padding: 10px;
}

.footer-menu li a{
    color: #fff !important;
}

.footer-main-links li {
    font-weight: 700;
}

.footer-baseline-wrapper {
    display: flex;
    flex-flow: wrap row;
    justify-content: space-around;
    align-items: center;
    padding: 30px 10px 0px 20px;
    max-width: 1200px;
    margin: auto;
}

.copyright {
    font-size: .75em;
}

.copyright p {
    color: #fff !important;
}

.copyright p a {
    font-weight: 700;
}

.white{
    color: #fff !important;
}

.footer-logo {
    max-width: 200px;
    padding: 2px;
}

.button {
    background-color: transparent;
    border: 1px solid #fff;
    padding: 8px 40px;
    text-decoration: none;
    transition: background-color .5s ease-in-out, color .1s ease-in-out;
}

.button:hover {
    color: #ed1d24 !important;
    background-color: #fff;
}


/* footer end */

/* // Small devices (Portrait phones, 375px and up) */

@media (max-width: 375px){
    
    .video-section{
        min-height: 75vh;
}

    .content-wrapper{
        padding: 2rem;
    }

    .row {
    --bs-gutter-x: -0.5rem !important;
}

}

@media (min-width: 375px){

    .content-wrapper{
        padding: 2rem;
    }
    
      .intro-section{
        padding: 2rem;
    }

    .feature-card-pos{
        text-align: center;
    }

    .feature-card-grw{
        text-align: center;
    }

    .feature-card-opp{
        text-align: center;
    }

}



/* // Small devices (landscape phones, 576px and up or down) */

@media (min-width: 576px) {

    .intro-section{
        padding: 4rem 2rem;
    }
    
}

@media (max-width: 576px) {
    
    .psa-bg-img {
        background-position: top center;
    }

    .banner-heading{
        right: -140px;
        width: auto;
    }

    .banner-heading h3{
        font-size: 1.1rem;
    }

    .h-title{
        font-size: 24px;
    }
}


/* // Medium devices (tablets, 768px and up) */


@media (max-width: 786px) {
    
    .content h1{
        font-size: 4rem;
        margin-bottom: 0;
    }

}

@media (min-width: 768px) and (max-width: 991px){

    .image-wrapper{
        justify-content: center;
    }

    .image-wrapper img{
        width: 100%;
    }

    .video-section{
        min-height: 75vh;
    }

    .banner-heading{
        width: 675px;
    }

    .feature-card-del h5{
        min-height: 70px;
    }

    .feature-card-grw h5{
        min-height: 70px;
    }

    .feature-card-opp h5{
        min-height: 70px;
    }

    .feature-card-pos h5{
        min-height: 70px;
    }
}


@media (min-width: 768px) {
    
    /* footer */
    .footer-wrapper {
        flex-flow: wrap row;
        align-items: flex-start;
    }
    .footer-menu {
        text-align: left;
    }


}




/* Large devices (desktops, 992px and up) */

@media (min-width: 992px) {
    /*  Mouse icon scroll*/
    .mouse-icon {
        border: 2px solid #fff;
        border-radius: 16px;
        display: block;
        height: 50px;
        margin: -100px auto 50px;
        position: absolute;
        width: 30px;
        bottom: 75px;
        z-index: 10;
    }
    .mouse-icon .scroll {
        animation-delay: 0s;
        animation-duration: 1s;
        animation-iteration-count: infinite;
        animation-name: scrolling;
        animation-play-state: running;
        animation-timing-function: linear;
    }
    .mouse-icon .scroll {
        background: #fff none repeat scroll 0 0;
        border-radius: 10px;
        height: 10px;
        margin-left: auto;
        margin-right: auto;
        position: relative;
        top: 4px;
        width: 4px;
    }
    @keyframes scrolling {
        0% {
            opacity: 0;
            top: 5px;
        }
        30% {
            opacity: 1;
            top: 10px;
        }
        100% {
            opacity: 0;
            top: 25px;
        }
    }
    /* Mouse icon scroll end */
    .icon-mobile-wrapper {
        display: none;
    }

    /* Section content*/
   
   /* .image-wrapper img{
    width: 75%;
    }
    */
    .image-left{
    justify-content: flex-end;
    }

    .image-right{
    justify-content: flex-start;
    }


    .content-wrapper{
        padding: 3rem 4.5rem;
    }
}


/* // X-Large devices (large desktops, 1200px and up) */

@media (min-width: 1400px) {}


/* // XX-Large devices (larger desktops, 1400px and up) */

@media (min-width: 1800px) {

    .split-section .row{
        max-width: 1600px;
        margin: 0 auto;
    }

    .content-wrapper{
        padding: 4rem;
        max-width: 700px;
    }

    .content-wrapper h2{
        font-size: 2.5rem;
    }

    .image-wrapper img{
        width: 650px;
    }

    .bottom-v-banner img{
        height: 260px;
    }

    .banner-heading h3{
        font-size: 1.90rem;
        width: 1200px;
        position: absolute;
        left: -25%;
        top: -10%;
    }

    .video-content h2{
        font-size: 60px;
    }

    p {
    font-size: 1.30em;
    }

}