html {
    scroll-behavior: smooth;
}

.logo {
    width: 200px;
}

.color-green {
    color: #25D366;
    font-size: 40px;
}

.nav-number {
    font-size: 17px;
}

/*************************************** Main section ***************************************/
#main-video {
    height: 90vh;
    overflow: hidden;
    background: transparent;
}

#main-video video {
    width: 100%;
    height: 100vh;
    position: absolute;
    object-fit: fill;
    -ms-zoom-animation: -1;
    z-index: -10000;
}

/*************************************** Our Products ***************************************/
#our-products {
    min-height: 100vh;
    padding: 105px 0;
}

.products-card {
    width: 350px;
    height: 400px;
    position: relative;
    overflow: hidden;
    perspective: 1000px;
    cursor: pointer;
    margin: 10px;
    border: 1px solid #000000;
    border-radius: 5%;
    padding: 20px;
}

.products-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 1s ease, transform 1s ease-out;
}

.products-card .door-title {
    position: absolute;
    top: 40%;
    left: 101%;
    font-size: 24px;
    font-weight: bold;
    color: black;
    opacity: 0;
    transition: opacity 1s ease, transform 1s ease-out;
}

.products-card .window-title {
    position: absolute;
    top: 94%;
    left: 35%;
    font-size: 24px;
    font-weight: bold;
    color: black;
    opacity: 0;
    transition: opacity 1s ease, transform 1s ease-out;
}

.products-card:hover .door-img {
    transform: rotateY(95deg);
    transform-origin: left center;
}

.products-card:not(:hover) .door-img {
    transform: rotateY(0deg);
    transform-origin: left center;
}

.products-card:hover .window-img {
    transform: translateY(-115%);
}

.products-card:hover .door-title {
    opacity: 1;
    transform: translateX(-280%);
}

.products-card:hover .window-title {
    opacity: 1;
    transform: translateY(-300%);
}

.product-button {
    align-items: center;
    appearance: none;
    background-color: #3EB2FD;
    background-image: linear-gradient(1deg, #4F58FD, #149BF3 99%);
    background-size: calc(100% + 20px) calc(100% + 20px);
    border-radius: 100px;
    border-width: 0;
    box-shadow: none;
    box-sizing: border-box;
    color: #FFFFFF;
    cursor: pointer;
    display: inline-flex;
    font-family: CircularStd, sans-serif;
    font-size: 1rem;
    height: auto;
    justify-content: center;
    line-height: 1.5;
    padding: 6px 20px;
    position: relative;
    text-align: center;
    text-decoration: none;
    transition: background-color .2s, background-position .2s;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    vertical-align: top;
    white-space: nowrap;
}

.product-button:active,
.product-button:focus {
    outline: none;
}

.product-button:hover {
    background-position: -20px -20px;
}

.product-button:focus:not(:active) {
    box-shadow: rgba(40, 170, 255, 0.25) 0 0 0 .125em;
}

/*************************************** Completed Projects section  ***************************************/
#completed-projects {
    min-height: 100vh;
    padding: 105px 0;
    /* background: linear-gradient(to bottom, #000000 0%, #ffffff 100%); */
    /* color: #fff; */
}

.nft {
    user-select: none;
    /* max-width: 300px; */
    margin: 0rem auto;
    border: 1px solid #000000;
    background-color: #282c34;
    background: linear-gradient(0deg, #000000 0%, rgb(255, 255, 255) 100%);
    box-shadow: 0 7px 20px 5px #00000088;
    border-radius: 0.7rem;
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    overflow: hidden;
    transition: 0.5s all;
}

.nft .main {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 1rem;
}

.nft .main .tokenImage {
    border-radius: 0.5rem;
    max-width: 100%;
    height: 250px;
    object-fit: cover;
}

.nft .main .creator {
    color: #fff;
    display: flex;
    align-items: center;
    margin-top: 0.2rem;
    margin-bottom: -0.3rem;
}

.decoration-none {
    text-decoration: none;
}

.nft ::before {
    position: fixed;
    content: "";
    box-shadow: 0 0 100px 40px #ffffff08;
    top: -10%;
    left: -100%;
    transform: rotate(-45deg);
    height: 60rem;
    transition: 0.7s all;
}

.nft:hover {
    border: 1px solid #ffffff44;
    box-shadow: 0 7px 50px 10px #000000aa;
    transform: scale(1.015);
    filter: brightness(1.3);
}

.nft:hover ::before {
    filter: brightness(0.5);
    top: -100%;
    left: 200%;
}

.color-black {
    color: #000000;
}

/*************************************** Catalogues section  ***************************************/
#catalogues {
    min-height: 100vh;
    padding: 105px 0;
}

