:root{
    --main1: white;
    --main2: black;
    --primary: #b53329;
    --secondary: #272727;
    --third: #504d4d;
    --fourth: #f2f2f2;
    --fifth: #bdbdbd;
    --sixth: #e3e3e3;
    --marquee-width: 100%;
    --marquee-height: 170px;
    /* --marquee-elements: 12; */ /* defined with JavaScript */
    --marquee-elements-displayed: 6;
    --marquee-element-width: calc(var(--marquee-width) / var(--marquee-elements-displayed));
    --marquee-animation-duration: calc(var(--marquee-elements) * 4s);
}
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: var(--main1);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--third);
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif;
}
html, body{
    background-color: var(--main1);
    scroll-behavior: smooth;
}
body{
    animation: pagey .6s forwards ease-in-out;
}
@keyframes pagey {
    from{
        opacity: 0;
        transform: scaleX(.9);
    }to{
        opacity: 1;
        transform: scaleX(1);
    }
}
.video-container {
    width: 100%;
    height: auto;
    margin: 8% auto auto auto;
    position: relative;
}

.video-player {
    width: 100%;
    display: block;
    border-radius: 25px;
    box-shadow: 0px 0px 50px 0px rgba(0,0,0,0.75);
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.play-btn::before {
    content: "";
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 25px solid var(--main2);
    margin-left: 5px;
    transition: all 0.3s ease;
}

.play-btn:hover {
    background: var(--main2);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}
.play-btn:hover::before{
    border-left: 25px solid var(--primary);
}

.play-btn:focus {
    outline: none;
}

.controls-hidden {
    display: none;
}
.navbar{
    animation: slidetop .5s .5s forwards ease-in-out;
    /* background-color: var(--main1); */
    background: rgba(255, 255, 255, 1); /* Light translucent background */
    backdrop-filter: blur(0) saturate(0);
    -webkit-backdrop-filter: blur(0) saturate(0);
    opacity: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
}
.navbar-toggler{
    background-color: transparent !important;
    border: 2px solid var(--primary) !important;
}
@keyframes slidetop {
    0%{
        opacity: 0;
        background: rgba(255, 255, 255, 1); /* Light translucent background */
        backdrop-filter: blur(0) saturate(0);
        -webkit-backdrop-filter: blur(0) saturate(0);
    }100%{
        opacity: 1;
        background: rgba(255, 255, 255, 0.2); /* Light translucent background */
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
    }
}
#brandlogoo{
    width: 200px;
    height: auto;
    transition: all .1s ease-out;
}
#math-challenge{
    display: flex;
    align-items: center;
    justify-content: left;
    column-gap: 10px;
}
#math-challenge label{
    color: var(--main1);
    display: inline-flex;
    column-gap: 10px;
    font-weight: 600;
}
.navbar-nav{
    margin-left: auto;
}
#atag{
    color: var(--main2);
    transition: .4s;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
}
#atag-home{
    color: var(--main1);
    background-color: var(--primary);
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
}
#atag:hover{
    background-color: var(--primary);
    color: var(--main1);
}
.dropdown-menu {
    display: none;
    position: absolute;
    top: auto;
    left: auto;
    z-index: 1000;
    opacity: 0;
    transition: all 0.3s ease;
    transform: translateY(-10px);
}

/* Show dropdown menu on hover */
.nav-item:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
    background: rgba(255, 255, 255, 0.6);
    border: 3px solid var(--primary) !important;
}

/* Style dropdown items */
.dropdown-item {
    padding: 0.5rem 1rem !important;
    color: var(--main2) !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    text-align: center !important;
    /* border-radius: 25px 0 25px 0 !important; */
    transition: all .2s;
}

