@import url('https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,200..1000;1,200..1000&family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Mulish", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

.nav-links li a.Active {
    color: limegreen;
}


body {
    scroll-behavior: smooth;
    scrollbar-width: thin;
}



.slideshow {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    filter: contrast(110%) brightness(105%) saturate(110%);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    opacity: 0;
    transform: scale(1);
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
    animation: zoomIn 6s ease-in-out forwards;
}

@keyframes zoomIn {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.2);
    }
}


.hero {
    position: relative;
    background: url('/Images/pexels-falling4utah-1080721.jpg') no-repeat center center/cover;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: bold;
    z-index: 2;
}

/* Overlay to darken background */
.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

/* Breadcrumb */
.breadcrumb {
    background: #fff;
    padding: 10px 20px;
    font-size: 14px;
    display: inline-block;
    border-radius: 4px;
    margin: -35px 20px 0 0;
    position: relative;
    z-index: 3;
    float: right;
}

.breadcrumb a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.breadcrumb span {
    margin: 0 5px;
}

.breadcrumb .active {
    color: limegreen;
    /* limegreen color for active page */
    font-weight: bold;
}



.flex1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
    background: black;
    /* margin-bottom: 20px; */
}

.flex1 .first-row {
    display: flex;
    align-items: center;
    gap: 20px;
    color: white;
}

.flex1 .first-row .icons {
    display: flex;
    gap: 10px;
}

.flex1 .first-row .icons i {
    border: 1px solid limegreen;
    padding: 10px 10px;
    border-radius: 50px;
    color: limegreen;
    font-size: 18px;
}

.flex1 .contact-section {
    display: flex;
    gap: 20px;
}

.contact-section a {
    text-decoration: none;
    font-size: 15px;
    color: grey;
}

.contact-section i {
    color: limegreen;
}

.logo {
    width: 200px;
}

.nav-bar {
    display: flex;
    padding: 20px 40px;
    justify-content: space-between;
    align-items: center;
    background: white;
    position: sticky;
    top: 0;
    z-index: 999;
}

/* Nav links inline for desktop */
.nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
    transition: all 0.3s ease-in-out;
}

.nav-links li {
    display: inline-block;
    margin: 0 15px;
}

.nav-links li a {
    text-decoration: none;
    font-size: 18px;
    color: black;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: limegreen;
}

/* Hamburger icon (hidden on desktop) */
.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

/* Button styles */
.btn1 .btn {
    padding: 15px 40px;
    font-size: 14px;
    background-color: limegreen;
    color: white;
    border-radius: 6px;
    border: none;
    outline: none;
    cursor: pointer;
    transition: 0.5s ease-in-out;
}

.btn1 .btn:hover {
    background-color: limegreen;
    color: white;
}

/* RESPONSIVENESS */
@media (max-width: 992px) {
    .nav-bar {
        padding: 15px 20px;
    }

    .menu-toggle {
        display: block;
        /* show hamburger */
    }

    .nav-links {
        position: absolute;
        top: 60px;
        left: -100%;
        flex-direction: column;
        width: 50%;
        background: white;
        text-align: center;
        gap: 0;
        transition: left 0.3s ease-in-out;
    }

    .nav-links li {
        margin: 15px 0;
    }

    /* When active */
    .nav-links.active {
        left: 0;
    }
}

/* Smaller screens */
@media (max-width: 576px) {
    .btn1 .btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}



/* ? CSS MODAL FUNCTION */
#imgModal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
}

/* Modal image */
#imgModal img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 8px;
  box-shadow: 0 4px 25px rgba(0,0,0,0.6);
  animation: fadeIn 0.4s ease;
}

/* Close button */
#imgModal span {
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

#imgModal span:hover {
  color: #f00;
}

/* Fade animation */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/* Initial hidden state */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-in-out;
}

/* When visible */
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}



.products-sec {
    background-image: url('https://images.unsplash.com/photo-1518892974594-4adbf359419c?w=500&auto=format&fit=crop&q=60&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8OXx8d2hpdGUlMjBiYWNrZ3JvdW5kJTIwZWxldmF0b3IlMjBpbWFnZXxlbnwwfHwwfHx8MA%3D%3D');
    background-position: center;
    padding: 20px 0;
    background-blend-mode: darken;
    background-color: rgba(0, 0, 0, 0.3);
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;


}