.catalogue-card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    padding: 10px;
    font-family: 'Roboto', sans-serif;
}

.catalogue-card {
    margin: 5px;
    width: 16rem;
    height: 28rem;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    color: rgb(0, 0, 0);
    box-shadow: 0 10px 30px 5px rgba(0, 0, 0, 0.2);

    img {
        padding: 10px;
        position: absolute;
        object-fit: contain;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        opacity: 0.9;
        transition: opacity .2s ease-out;
    }

    h2 {
        text-align: center;
        font-size: 15px;
        position: relative;
        margin: 10px;
        font-family: 'Roboto Condensed', sans-serif;
        font-weight: normal;
        text-transform: uppercase;
    }


    &:hover img {
        transition: opacity .3s ease-in;
        opacity: 1;
    }

}

.material-symbols-outlined {
    vertical-align: middle;
}

/* About us section */

#about-us {
    min-height: 100vh;
    padding: 105px 0;
    /* background: linear-gradient(to bottom, #ffffff 0%, #000000 100%); */
    /* color: #000000; */
}

.sub-title {
    font-size: 40px;
    font-weight: 600;
}

.about-us-image {
    width: 80%;
}

/*************************************** Our Satisfied Customers Section ***************************************/

#our-satisfied-customers {
    min-height: 100vh;
    padding: 105px 0;
    /* background: linear-gradient(to bottom, #000000 0%, #ffffff 100%); */
    /* color: #ffffff; */
}

.satisfied-customer-image {
    border-radius: 50%;
    width: 350px;
    height: 350px;
    object-fit: cover;
    /* Maintains aspect ratio */
}

.carousel-caption {
    color: #000000;
    margin: 5px;
    position: relative;
    right: 0;
    left: 0;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    height: 100px;
    width: 100px;
    outline: black;
    background-size: 100%, 100%;
    border-radius: 50%;
    border: 1px solid black;
    background-image: none;
}

.carousel-control-next-icon:after {
    content: '>';
    font-size: 55px;
    color: #000000;
}

.carousel-control-prev-icon:after {
    content: '<';
    font-size: 55px;
    color: #000000;
}

.carousel .carousel-indicators li {
    background-color: rgb(139, 139, 139);
}

.carousel .carousel-indicators li.active {
    background-color: rgb(0, 0, 0);
}

/*************************************** Suppliers and partners Section **************************************/

#suppliers-and-partners {
    color: #000000;
    min-height: 100vh;
    padding: 105px 0;
    /* background: linear-gradient(to bottom, #ffffff 0%, #000000 100%); */
}

.suppliers-and-partners-images {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
}

.circle-background {
    border: 1px solid #000000;
    width: 225px;
    height: 225px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: #fff;
    background-image: radial-gradient(circle at center, #abababaa 50%, transparent 50%);
    background-repeat: no-repeat;
    transition: background-size 1s, color 1s;
    background-size: 0 0;
    background-position: 50% 50%;
}

.circle-background:hover {
    background-size: 200% 200%;
    color: #abababaa;
}

.suppliers-and-partners-container {
    position: relative;
    display: inline-block;
    overflow: hidden;
    padding: 50px;
}

.suppliers-and-partners-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    transition: transform .5s ease-in;
    position: relative;
    /* Ensure the image is positioned relative to its container */
    z-index: 2;
}

