#services-nav{display:none}#services-nav ul{display:flex;justify-content:center;list-style:none;padding:12px;margin:0;background-color:var(--primary-color)}#services-nav ul li{display:inline;font-family:var(--title-font);font-size:14px;font-weight:600;padding:12px}#services-nav ul li a{color:var(--white-color)}.services{margin-top:30px;padding-top:30px;border-top:2px solid var(--primary-color)}.service{display:grid;grid-template-columns:1fr;gap:20px;align-items:center;margin:0 0 50px;scroll-margin-top:65px}.service:last-child{margin:0}.service p{font-weight:300;line-height:1.4;margin:12px 0}@media(min-width:500px){.services{display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:start}}@media(min-width:768px){.services{display:block;margin-top:50px;padding-top:50px}.service{grid-template-columns:1fr 2fr;gap:50px}.service:nth-child(1):after,.service:nth-child(3):after{content:"";position:absolute;bottom:-25px;right:0;width:62%;height:2px;background-color:var(--primary-color)}.service:nth-child(3),.service:nth-child(4){grid-template-columns:2fr 1fr}.service:nth-child(3):after,.service:nth-child(4):after{left:0;right:unset}.service:nth-child(3) img,.service:nth-child(4) img{order:2}.service:after{width:64%}}@media(min-width:980px){#services-nav{display:block}.service img{height:360px;object-fit:cover}.service p{font-size:24px}}