.dropdown-item:hover {
    background-color: var(--primary) !important;
    color: var(--main1) !important;
}
#benifits{
    background-color: var(--sixth);
    border-radius: 25px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.5% 2% 0 2%;
    transition: all .4s;
}
#benifits:hover{
    transform: scale(1.3);
    background-color: var(--primary);
    color: var(--main1);
}
#benifits p{
    font-size: 1.2rem;
}
#home-1{
    background-attachment: scroll;
    background-position: center center;
    background-size: 100% 100%;
    width: 95%;
    background-repeat: no-repeat;
    min-height: 45vw;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5% 16%;
    position: relative;
}
.h{
    background-image: url(gallery/bg-home.png);
}
.h-1,.h-2,.h-3,.h-4,.h-5,.h-6,.h-7,.h-8{
    border-radius: 50px;
}
.h-1::after,.h-2::after,.h-3::after,.h-4::after,.h-5::after,.h-6::after,.h-7::after,.h-8::after{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 0;
    border-radius: 50px;
}
.h-1{
    background-image: url(gallery/pitched/pr\ \(13\).jpeg);
}
.h-2{
    background-image: url(gallery/flat/fr\ \(10\).jpeg);
}
.h-3{
    background-image: url(gallery/roof-r/rr\ \(1\).jpeg);
}
.h-4{
    background-image: url(gallery/chimney/ch.jpeg);
}
.h-5{
    background-image: url(gallery/lead-w/lw\ \(3\).jpeg);
}
.h-6{
    background-image: url(gallery/roof-w/rw.jpeg);
}
.h-7{
    background-image: url(gallery/drone/4k\ \(24\).jpeg);
}
.h-8{
    background-image: url(gallery/fascia-s\ \(4\).jpeg);
}
.hero-content{
    text-align: center;
    color: var(--main1);
    z-index: 1;
}
.hero-content h1{
    font-size: 4rem;
}
.hero-content p,#about-content p,#serv-box p,#gal-img p,#contact-info p,#home-3 p,#gal-test p{
    font-size: 1rem;
}
.hero-content a,#contact-info-a{
    font-size: 1.2rem;
    text-decoration: none;
    color: var(--main1);
    background-color: var(--primary);
    padding: 1% 6%;
    border-radius: 25px;
    transition: all .4s;
}
.hero-content a:hover,#contact-info-a:hover{
    background-color: var(--main1);
    color: var(--primary);
    padding: 1% 5%;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1), 0 3px 6px rgba(0, 0, 0, 0.4);
}
#home-2,#home-5{
    background-color: var(--main1);
    padding: 8% 16%;
    position: relative;
}
#about-content{
    color: var(--main2);
    text-align: left;
}
#about-content h2,#home-3 h2,#home-4 h2,#home-5 h2,#details h2{
    font-size: 2.2rem;
    padding: 0 0 1% 0;
    font-weight: 700;
    border-bottom: 4px solid var(--primary);
    width: fit-content;
}
#about-content a,#gal-img a{
    font-size: 1.2rem;
    background-color: var(--main2);
    text-decoration: none;
    color: var(--main1);
    padding: 2% 2% 2% 3%;
    border-radius: 25px;
    transition: all .4s;
}
#about-content a::after,#gal-img a::after{
    content: url(gallery/arrow-icon.svg);
    background-color: var(--main1);
    padding: 1% 3%;
    margin: 0 0 0 2%;
    border-radius: 25px;
    transition: all .4s;
}
#about-content a:hover{
    background-color: var(--primary);
}
#about-content a:hover::after{
    background-color: var(--main2);
    margin: 0 0 0 4%;
}
#about-img{
    display: flex;
    align-items: center;
    justify-content: center;
}
#about-img img{
    margin: auto auto auto 0;
    width: 100%;
    height: auto;
}
#home-3{
    background-color: var(--main2);
    padding: 5% 16%;
    text-align: left;
}
#home-4 h2,#home-5 h2{
    margin: auto;
}
#home-3 h2,#home-3 p{
    color: var(--main1);
}
.logo-slider{
  display: grid;
  justify-content: center;
  align-items: center;
  background: transparent;
}
.marquee {
  width: var(--marquee-width);
  height: var(--marquee-height);
  /* background-image: url(bgimg.jpeg); */
  background: transparent;
  color: #eee;
  overflow: hidden;
  position: relative;
}
.marquee:before, .marquee:after {
  position: absolute;
  top: 0;
  width: 10rem;
  height: 100%;
  content: "";
  z-index: 1;
}
.marquee:before {
  left: 0;
  /* background: linear-gradient(to right, #111 0%, transparent 100%); */
}
.marquee:after {
  right: 0;
  /* background: linear-gradient(to left, #111 0%, transparent 100%); */
}
#mc-0{
  list-style: none;
  height: 100%;
  display: flex;
  animation: scrolling var(--marquee-animation-duration) linear infinite;
}
#mc-0:hover{
  animation-play-state: paused; 
}
/* .marquee-content:hover {
  animation-play-state: paused;
} */
@keyframes scrolling {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-1 * var(--marquee-element-width) * var(--marquee-elements))); }
}
.marquee-content li {
  display: flex;
  justify-content: center;
  align-items: center;
  /* text-align: center; */
  flex-shrink: 0;
  width: var(--marquee-element-width);
  max-height: 100%;
  font-size: calc(var(--marquee-height)*3/4); /* 5rem; */
  white-space: nowrap;
}