.suppliers-and-partners-title {
    position: absolute;
    top: -60%;
    /* Initially positioned below the container */
    left: 0;
    width: 100%;
    text-align: center;
    color: rgb(0, 0, 0);
    transition: top .5s ease-in;
    z-index: 1;
    /* Ensure the text is behind the image */
}

.suppliers-and-partners-container:hover .suppliers-and-partners-image {
    transform: translateY(-20px);
}

.suppliers-and-partners-container:hover .suppliers-and-partners-title {
    top: 70%;
    /* Moves the text to the center */
}


/*************************************** Why Choose Us Section ***************************************/

#why-choose-us {
    padding: 105px 0;
    min-height: 100vh;
    /* background: linear-gradient(to bottom, #000000 0%, #ffffff 100%); */
    /* color: #fff; */
}

.enlarge-on-hover {
    transition: transform .5s ease-in;
    /* Animation */
}

.enlarge-on-hover:hover {
    transform: scale(1.1);
    /* Animation */
}


/*************************************** Contact Us Section ***************************************/
#contact-us {
    color: #000000;
    padding: 105px 0;
    min-height: 100vh;
    /* background: linear-gradient(to bottom, #ffffff 0%, #000000 100%); */

}

#contact-us .card {
    position: relative;
    height: 410px;
    width: 100%;
    margin: 10px 0;
    transition: ease all 2.3s;
    perspective: 1200px;
}

#contact-us .card:hover .cover {
    transform: rotateX(0deg) rotateY(-180deg);
}

#contact-us .card:hover .cover:before {
    transform: translateZ(30px);
}

#contact-us .card:hover .cover:after {
    background-color: black;
}

#contact-us .card:hover .cover h1 {
    transform: translateZ(100px);
}

#contact-us .card:hover .cover .price {
    transform: translateZ(60px);
}

#contact-us .card:hover .cover a {
    transform: translateZ(-60px) rotatey(-180deg);
}

#contact-us .card .cover {
    position: absolute;
    height: 100%;
    width: 100%;
    transform-style: preserve-3d;
    transition: ease all 2.3s;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}

#contact-us .card .cover:before {
    content: "";
    position: absolute;
    z-index: 2;
    transition: ease all 2.3s;
    transform-style: preserve-3d;
    transform: translateZ(0px);
    object-fit: contain;
}

#contact-us .card .cover:after {
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    z-index: 2;
    transition: ease all 1.3s;
    object-fit: contain;
    padding: 5px;
    border: 2px solid #000000;
    border-radius: 10px;
}

#contact-us .card .cover.item-a {
    background-image: url("../storage/static/call-us-buttons.png");
}

#contact-us .card .cover h1 {
    font-weight: 600;
    position: absolute;
    bottom: 55px;
    left: 50px;
    color: white;
    transform-style: preserve-3d;
    transition: ease all 2.3s;
    z-index: 3;
    font-size: 3em;
    transform: translateZ(0px);
}

#contact-us .card .cover .price {
    font-weight: 200;
    position: absolute;
    top: 55px;
    right: 50px;
    color: #000000;
    transform-style: preserve-3d;
    transition: ease all 2.3s;
    z-index: 4;
    font-size: 2em;
    transform: translateZ(0px);
}

#contact-us .card .card-back {
    position: relative;
    height: 100%;
    width: 100%;
    background: #fff;
    transform-style: preserve-3d;
    transition: ease all 2.3s;
    transform: translateZ(-1px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    object-fit: contain;
    padding: 10px;
    border: 2px solid #000000;
    border-radius: 10px;
}

#contact-us .card .card-back a {
    transform-style: preserve-3d;
    transition: ease transform 2.3s, ease background 0.5s;
    transform: translateZ(-1px) rotatey(-180deg);
    background: transparent;
    border: 1px solid #000000;
    font-weight: 200;
    font-size: 1em;
    color: #000000;
    padding: 14px 32px;
    outline: none;
    text-decoration: none;
}

#contact-us .card .card-back a:hover {
    background-color: #25D366;
    color: #fff;
}

#contact-map {
    margin-top: 25px;
    display: flex;
    justify-content: center;
}

.contact-us-map {
    border: 1px solid #000000;
    border-radius: 15px;
    padding: 10px;
    margin-top: 20px;
    width: 100% !important;
}

