.p_34_s229{ .testimonial_section_7 { padding: 80px 0px; background-color: var(--themeBg1); background-position: center; background-repeat: no-repeat; background-size: cover; } .upSec { margin-bottom: 50px; } .mainHeading { font-size: 40px; font-weight: 600; line-height: 50px; margin-bottom: 10px; font-family: var(--hFont); color: var(--headingColor1); } .mainHeading span { color: var(--themeColor1); font-family: inherit; } .subPara { font-size: 15px; line-height: 25px; color: var(--paragraphColorBlack); font-family: var(--pFont); } .benefitCard { padding: 20px; background-color: var(--themeBg2); border-radius: 10px; } .benefitCardGrid { grid-template-columns: 60px 1fr; } .benefitIconDiv { width: 60px; height: 60px; border-radius: 50%; overflow: hidden; } .comment { margin-top: 20px; color: var(--paragraphColorBlack); font-size: 15px; line-height: 25px; font-family: var(--pFont); } .name { font-size: 16px; font-weight: 500; margin-top: 5px; color: var(--paragraphColorBlack); } /* BUTTON CSS START */ .btn { width: 130px; height: 42px; margin-top: 50px; position: relative; cursor: pointer; overflow: hidden; border: 2px solid var(--btnColor); transition: 0.4s; z-index: 1; font-size: 16px; border-radius: 6px; font-weight: 500; color: var(--btnTextColor); background-color: var(--btnColor); } .btn:before { content: ""; position: absolute; z-index: -1; background: var(--btnHoverColor); height: 150px; width: 200px; border-radius: 50%; } .btn:hover { color: var(--btnHoverTextColor); } .btn:before { top: 100%; left: 100%; transition: all 0.4s; } .btn:hover:before { top: -30px; left: -30px; } .btn:active:before { background: var(--btnHoverColor); transition: 0s; } /* BUTTON CSS END */ /* CUSTOM NAVIGATION CSS START */ .arrowMainSec { top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none; z-index: 2; } .arrowRightIconSec, .arrowLeftIconSec { pointer-events: all; cursor: pointer; width: 36px; height: 36px; background-color: var(--btnColor); border: 2px solid var(--btnColor); border-radius: 8px; transition: 0.4s; } .arrowRightIconSec i, .arrowLeftIconSec i { color: var(--btnTextColor); transition: 0.4s; } .arrowRightIconSec:hover, .arrowLeftIconSec:hover { background-color: var(--btnHoverColor); } .arrowRightIconSec:hover i, .arrowLeftIconSec:hover i { color: var(--btnHoverTextColor); } /* CUSTOM NAVIGATION CSS END */ /* GRID SETTING START */ .testimonial_section_7 .grid .item { background-color: var(--themeBg2); border-radius: 12px; } .testimonial_section_7 .grid .item .benefitCard { height: calc(100% - 40px); } .testimonial_section_7 .grid .item .benefitCard:hover { margin-top: 0px; } .testimonial_section_7 .grid .item .forGrid { display: flex; justify-content: space-between; flex-direction: column; height: 100%; } .testimonial_section_7 .grid .item { transition: 0.4s; } .testimonial_section_7 .grid .item:hover { box-shadow: 0px 0px 20px 0px #00000033; } /* GRID SETTING END */ .iconColor i { color: var(--themeColor1); } @media only screen and (max-width: 900px) { .testimonial_section_7 { padding: 40px 0px; } .mainHeading { font-size: 25px; line-height: 35px; margin-bottom: 0px; } .upSec { margin-bottom: 30px; } .btn { margin-top: 30px; } .arrowRightIconSec, .arrowLeftIconSec { width: 30px; height: 30px; border-radius: 5px; } .arrowRightIconSec i, .arrowLeftIconSec i { font-size: 14px; } } .testimonial_section_7{ padding-top: 150px; } }.p_34_s229{ @media only screen and (max-width: 900px) { background-attachment:scroll; } }