.marquee-content li img {
  width: 130px;
  height: 130px;
  object-fit: contain;
  display: block;
  transition: all .4s;
}
/* .marquee-content li img:hover {
  transform: scale(1.2);
  background-color: white;
} */
#serv-box{
    display: grid;
    align-items: center;
    justify-content: center;
    row-gap: 10px;
    padding: 2% 3%;
    border-radius: 25px;
    background-attachment: scroll;
    background-position: center;
    background-size: cover;
    color: var(--main1);
    position: relative;
}
#serv-box h3,#serv-box p{
    z-index: 1;
}
#serv-box::after{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 0;
}
.s1{
    background-image: url(gallery/pitched/pr\ \(12\).jpeg);
}
.s2{
    background-image: url(gallery/flat/fr.jpeg);
}
.s3{
    background-image: url(gallery/roof-r/rr\ \(1\).jpeg);
}
.s4{
    background-image: url(gallery/chimney/ch.jpeg);
}
.s5{
    background-image: url(gallery/lead-w/lw.jpeg);
}
.s6{
    background-image: url(gallery/roof-w/rw.jpeg);
}
.s7{
    background-image: url(gallery/drone/4k\ \(10\).jpeg);
}
.s8{
    background-image: url(gallery/fascia-s\ \(4\).jpeg);
}
#serv-box a{
    background-color: var(--main2);
    height: 60px;
    width: 60px;
    border: 1px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto 0 auto auto;
    transition: all .8s;
    z-index: 1;
}
#serv-box:hover > a{
    transform: rotate(-45deg);
    background-color: var(--primary);
}
#serv-box:hover > .line{
    width: 100%;
    top: 0;
    border-radius: 25px 25px 0 0;
    height: 17px;
}
#serv-box img{
    z-index: 2;
}
.line{
    z-index: 1;
    position: absolute;
    left: 0;
    top: 20px;
    background-color: var(--primary);
    height: 45px;
    width: 7px;
    border-radius: 5px;
    transition: all .8s;
}
#serv-box h3,#gal-img h3{
    font-size: 1.8rem;
}
#home-4{
    background-color: var(--main2);
    padding: 5% 16%;
    position: relative;
}
#home-4 h2{
    color: var(--main1);
}
#gal-img{
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--main1);
    border-radius: 25px;
}
#gal-test{
    height: 100%;
    background-color: var(--main1);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1), 0 3px 6px rgba(0, 0, 0, 0.4);
    border-radius: 25px;
    padding: 15% 6% 3% 6%;
    position: relative;
}
#gal-test h3{
    font-size: 1.2rem;
}
#gal-img a{
    width: 145px;
}
#gal-img img,#gal-img video{
    width: 100%;
    height: 100%;
    margin: auto;
    object-fit: cover;
    aspect-ratio: 3/2;
    border-radius: 25px;
    transition: .4s;
}
#gal-img img:hover,#gal-img video:hover{
    border: 10px solid var(--primary);
}