.form-container {
    width: 100%;
    max-width: 100%;
    box-shadow: 0px 10px 25px -5px rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    overflow: hidden;
    background: #fff;
    border: 2px solid #000000;
}

.form-container .ion-android-done {
    color: #FF785A;
    font-size: 60px;
    align-self: center;
}

.form-container.transitioned-3 {
    animation: swoosh 1s 1;
}

.form-container .belt {
    width: 300%;
    display: flex;
    transition: transform 300ms ease-in-out;
}

.form-container .belt.transitioned-1 {
    transform: translateX(-33%);
}

.form-container .belt.transitioned-2 {
    transform: translateX(-66%);
}

.form-container .progress-wrapper,
.form-container .success-wrapper,
.form-container .form {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    position: relative;
    padding: 5px;
}

.form-container .progress-wrapper .form-header,
.form-container .success-wrapper .form-header,
.form-container .form .form-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.form-container .progress-wrapper .form-header h4,
.form-container .success-wrapper .form-header h4,
.form-container .form .form-header h4 {
    color: #000000;
    font-weight: 600;
}

.form-container .progress-wrapper input,
.form-container .progress-wrapper textarea,
.form-container .success-wrapper input,
.form-container .success-wrapper textarea,
.form-container .form input,
.form-container .form textarea {
    display: block;
    width: 95%;
    max-width: 93%;
    margin: 5px 0;
    padding: 10px;
    outline: none;
    border: 1px solid #000000;
    background: #fff;
    color: #000000;
    caret-color: #000000;
}

.form-container .progress-wrapper input::placeholder,
.form-container .progress-wrapper textarea::placeholder,
.form-container .success-wrapper input::placeholder,
.form-container .success-wrapper textarea::placeholder,
.form-container .form input::placeholder,
.form-container .form textarea::placeholder {
    color: rgba(0, 0, 0, 0.8);
    transition: color 0.2s;
    font-size: 14px;
}

.form-container .progress-wrapper input:focus::placeholder,
.form-container .progress-wrapper textarea:focus::placeholder,
.form-container .success-wrapper input:focus::placeholder,
.form-container .success-wrapper textarea:focus::placeholder,
.form-container .form input:focus::placeholder,
.form-container .form textarea:focus::placeholder {
    color: transparent;
}

.form-container .progress-wrapper button,
.form-container .success-wrapper button,
.form-container .form button {
    background: #000000;
    border: none;
    color: #fff;
    padding: 12px;
    border-radius: 20%;
    align-self: flex-end;
    margin: 10px 10px 10px 0;
    box-shadow: 0px 10px 13px -12px rgba(0, 0, 0, 0.3);
    outline: none;
    transition: all 300ms ease-in-out;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
}

.form-container .progress-wrapper h4,
.form-container .success-wrapper h4,
.form-container .form h4 {
    color: #fff;
    font-weight: 300;
}

.form-container .progress-div {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.form-container .progress-div h3 {
    color: rgba(0, 0, 0, 0.9);
}

.form-container .progress-div .progress-outer {
    width: 150px;
    height: 20px;
    background: #fff;
    padding: 5px;
    box-shadow: 0px 0px 5px 0 rgba(0, 0, 0, 0.3);
    border-radius: 5px;
}

.form-container .progress-div .progress-outer .progress-inner {
    background-color: #000000;
    border-radius: 5px;
    height: 20px;
    width: 0%;
}

.form-container .progress-div .progress-outer .progress-inner.loading {
    animation: loading 3s 1 300ms forwards;
}

.form-container .success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 200px;
}

.form-container .success h2 {
    color: rgba(0, 0, 0, 0.9);
}

.form-container .success button {
    align-self: center;
    font-size: 14px;
}

button:hover {
    transform: translateY(-3px);
    box-shadow: 0px 10px 23px -17px rgba(0, 0, 0, 0.3);
}

.contact-error {
    color: red;
    font-size: 1rem !important;
}

