Here is the css code:
#home {
padding: 0;
}
#home h1 {
color: #333333;
padding-bottom: 30px;
}
#home h3 {
color: #333333;
font-size: 14px;
line-height: inherit;
letter-spacing: 2px;
text-transform: uppercase;
margin: 0;
}
@media (min-width: 768px) {
.slider .col-md-8 {
padding-left: 0;
}
}
.slider .owl-dots {
position: absolute;
top: 50%;
right: 2em;
justify-content: center;
}
.owl-theme .owl-dots .owl-dot {
display: block;
}
.owl-theme .owl-dots .owl-dot span {
width: 12px;
height: 12px;
margin: 7px 10px;
border: 2px solid #d9d9d9;
background: transparent;
display: block;
-webkit-backface-visibility: visible;
transition: opacity 200ms ease;
border-radius: 30px;
}
.owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span {
background-color: #ffffff;
border-color: transparent;
}
.slider .caption {
display: flex;
justify-content: center;
flex-direction: column;
text-align: left;
background-color: rgba(250, 250, 250, 0.2);
height: 100%;
color: #4e4a4a;
cursor: e-resize;
padding: 4em 0 0 2em;
}
.slider .item {
background-position: inherit;
background-repeat: no-repeat;
background-attachment: local;
background-size:cover;
height: 600px;
}
.slider .item-first {
background-image: url(../images/slider-image1.jpg);
}
.slider .item-second {
background-image: url(../images/slider-image2.jpg);
}
.slider .item-third {
background-image: url(../images/slider-image3.jpg);
}
.slider .item-four {
background-image: url(../images/Menu-BG.jpg);
}
.slider .item-second .section-btn {
background: #292929;
}
.slider .item-second .section-btn:hover {
background: #ffffff;
}
.slider .item-third .section-btn {
background: transparent;
border: 1px solid #ffffff;
}
.slider .item-third .section-btn:hover,
.slider .item-third .section-btn:focus {
background: #ce3232;
border-color: transparent;
color: #ffffff;
}
.slider .BG {
background-position: inherit;
background-repeat: no-repeat;
background-attachment: local;
height: 600px;
background-image: url(../images/banner-BG.jpg)
}
.caption-content {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
gap: 2rem;
flex-wrap: wrap; /* Makes it responsive */
}
.slider .service {
background-image: url(../images/Service-BG.JPG);
background-size: cover;
background-position: center;
background-repeat: no-repeat;
padding: 2rem;
border-radius: 10px; /* Optional: smooth corners /
color: #ffffff; / Optional: ensures text is visible */
}
.slider .service h1,
.slider .service h3 {
position: relative;
z-index: 1;
}
.text-block {
flex: 1;
min-width: 250px;
}
.image-block {
flex: 1;
min-width: 250px;
display: flex;
justify-content: flex-end;
}
.image-block img {
max-width: 100%;
height: auto;
width: 300px; /* Adjust as needed Optional styling */
}