HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: /var/www/html/triad-cyber/wp-content/themes/triadcyber/scss/home-style.scss
@import 'partials';

.sub-banner {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.21) 0%, rgba(62, 72, 78, 0.21) 100%);
    display: flex;
    align-items: flex-end;

    padding-top: 160px;
    padding-bottom: 50px;
 
    position: relative;
    overflow-x: hidden;
  
    @media ($sm-991) {
 
        align-items: center;
    }
    @media ($sm-767) {
        height: auto;
        padding-top: 110px;
    }
    @media ($sm-579) {
        padding-bottom: 0px;
    }
    .inner-banner {
        display: flex;
        align-items: center;
        @media (max-width: 600px) {
            flex-direction: column;
        }
        .inner-content {
            max-width: 832px;
            padding-bottom: 95px;
            position: relative;
            z-index: 1;
            @media ($sm-1679) {
                max-width: 623px;
                padding-bottom: 70px;
            }
            @media ($sm-1281) {
                max-width: 590px;
                padding-bottom: 50px;
            }
            @media ($sm-1199) {
                max-width: 560px;
                padding-bottom: 40px;
            }
            @media ($sm-991) {
                max-width: 300px;
            }
            @media ($sm-767) {
                max-width: 60%;
            }
            @media (max-width: 600px) {
                max-width: 100%;
            }
            @media ($sm-579) {
                max-width: 100%;
            }
        }
    }

    .mobile-baner {
        display: none;
        @media ($sm-579) {
            display: block;
            max-width: 300px;
            margin: auto;
        }
    }
    .bnr-rt {
        max-width: 666px;
   
        @media (max-width: 600px) {
            position: static;
            display: flex;
            justify-content: center;
        }
        img {
            height: 499px;
            @media($sm-1281){
                height: 347px;
            }
            @media($sm-767){
                height: 240px;
            }
        }
    }

    .main-title {
   
        font-family: $primary-font;
        font-weight: 700;
        font-size: 46px;
        line-height: 67px;
        letter-spacing: 0%;
        vertical-align: middle;
        text-transform: capitalize;
        
        @media ($sm-1679) {
            font-size: 42px;
            line-height: 42px;
        }
        @media ($sm-1481) {
            font-size: 38px;
            line-height: 46px;
        }
        @media ($sm-1199) {
            font-size: 36px;
            line-height: 44px;
        }
        @media ($sm-991) {
            font-size: 34px;
            line-height: 42px;
        }
        @media ($sm-767) {
            font-size: 22px;
            line-height: 32px;
        }
    }


}
.red-color{
    color: $primary-color;
}
.banner-logo {
    position: fixed;
    right: 85px;
    bottom: 30px;
    z-index: 5;
    background-image: url(../img/banner-logo.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    @media($sm-767){
        width: 40px;
        height: 40px;
        right: 10px;
        bottom: 0px;
    }
}
.learn-btn1{
    background-color: $primary-color;
    width: 274px;
    height: 45px;
    border: none;
    font-weight: 400;
    font-size: 16px;
    line-height: 19.36px;
    color: #fff;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin-top: 26px;
    outline: 0;
    @media ($sm-1679){
        height: 40px;
        font-size: 15px;
    }
    @media ($sm-1441){
        height: 38px;
    }
    @media ($sm-1199){
        font-size: 14px;
    }
    img{
        transition: all 0.5s linear;
    }

}
.two-col-sec{
    padding: 100px 0px;
    @media($sm-1679){
        padding: 100px 0px;
    }
    @media($sm-1481){
        padding: 80px 0px;
    }
    @media($sm-1199){
        padding: 40px 0px;
    }
 
    .two-col-inner{
        display: flex;
        justify-content: space-between;
        // align-items: center;
        @media($sm-767){
            flex-wrap: wrap;
        }
    }
    .left-sec{
        max-width: 691px;
        position: relative;
        height: 497px;
        @media($sm-1679){
          max-width: 632px;
          height: 450px;
        }
        @media($sm-1481){
            max-width: 49%;
            height: 440px;
        }
        @media($sm-767){
            width: 100%;
            max-width: 100%;
            margin-bottom: 20px;
            height: 290px;
          
        }
        @media($sm-579){
            //height: auto;
        }
        .shadow-btm{
            width: 100%;
            max-height: 100%;
            height: 100%;
            position: relative;
           
            img{
                width: 100%;
                height: 100%;
                object-fit: cover;
                border-radius: 20px;
            }
            &::after{
                content: "";
                position: absolute;
                bottom: -100px;
                width: 691px;
                height: 225px;
                left: 4px;
                z-index: -1;
                background-image: url('../img/gradient.png');
                background-repeat: no-repeat;
                @media($sm-1679){
                    width:  631px;
                    bottom: -114px;

                }
                @media($sm-1441){
                    width: 99%;
                
                }
               
             
            }
 

        
        }
    }
    .right-sec{
        flex: 1;
        margin-left: 69px;
        @media($sm-991){
            margin-left: 20px;
        }
        @media($sm-767){
            width: 100%;
            margin-left: 0px;
        }
      
     
        .content{
            color: #000;
            font-weight: 300;
            font-size: 19px;
            line-height: 31px;
            letter-spacing: 0%;
            @media($sm-1679){
                font-size: 17px;
                line-height: 30px;
            }
            @media($sm-1481){
                font-size: 15px;
                line-height: 25px;
            }

        }
    }
}


.available-course{
    text-align: center;
    padding-bottom: 100px;
    @media($sm-1679){
        padding-bottom: 80px;
    }
    @media($sm-1481){
        padding-bottom: 60px;
    }
    @media($sm-1199){
        padding-bottom: 40px;
    }

    .sub-content{
        padding: 0px 190px;
        padding-bottom: 60px;
        @media($sm-991){
            padding: 0px;
            padding-bottom: 40px;
        }
    }
    .boxes{
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 20px;
        .box1{
            width: calc((100%/3) - 15px);
            border: 1px solid #F8DADE;
            border-radius: 16px;
            padding-bottom: 33px;
            // margin-bottom: 20px;
            @media($sm-767){
                width: calc((100%/2) - 10px);
            }
            @media($sm-579){
                width: 100%;
            }
            .logo-sec{
                display: flex;
                justify-content: center;
                align-items: center;
                background-color: #F8DADE2E;
                border-bottom: 1px solid #F8DADE;
                padding: 22px 0px;
                min-height: 163px;
                .img-sec{
                    max-width: 296px
                }
                @media($sm-991){
                    padding: 10px 0px;
                    min-height: 120px;
                    img{
                        height: 60px;
                    }
                }
            }
            .text-sec{
                display: flex;
                align-items: center;
                justify-content: center;
                flex-direction: column;
                .contents{
                    padding: 33px 33px;
                    font-weight: 400;
                    font-size: 20px;
                    line-height: 39px;
                    letter-spacing: 0%;
                    text-align: center;
                    @media($sm-1679){
                        font-size: 18px;
                        line-height: 28px;
                    }
                    @media($sm-1481){
                        font-size: 16px;
                        line-height: 26px;
                    }
                    @media($sm-1199){
                        font-size: 14px;
                        padding: 10px;
                        line-height: 24px;
                    }

                }
                .btn-more{
                    background-color: $primary-color;
                    width: 151px;
                    height: 41px;
                    border-radius: 20px;
                    padding: 0px 22px;
                    font-weight: 600;
                    font-size: 13.41px;
                    line-height: 20.86px;
                    letter-spacing: 0%;
                    color: #fff;
                    display: flex;
                    align-items: center;
                    justify-content: space-between;
                    img{
                        transition: all 0.5s;
                    }
                    &:hover{
                        img{
                            transform: translateX(10px);
                        }
                    }

                }
            }
        }
    }
}