@keyframes swoosh {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    10% {
        transform: translateY(10px);
        opacity: 1;
    }

    50%,
    70% {
        transform: translateY(-150%);
        opacity: 0;
    }

    80% {
        transform: translateY(-50%);
        opacity: 0.5;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes loading {

    0%,
    30% {
        width: 0%;
    }

    30% {
        width: 10%;
    }

    40% {
        width: 40%;
    }

    50% {
        width: 50%;
    }

    60%,
    70% {
        width: 70%;
    }

    100% {
        width: 100%;
    }
}


/*************************************** footer ***************************************/
footer {
    height: fit-content;
    padding: 25px;
    width: 100%;
    background: #101010;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footer-title {
    text-transform: uppercase;
    margin: 0;
    padding: 0;
    font-size: 1.2rem;
    font-family: 'Trebuchet MS', sans-serif;
    color: rgb(255, 255, 255);
    padding-bottom: 0.75rem;
}

.copyright {
    color: rgba(255, 255, 255, 0.603);
    text-align: center;
    width: 60%;
    display: block;
    margin: 2rem auto 1rem auto;

    position: relative;
    font-family: 'Lato', sans-serif;
    font-weight: 100;
    letter-spacing: 1.5px;
}

footer .container {
    min-height: 90%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;

}

footer .section {
    display: flex;
    flex-direction: column;
    margin-top: 1rem;
}

.section .links {
    font-size: 1rem;
    margin: 0.2rem 0 0.1rem 0;
    font-family: Muli, sans-serif;
    color: rgb(91, 162, 255);
    font-weight: 100;
}

.social-link {
    color: rgb(88, 88, 88);
    font-size: 2rem;
    margin: 0.05rem;
}

.links-section {
    margin-top: 1rem;
}

footer h5 {
    color: rgb(255, 255, 255);
    font-size: 1.5rem;
    font-family: 'Trebuchet MS', sans-serif;
    margin: 2rem auto 1.5rem auto;
}

#facebook {
    color: #3b5998;
}

#whatsapp {
    color: #25D366;
    padding-left: 1rem;
}

/*************************************** Doors Section ***************************************/
#doors {
    min-height: 100vh;
    padding: 105px 0;
}

.door-card {
    width: 350px;
    height: 400px;
    border: 1px solid #ccc;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    padding: 20px;
    margin: 10px;
}

.door-card-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.door-card-description {
    font-size: 15px;
    position: absolute;
    height: 100%;
    top: 100%;
    /* Initially hidden below the card */
    left: 0;
    width: 100%;
    padding: 25px;
    box-sizing: border-box;
    transition: top 0.3s ease-in-out, opacity 0.3s ease-in-out;
    /* Transition from bottom to top and opacity */
    opacity: 0;
    /* Initially hidden */
    background-color: #25D366;
}

.door-card:hover .door-card-description {
    top: 0;
    /* Move the description to the top on hover */
    opacity: 1;
    /* Show on hover */
}

.door-card-description h3 {
    margin-top: 45%;
}

/**************************************  Door Panels section  **************************************/

#collection {
    position: relative;
    margin-top: 11vh;
    display: block;
    width: 100%;
    background-color: #d0d0d0;
}

#collection h1 {
    font-family: 'Trebuchet MS', sans-serif;
    width: 100%;
    text-align: center;
    font-size: 3.5rem;
    font-weight: bold;
}

#classic-collection h1 {
    width: 100%;
    text-align: center;
    font-family: 'Trebuchet MS', sans-serif;
    font-size: 1.5rem;
}

#prestige h1 {
    width: 100%;
    text-align: center;
    font-family: 'Trebuchet MS', sans-serif;
    font-size: 1.5rem;
}

#shaker h1 {
    width: 100%;
    text-align: center;
    font-family: 'Trebuchet MS', sans-serif;
    font-size: 1.5rem;
}

#design h1 {
    width: 100%;
    text-align: center;
    font-family: 'Trebuchet MS', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 4px;
}

#designer-arch h1 {
    width: 100%;
    text-align: center;
    font-family: 'Trebuchet MS', sans-serif;
    font-size: 2.5rem;

}