.products-sec .ab {
    text-align: center;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-color: limegreen;
    font-weight: 200;
}

.products-sec h1 {
    text-align: center;
    font-size: 40px;
}

.container {
    width: 100%;
    max-width: 400px;
    display: flex;
    gap: 1rem;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    transition: 0.3s ease-in-out;
}

.container img {
    width: 170px;
    object-fit: cover;
    object-position: center;
    cursor: grab;
    transition: transform 0.3s ease;
}

.container button {
    padding: 10px 30px;
    background-color: white;
    color: black;
    cursor: pointer;
    outline: none;
    border: 1px solid #ddd;
}

.container p {
    line-height: 20px;
    text-align: justify;
    font-size: 14px;
    margin: 10px 0;
}

.container .pro {
    padding: 20px 10px;
}

.container .pro h3 {
    font-size: 22px;
    margin: 10px 0;
}

.flex-container {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    padding: 20px 20px;
    justify-items: center;
}

/* .flex-container img {
    transition: transform 0.5s ease;
    transform: scale(1);
} */

.products-sec .container:hover img {
    transform: scale(1.03);
    filter: brightness(80%);
}

.btn-explore {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.btn4 {
    background-color: limegreen;
    color: white;
    border: none;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn4:hover {
    background-color: darklimegreen;
    transform: scale(1.05);
}

.projects {
    text-align: center;
    padding: 40px 40px;


}

.projects .subtitle {
    text-align: center;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-color: limegreen;
    font-weight: 200;
}

.projects .title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 2rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}


.project-card {
    overflow: hidden;
    border-radius: 6px;
}

.project-card img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
    cursor: cell;
}

.project-card:hover img {
    transform: scale(1.05);
}



.stairs-section {
    display: flex;
    height: 350px;
    width: 100%;
    margin: 30px 0 0 0;
}


.stairs-left {
    flex: 1;
    background: url("https://homeliftelevators.ng/wp-content/uploads/2024/07/dostepnosc-600x282.jpg") no-repeat center center/cover;
}


.stairs-right {
    flex: 1;
    background: #000;
    color: #fff;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stairs-right .sub-text {
    font-size: 12px;
    letter-spacing: 1px;
    color: limegreen;
    margin: 0 0 10px;
    text-transform: uppercase;
}

.stairs-right h2 {
    margin: 0 0 15px;
    font-size: 28px;
    font-weight: 700;
}

.stairs-right p {
    font-size: 14px;
    color: #bbb;
    line-height: 1.6;
    margin-bottom: 20px;
}

.quote-btn {
    background: limegreen;
    color: #fff;
    padding: 10px 18px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    transition: 0.3s;
    display: inline-block;
    width: fit-content;
}

.quote-btn:hover {
    background: limegreen;
}



.footer {
    background: #111;
    color: #bbb;
    padding: 60px 40px 20px;
    font-family: Arial, sans-serif;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-about h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-about p {
    font-size: 14px;
    line-height: 1.6;
    margin: 10px 0;
}

.footer-about i {
    color: limegreen;
    margin-right: 8px;
}

.footer-links h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #fff;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links ul li a {
    text-decoration: none;
    color: #bbb;
    font-size: 14px;
    transition: 0.3s;
}

.footer-links ul li a:hover {
    color: limegreen;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 15px;
    font-size: 13px;
    color: #777;
}


/* Tablet (max-width: 992px) */
@media (max-width: 992px) {
    .flex1 {
        padding: 15px 25px;
    }

    .flex1 .first-row h3 {
        font-size: 16px;
    }

    .contact-section a {
        font-size: 14px;
    }

    .section1 {
        height: auto;
        /* allow section to grow with content */
        padding: 30px;
    }

    .section1 h1 {
        font-size: 32px;
    }

    .section1 p {
        width: 70%;
        font-size: 14px;
        line-height: 26px;
    }

    .section1 .flex2 .btn-flex2 {
        position: static;
        /* remove absolute positioning */
        margin-top: 20px;
    }

    .section1 .flex2 .btn-flex2 button {
        font-size: 15px;
        padding: 12px 30px;
    }

    .about-company {
        gap: 2rem;
        align-items: center;
    }

    .about-company .abt-img {
        width: 350px;
        height: auto;
    }

    .info1,
    .info2,
    .info3 {
        padding: 30px 10px;
        font-size: 14px;
    }

    .abt-text1 h1 {
        font-size: 32px;
    }

    .abt-text1 .p-1 p,
    .abt-text1 .p2,
    .p-2 strong,
    .list1 li {
        font-size: 16px;
    }

    .products-sec h1 {
        font-size: 32px;
    }

    .container {
        max-width: 350px;
    }

    .container img {
        width: 150px;
    }

    .container .pro h3 {
        font-size: 20px;
    }

    .container p {
        font-size: 13px;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 30px;
    }

    .footer-about {
        grid-column: span 3;
    }
}


