.realized-projects__header {
display: flex;
align-items: flex-end;
justify-content: space-between;
gap: 24px;
margin-bottom: 40px;
}
.realized-projects__heading {
flex: 1 1 auto;
}
.realized-projects__title {
font-family: 'Mulish', sans-serif;
font-weight: 700;
font-size: 42px;
line-height: 52px;
color: rgba(31, 79, 206, 1);
margin: 0;
}
.realized-projects__subtitle {
font-family: 'Mulish', sans-serif;
font-weight: 400;
font-size: 20px;
line-height: 28px;
color: rgba(27, 27, 27, 1);
margin: 24px 0 0;
max-width: 901px;
}
.realized-projects__nav {
display: flex;
gap: 44px;
flex-shrink: 0;
padding-bottom: 4px;
}
.realized-projects__nav-btn {
display: flex;
align-items: center;
justify-content: center;
width: 46px;
height: 46px;
border-radius: 50%;
border: 1.5px solid rgba(31, 79, 206, 1);
background: transparent;
color: rgba(31, 79, 206, 1);
cursor: pointer;
transition: background 0.2s, opacity 0.2s;
-webkit-appearance: none;
appearance: none;
}
.realized-projects__nav-btn:hover {
background: rgba(31, 79, 206, 0.08);
}
.realized-projects__nav-btn.swiper-button-disabled {
opacity: 0.35;
cursor: default;
pointer-events: none;
}
.realized-projects__nav-btn svg {
width: 10px;
height: 20px;
}
.realized-projects__projects {
overflow: hidden;
width: 100%;
padding-top: 2px;
padding-bottom: 2px;
margin-top: -2px;
margin-bottom: -2px;
}
.realized-projects__projects > .swiper-wrapper {
display: flex;
flex-direction: row;
flex-wrap: nowrap;
align-items: flex-start;
box-sizing: border-box;
}
.realized-projects__projects > .swiper-wrapper > .swiper-slide {
flex-shrink: 0;
width: 100%;
height: auto;
box-sizing: border-box;
}
.realized-projects__card {
background: #FFFFFF;
border: 1px solid rgba(31, 79, 206, 1);
border-radius: 12px;
padding: 32px 76px 40px;
box-sizing: border-box;
}
.realized-projects__card-title {
font-family: 'Mulish', sans-serif;
font-weight: 700;
font-size: 32px;
line-height: 40px;
color: rgba(31, 79, 206, 1);
margin: 0;
}
.realized-projects__card-location {
font-family: 'Mulish', sans-serif;
font-weight: 400;
font-size: 20px;
line-height: 28px;
color: rgba(27, 27, 27, 1);
margin: 12px 0 0;
}
.realized-projects__gallery {
position: relative;
margin-top: 32px;
}
.realized-projects__photos {
overflow: hidden;
width: 100%;
border-radius: 12px;
}
.realized-projects__photos > .swiper-wrapper {
display: flex;
flex-direction: row;
flex-wrap: nowrap;
}
.realized-projects__photo {
flex-shrink: 0;
width: 100%;
}
.realized-projects__photo img {
display: block;
width: 100%;
aspect-ratio: 1024 / 492;
object-fit: cover;
border-radius: 12px;
}
.realized-projects__photo-btn {
position: absolute;
top: 50%;
transform: translateY(-50%);
z-index: 2;
width: 40px;
height: 40px;
padding: 0;
border: none;
background: transparent;
cursor: pointer;
transition: opacity 0.2s;
-webkit-appearance: none;
appearance: none;
}
.realized-projects__photo-btn:hover {
opacity: 0.8;
}
.realized-projects__photo-btn--prev {
left: 16px;
}
.realized-projects__photo-btn--next {
right: 16px;
}
.realized-projects__photo-btn svg {
display: block;
width: 40px;
height: 40px;
}
.realized-projects__photo-btn.swiper-button-disabled {
opacity: 0.35;
cursor: default;
pointer-events: none;
}
.realized-projects__thumbs {
overflow: hidden;
width: 100%;
margin-top: 20px;
}
.realized-projects__thumbs > .swiper-wrapper {
display: flex;
flex-direction: row;
flex-wrap: nowrap;
}
.realized-projects__thumb {
flex-shrink: 0;
width: 36px;
height: 36px;
border-radius: 6px;
overflow: hidden;
cursor: pointer;
opacity: 0.55;
border: 1.5px solid transparent;
box-sizing: border-box;
transition: opacity 0.2s, border-color 0.2s;
}
.realized-projects__thumb img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}
.realized-projects__thumb.swiper-slide-thumb-active {
opacity: 1;
border-color: rgba(31, 79, 206, 1);
}
.realized-projects__dots {
display: flex;
justify-content: center;
gap: 8px;
margin-top: 16px;
}
.realized-projects__dots .swiper-pagination-bullet {
display: block;
width: 8px;
height: 8px;
border-radius: 50%;
background: #DDE3EB;
cursor: pointer;
transition: background 0.2s;
}
.realized-projects__dots .swiper-pagination-bullet-active {
background: rgba(31, 79, 206, 1);
}
@media (max-width: 1024px) {
.realized-projects__header {
margin-bottom: 32px;
}
.realized-projects__title {
font-size: 28px;
line-height: 36px;
}
.realized-projects__subtitle {
font-size: 16px;
line-height: 24px;
margin-top: 16px;
}
.realized-projects__nav {
gap: 24px;
}
.realized-projects__nav-btn {
width: 40px;
height: 40px;
}
.realized-projects__card {
padding: 24px 32px 32px;
}
.realized-projects__card-title {
font-size: 24px;
line-height: 30px;
}
.realized-projects__card-location {
font-size: 16px;
line-height: 24px;
}
}
@media (max-width: 640px) {
.realized-projects__header {
gap: 16px;
margin-bottom: 24px;
}
.realized-projects__title {
font-size: 22px;
line-height: 29px;
}
.realized-projects__subtitle {
font-size: 14px;
line-height: 20px;
margin-top: 12px;
}
.realized-projects__nav {
gap: 12px;
padding-bottom: 0;
}
.realized-projects__nav-btn {
width: 36px;
height: 36px;
}
.realized-projects__card {
padding: 16px 16px 24px;
}
.realized-projects__card-title {
font-size: 18px;
line-height: 24px;
}
.realized-projects__card-location {
font-size: 14px;
line-height: 20px;
margin-top: 8px;
}
.realized-projects__gallery {
margin-top: 20px;
}
.realized-projects__photo-btn {
width: 36px;
height: 36px;
}
.realized-projects__photo-btn svg {
width: 36px;
height: 36px;
}
.realized-projects__photo-btn--prev {
left: 8px;
}
.realized-projects__photo-btn--next {
right: 8px;
}
}