#craftsman h1 {
    width: 100%;
    text-align: center;
    font-family: 'Trebuchet MS', sans-serif;
    font-size: 2.5rem;
}

.options {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.options .door {
    border: 1px solid #000000;
    height: 25rem;
    width: 12rem;
    margin: 1.2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 55px 10px;
}

#collection .door img {
    height: 100%;
    object-fit: contain;
    width: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

#collection .door h3 {
    width: 9rem;
    margin: 10px 0;
    padding: 15px 0;
    font-family: 'Trebuchet MS', sans-serif;
    text-align: center;
    font-weight: 100;
    font-size: 16px !important;
    text-transform: capitalize;
}

.area {
    margin-top: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.212);
}

#collection span {
    margin-top: 3rem;
    width: 100%;
    text-align: center;
    display: block;
    font-family: 'Trebuchet MS', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/**************************************  Door Designs section  **************************************/
#door-designs {
    min-height: 100vh;
    padding: 105px 0;
    background-color: #d0d0d0;
}

.steel-doors {
    margin-bottom: 50px;
}

.fiber-glass-doors {
    margin-bottom: 50px;
}

#door-designs .card {
    width: 20rem;
    height: 23rem;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    color: #000000;
    box-shadow: 0 10px 30px 5px rgba(0, 0, 0, 0.2);

    img {
        padding: 10px;
        position: absolute;
        object-fit: contain;
        width: 100% !important;
        height: 100% !important;
        top: 0;
        left: 0;
        opacity: 0.9;
        transition: opacity .2s ease-out;
    }

    h4 {
        position: absolute;
        inset: auto auto 30px 30px;
        margin: 0;
        transition: inset .3s .3s ease-out;
        font-family: 'Roboto Condensed', sans-serif;
        font-weight: normal;
        text-transform: uppercase;
    }

    &:hover h4 {
        inset: auto auto 220px 30px;
        transition: inset .3s ease-out;
    }

    &:hover img {
        transition: opacity .3s ease-in;
        opacity: 1;
    }

}


/**************************************  Windows section  **************************************/
#windows {
    min-height: 100vh;
    padding: 105px 0;
    /* background: linear-gradient(to bottom, #ffffff 0%, #000000 100%); */
}

.window-card {
    width: 350px;
    height: 400px;
    border: 1px solid #ccc;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    padding: 20px;
    margin: 10px;
}

.window-card-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.window-card-description {
    font-size: 15px;
    position: absolute;
    height: 100%;
    top: 100%;
    /* Initially hidden below the card */
    left: 0;
    width: 100%;
    padding: 25px;
    box-sizing: border-box;
    transition: top 0.3s ease-in-out, opacity 0.3s ease-in-out;
    /* Transition from bottom to top and opacity */
    opacity: 0;
    /* Initially hidden */
    background-color: #25D366;
}

.window-card:hover .window-card-description {
    top: 0;
    /* Move the description to the top on hover */
    opacity: 1;
    /* Show on hover */
}

.window-card:hover .window-card-description p {
    opacity: 1;
    /* Show paragraph on hover */
}

.window-card-description h3 {
    margin-top: 0;
}

.window-card-description p {
    margin: 0;
    overflow-y: auto;
    height: calc(100% - 40px);
    /* Adjusted height to account for padding */
    background-color: transparent;
    /* Removed background color */
    opacity: 0;
    /* Initially hidden */
    transition: opacity 0.3s ease-in-out;
    /* Transition opacity */
}

/************************************** Project details section **************************************/

#project-details {
    padding: 105px 0;
    min-height: 100vh;
}