.slider-container{
    width: 100%;
    height: fit-content;
    padding-top: 5%;
    overflow: hidden;
}
.slider-content {
    display: flex;
    transition: transform 1s ease;
}
.slider-slide {
    flex: 0 0 33.3333%;
    padding: 0 15px;
    box-sizing: border-box;
}
.slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}
.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--main1);
    margin: 0 5px;
    cursor: pointer;
}
.slider-prev, .slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    background-color: var(--main1);
    border: none;
    height: 75px;
    width: 75px;
    transition: all .4s;
    cursor: pointer;
    z-index: 100;
    margin: 2px;
}
.slider-prev {
    left: 10%;
}
.slider-next {
    right: 10%;
}
.slider-prev:hover, .slider-next:hover {
    border: 10px solid var(--primary);
    transform: translateY(-50%) scale(.95);
}
#home-4 .slider-dot{
    background-color: var(--main1);
}
#home-5 .slider-dot{
    background-color: var(--main2);
}
#home-4 .slider-dot.active,#home-4 .slider-dot:hover,#home-5 .slider-dot.active,#home-5 .slider-dot:hover {
    background: var(--primary);
}
.rating{
    position: absolute;
    top: 10px;
    right: 10px;
}
.rating p{
    color: var(--main2);
    font-size: 1.2rem;
}
.rating p span img{
    margin-top: -5px;
}
#home-6{
    background-color: var(--primary);
    padding: 3% 10%;
}
#home-7{
    background-color: var(--main2);
    padding: 5% 16%;
    margin: 0;
    position: relative;
}
.watermark{
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 0;
}
/* .watermark p{
    font-size: 8rem;
    color: var(--third);
} */
.watermark img{
    width: 100%;
    height: auto;
}
#contact-info,#links{
    z-index: 1;
}
#contact-info p,#contact-info h3{
    color: var(--main1);
}
#contact-info h3{
    font-size: 3rem;
}
#links a{
    text-decoration: none;
    color: var(--fifth);
}
#links a:hover,#foot p a:hover,#details a:hover{
    text-decoration: underline;
}
#links h4{
    color: var(--main1);
}
.socials{
    display: flex;
    align-items: center;
    justify-content: left;
    column-gap: 25px;
}
.socials img{
    margin: auto;
    width: auto;
    height: 30px;
}
#home-form{
    background-color: var(--main1);
    padding: 5% 16%;
}
#formmm{
    border-radius: 25px;
    background-color: var(--primary);
    display: grid;
    align-items: center;
    justify-content: stretch;
    row-gap: 20px;
    padding: 3%;
}
#formmm input,#formmm textarea{
    border-radius: 10px;
    width: 100%;
    padding: 1%;
    border: none !important;
}
#formmm input{
    height: 50px;
}
#formmm input::placeholder,#formmm textarea::placeholder{
    color: var(--third);
}
#formmm input[type="submit"]{
    background-color: var(--main2);
    color: var(--main1);
    font-size: 1.2rem;
    transition: all .4s;
    margin: auto;
}
#formmm input[type="submit"]:hover{
    background-color: var(--main1);
    color: var(--primary);
    width: 50%;
}
#formmm textarea{
    resize: none !important;
}
#foot{
    border-top: 2px solid var(--third);
    padding: 2% 16% 1% 16%;
    background-color: var(--main2);
}
#foot p{
    color: var(--main1);
    text-align: left;
}
#foot p a{
    color: var(--main1);
    text-decoration: none;
}
#details a{
    text-decoration: none;
    font-size: 1.2rem;
    color: var(--main2);
}
#details p{
    font-size: 1.4rem;
    font-weight: 600;
}
#links-in{
    display: grid;
    align-items: start;
    justify-content: left;
    height: fit-content;
    gap: 10px;
}
.grecaptcha-badge {
    position: fixed;
    bottom: 0 !important;
    right: 0 !important;
    z-index: 5;
}
#loader {
    margin:auto;
    vertical-align: middle;
}
/* Responsive Styles */
@media (max-width: 992px) {
    #home-1,#home-2,#home-3,#home-4,#home-5,#home-6,#home-7,#home-form{
        padding-left: 8%;
        padding-right: 8%;
    }
    #atag,#atag-home{
        padding-left: 10px;
    }
    .hero-content h1{
        font-size: 3rem;
    }
    .hero-content p,#about-content p,#serv-box p,#gal-img p,#contact-info p{
        font-size: 1.2rem;
    }
    #about-content h2,#home-3 h2,#home-4 h2,#home-5 h2{
        font-size: 2.5rem;
    }
    #serv-box h3,#gal-img h3{
        font-size: 1.8rem;
    }
    #contact-info h3{
        font-size: 3rem;
    }
    .slider-prev, .slider-next {
        display: none;
    }
    .slider-prev img, .slider-next img{
        width: 25%;
        height: auto;
    }
    #foot p{
        text-align: center;
    }
    #serv-box{
        padding: 3.5% 3%;
    }
}
@media (max-width: 768px) {
    .slider-dot {
        width: 5px;
        height: 5px;
    }
    .slider-slide {
        flex: 0 0 100%;
    }
    .hero-content h1{
        font-size: 2.5rem;
    }
    .hero-content p,#about-content p,#serv-box p,#gal-img p,#contact-info p,#gal-test p{
        font-size: 1rem;
    }
    #about-content h2,#home-3 h2,#home-4 h2,#home-5 h2{
        font-size: 2rem;
    }
    #serv-box h3,#gal-img h3{
        font-size: 1.8rem;
    }
    #contact-info h3{
        font-size: 2.5rem;
    }
    #serv-box{
        padding: 5% 3%;
    }
    :root {
        --marquee-elements-displayed: 3;
    }
    .marquee-content li img {
        width: 120px;
        height: 120px;
    }
    .marquee:before, .marquee:after { 
        width: 5rem; 
    }
}
@media (max-width: 576px) {
    .hero-content h1{
        font-size: 2rem;
    }
    #about-content h2,#home-3 h2,#home-4 h2,#home-5 h2{
        font-size: 1.6rem;
    }
    #serv-box h3,#gal-img h3{
        font-size: 1.4rem;
    }
    #contact-info h3{
        font-size: 2rem;
    }
    #serv-box{
        padding: 6.5% 3%;
    }
    :root {
        --marquee-elements-displayed: 2;
    }
    .marquee-content li img {
        width: 100px;
        height: 100px;
    }
}
@media (max-width: 400px) {
    .slider-container br{
        display: none;
    }
    .slider-dot {
        display: none;
    }
    .hero-content h1{
        font-size: 1.5rem;
    }
    #about-content h2,#home-3 h2,#home-4 h2,#home-5 h2{
        font-size: 1.2rem;
    }
    .hero-content p,#about-content p,#serv-box p,#gal-img p,#contact-info p{
        font-size: .8rem;
    }
    #about-content a,#gal-img a,.hero-content a,#contact-info-a{
        font-size: 1rem;
    }
    #gal-img a{
        width: 125px;
    }
    #serv-box h3,#gal-img h3{
        font-size: 1rem;
    }
    #contact-info h3{
        font-size: 1.5rem;
    }
    #serv-box{
        padding: 8% 3%;
    }
    .line{
        height: 50px;
    }
}