.banner-section { width: auto; height: 600px; } .banner-section .wp-block-cover__background{ opacity: 0.2; } .banner-section img, .service-section img { width: 100% !important; } .banner-section-content h1 { font-weight: 700; } .service-section h2 { font-weight: 600; } .banner-section-btn a { border: 1px solid #fff; color: #fff !important; font-weight: 500; } .service-section-btn a { border: 1px solid #fff; box-shadow: 0 2px 10px 0px #e1e1e1; font-weight: 600; } .banner-section-btn a, .service-section-btn a { text-decoration: none !important; } .service-section-btn a.wp-block-button__link:hover { color: #051f31 !important; } .banner-section-btn a:after ,.service-section-btn a:after { content: "\f105"; font-family: 'Font Awesome 7 Free'; font-weight: 900; background: #005BBA ; color: #fff; padding: 12px 15px; border-radius: 50%; margin-left: 13px; } .service-box { box-shadow: 0 0 5px #7e7d7d; } .service-section .wp-block-buttons{ position: relative; bottom: 27px; } .service-box { overflow: hidden; } .content-box { position: absolute; top: 0; left: 0; color: #fff; width:100%; height:100%; opacity: 0; transform: rotate(30deg) translate(30px,-89px); transition: transform 0.35s cubic-bezier(0.49, -0.19, 0.7, -0.01) 0.1s, opacity 0.1s linear 0s; } .content-box p { line-height: 25px; } .content-box h4 { font-weight: 700; } .service-box img { transform: scale(1); transition: all 0.25s linear 0.3s; } .service-box:hover .content-box { opacity: 0.9; transform: rotate(0deg) translate(0px,0px); transition-delay: 0.3s; } .service-box:hover img { transform: scale(1.3); transition-delay: 0s; } @media screen and (max-width: 1024px) { .banner-section { height: 300px; } .content-box p { font-size: 15px !important; } } @media screen and (max-width: 992px) and (min-width: 767px) { .service-section .wp-block-columns { flex-wrap: nowrap !important; } .service-section .content-box p { display: none !important; } } @media screen and (max-width: 1199px) and (min-width: 1025px){ .banner-section { height: 300px; } }