#project-details .card {
    width: 18rem;
    height: 25rem;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    color: #000000;
    box-shadow: 0 10px 30px 5px rgba(0, 0, 0, 0.2);

    img {
        margin: 5px;
        position: absolute;
        object-fit: contain;
        width: 97% !important;
        height: 85% !important;
        top: 3rem;
        left: 0;
        opacity: 0.9;
        transition: opacity .2s ease-out;
    }
    
    h2 {
        text-align: center;
        font-size: 15px;
        position: relative;
        margin: 10px;
        font-family: 'Roboto Condensed', sans-serif;
        font-weight: normal;
        text-transform: uppercase;
    }

    h4 {
        position: absolute;
        inset: auto auto 30px 30px;
        margin: 0;
        transition: inset .3s .3s ease-out;
        font-family: 'Roboto Condensed', sans-serif;
        font-weight: normal;
        text-transform: uppercase;
    }

    &:hover h4 {
        inset: auto auto 220px 30px;
        transition: inset .3s ease-out;
    }

    &:hover img {
        transition: opacity .3s ease-in;
        opacity: 1;
    }

}

.material-symbols-outlined {
    vertical-align: middle;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.gallery-item {
    margin: 10px;
    cursor: pointer;
}

.gallery-item img {
    width: 200px;
    height: auto;
}

.modal {
    margin-top: 50px;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 999;
}

.modal-content {
    display: block;
    margin: auto;
    width: 80%;
    max-width: 800px;
    max-height: 80%;
    overflow: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.modal-content img {
    padding: 10px;
    width: 100%;
    height: auto;
}

.close {
    color: black;
    font-size: 30px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
}

.nav-btn {
    color: black;
    font-size: 30px;
    font-weight: bold;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 10px;
    border: none;
    cursor: pointer;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}


@media screen and (max-width:767px) {
    .logo {
        width: 330px;
    }

    .color-green {
        color: #25D366;
        font-size: 50px;
    }

    .nav-number {
        font-size: 20px;
    }

    .navbar-toggler {
        font-size: 20px;
    }

    .nft {
        max-height: fit-content;
    }

    /*************************************** Products Section ***************************************/

    #our-products {
        min-height: 100vh;
        padding: 180px 0 !important;
    }

    .products-card .door-title {
        position: absolute;
        top: 37%;
        left: 103%;
        font-size: 24px;
        font-weight: bold;
        color: black;
        opacity: 0;
        transition: opacity 1s ease, transform 1s ease-out;
    }

    /*************************************** Completed Projects section  ***************************************/
    #completed-projects {
        min-height: 100vh;
        padding: 180px 0 !important;
    }


    /*************************************** Catalogues section  ***************************************/
    #catalogues {
        min-height: 100vh;
        padding: 180px 0 !important;
    }


    /*************************************** About Us section  ***************************************/
    #about-us {
        min-height: 100vh;
        padding: 180px 0 !important;
    }

    /*************************************** Our Satisfied Customers Section ***************************************/

    #our-satisfied-customers {
        min-height: 100vh;
        padding: 180px 0 !important;
    }

    .satisfied-customer-image {
        width: 200px;
        height: 200px;
        /* Maintains aspect ratio */
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        padding: 3px;
        height: 50px;
        width: 50px;
        outline: black;
        background-size: 100%, 100%;
        border-radius: 50%;
        border: 1px solid black;
        background-image: none;
    }

    .carousel-control-next-icon:after {
        content: '>';
        font-size: 25px;
        color: #000000;
    }

    .carousel-control-prev-icon:after {
        content: '<';
        font-size: 25px;
        color: #000000;
    }

    /*************************************** Suppliers and partners Section ***************************************/

    #suppliers-and-partners {
        min-height: 100vh;
        padding: 180px 0 !important;
    }

    #why-choose-us {
        padding: 180px 0 !important;
        min-height: 100vh;
    }

    /*************************************** Contact Us Section ***************************************/
    #contact-us {
        padding: 180px 0 !important;
        min-height: 100vh;
    }

    /*************************************** Doors Section ***************************************/
    #doors {
        min-height: 100vh;
        padding: 180px 0 !important;
    }

    #collection {
        min-height: 100vh;
        padding: 80px 0 !important;
    }

    #door-designs {
        min-height: 100vh;
        padding: 180px 0 !important;
    }

    /*************************************** Windows section  ***************************************/
    #windows {
        min-height: 100vh;
        padding: 180px 0 !important;
    }

    /*************************************** project details section ***************************************/
    #project-details {
        padding: 210px 0 !important;
        min-height: 100vh;
    }
}