.heading_section { .text_main { text-align: center; font-size: 86px; font-weight: 500; color: #000; text-transform: uppercase; letter-spacing: 3px; margin-bottom: 20px; font-family: "DM Sans", sans-serif; } } .heading_container { .heading_row { display: flex; align-items: center; justify-content: center; gap: 2rem; @media (max-width: 768px) { justify-content: flex-start; gap: 20px; } .heading_img { width: 165px; img { width: 100%; height: 100%; object-fit: cover; } } .heading_text { h3 { font-size: 72px; font-weight: 300; font-family: "Cormorant Garamond", serif; color: #000; text-transform: uppercase; letter-spacing: 2px; @media (max-width: 768px) { font-size: 20px; } } } } } @media (max-width: 768px) { .heading_section { padding: 0; .text_main { text-align: start; font-size: 36px; font-weight: 500; color: #000; text-transform: uppercase; letter-spacing: 3px; margin-bottom: 10px; font-family: "DM Sans", sans-serif; } } .heading_container { .heading_row { .heading_text { h2 { font-size: 4rem; font-weight: 300; font-family: "Cormorant Garamond", serif; color: #000; text-transform: uppercase; letter-spacing: 2px; } } } } } .service_section { padding: 0rem 0%; } .service_container { .service_row { .service_box { display: flex; justify-content: space-between; align-items: center; padding: 24px; background-color: #fff; border-top: 1px solid #aaaaa5; transition: all 0.3s ease; @media (min-width: 768px) and (max-width: 1366px) { padding: 20px 2%; } &:last-child { border-bottom: 1px solid #aaaaa5; } &:hover { background-color: #000; cursor: pointer; .service_text { h1 { color: #fff; } h4 { color: #fff; } p { color: #fff; } } .service_side { .service_list { ul { li { color: #fff; } } } .service_icon { i { color: #fff; transform: rotate(-45deg) scale(1.2); } } } } .service_text { display: flex; align-items: center; width: 80%; gap: 10rem; @media (min-width: 768px) and (max-width: 1366px) { gap: 15px } h4 { font-size: 34px; font-weight: 500; color: #000; font-family: "Work Sans", sans-serif; line-height: 1.3; transition: 0.3s; margin: 0; @media (min-width: 768px) and (max-width: 1366px) { font-size: 26px; } } p { font-size: 34px; font-weight: 400; font-style: italic; color: #000; font-family: "Work Sans", sans-serif; line-height: 1.3; transition: all 0.3s ease; margin: 0; @media (min-width: 768px) and (max-width: 1366px) { font-size: 26px; } } h1 { font-size: 46px; font-weight: 500; color: #000; font-family: "Work Sans", sans-serif; line-height: 1.3; transition: all 0.3s ease; margin: 0; } } .service_side { display: flex; justify-content: space-between; align-items: center; width: 50%; gap: 15rem; @media (min-width: 768px) and (max-width: 1366px) { gap: 15px } .service_list { ul { display: flex; flex-direction: column; gap: 0.8rem; @media (max-width: 768px) { padding-left: 15px; } li { font-size: 14px; line-height: 14px; font-weight: 400; color: #000; font-family: "Work Sans", sans-serif; transition: all 0.3s ease; } } } .service_icon { i { font-size: 36px; transform: rotate(-45deg); transition: all 0.3s ease; @media (min-width: 768px) and (max-width: 1366px) { font-size: 34px; } } } } } } } @media (max-width: 768px) { .service_container { .service_row { .service_box { display: flex; flex-wrap: wrap; justify-content: start; text-align: left; padding: 20px; gap: 14px; .service_text { flex-wrap: wrap; text-align: start; width: 100%; gap: 5px; flex-direction: column; align-items: flex-start; h4 { font-size: 3.4rem; font-weight: 500; color: #000; font-family: "Work Sans", sans-serif; line-height: 1.3; transition: 0.3s; } } .service_side { display: flex; flex-direction: column; justify-content: start; align-items: center; width: 100%; gap: 15px; .service_list { width: 100%; text-align: start; } .service_icon { width: 100%; text-align: start; i { font-size: 20px; } } } } } } }