@media (max-width: 768px) {
    .flex1 {
        flex-direction: column;
        /* stack items */
        align-items: flex-start;
        /* align to left */
        gap: 15px;
        padding: 15px 20px;
    }

    .flex1 .first-row {
        flex-direction: column;
        /* stack icons + text */
        align-items: flex-start;
        gap: 10px;
        text-align: left;
    }

    .logo {
        width: 180px;
    }

    .nav-bar {

        flex-wrap: wrap;
        gap: 15px;
    }

    .flex1 .first-row h3 {
        font-size: 14px;
    }

    .contact-section {
        flex-direction: column;
        gap: 10px;
    }

    .contact-section a {
        font-size: 13px;
    }



    .section1 {
        padding: 20px;
        text-align: center;
    }

    .section1 h1 {
        font-size: 26px;
    }

    .section1 p {
        width: 100%;
        font-size: 14px;
        line-height: 24px;
    }

    .section1 .flex2 {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .section1 .flex2 .btn-flex2 {
        margin-top: 15px;
    }

    .section1 .flex2 .btn-flex2 button {
        width: 80%;
        max-width: 250px;
    }

    .about-company {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        padding: 20px;
    }

    .about-company .abt-img {
        width: 100%;
        max-width: 400px;
        height: auto;
    }

    /* Stats reposition under image */
    .info1,
    .info2,
    .info3 {
        position: static;
        display: inline-block;
        margin: 10px;
    }

    .text-abt-img {
        text-align: center;
        margin-top: 15px;
    }

    .abt-text1 h1 {
        font-size: 26px;
        text-align: center;
    }

    .abt-text1 .p-1 p,
    .abt-text1 .p2,
    .p-2 strong,
    .list1 li {
        font-size: 15px;
    }

    .btn-abt {
        text-align: center;
        margin-top: 20px;
    }

    .btn-abt button {
        width: 80%;
        max-width: 250px;
    }

    .flex-container {
        grid-template-columns: 1fr;
        /* Stack cards */
    }

    .container {
        flex-direction: column;
        max-width: 90%;
        text-align: center;
    }

    .container img {
        width: 100%;
        height: 200px;
    }

    .container .pro {
        padding: 15px;
    }

    .container button {
        width: 100%;
        padding: 10px;
    }

    .btn-explore {
        margin-top: 1.5rem;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .footer-about {
        grid-column: span 2;
    }

    .footer-links h4 {
        font-size: 15px;
    }

    .footer-links ul li a {
        font-size: 13px;
    }


}

@media (max-width: 480px) {
    .flex1 {
        padding: 10px 15px;
    }

    .flex1 .first-row h3 {
        font-size: 13px;
    }

    .flex1 .first-row .icons i {
        font-size: 14px;
        padding: 8px;
    }

    .contact-section a {
        font-size: 12px;
    }

    .section1 {
        padding: 15px;
    }

    .section1 h1 {
        font-size: 20px;
    }

    .section1 p {
        font-size: 13px;
        line-height: 22px;
    }

    .section1 .flex2 .btn-flex2 button {
        font-size: 13px;
        padding: 10px 20px;
        width: 90%;
    }

    .abt-text1 h1 {
        font-size: 20px;
    }

    .abt-text1 .p-1 p,
    .abt-text1 .p2,
    .p-2 strong,
    .list1 li {
        font-size: 13px;
        line-height: 22px;
    }

    .btn-abt button {
        font-size: 14px;
        padding: 10px 20px;
        width: 90%;
    }

    .products-sec h1 {
        font-size: 24px;
    }

    .container .pro h3 {
        font-size: 18px;
    }

    .container p {
        font-size: 12px;
        line-height: 18px;
    }

    .btn4 {
        width: 90%;
        font-size: 0.9rem;
        padding: 10px 20px;
    }

}