@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@100;200;300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

body {
    font-family: 'Spartan', sans-serif;

}


/* global tag */


h1 {
    font-size: 2.5rem;
    font-size: 700;
    color: rgba(35, 35, 85);
}

span {
    font-size: .9rem;
    color: #757373;
}

h6 {
    font-size: 1.1rem;
    color: rgb(24, 24, 49);
}

/* whats app */



.float {
    position: fixed;
    width: 60px;
    height: 40px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    transition: 0.3S ease-in-out;
}

.float:hover {
    transform: rotate(360deg);
}

/* call btn */


.call-btn h1 {
    font-size: 30px;
}

.call-btn {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 72px;
    right: 41px;

    color: rgb(230, 15, 15);
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    transition: 0.3S ease-in-out;

    z-index: 100;

}

.call-btn:hover {
    transform: rotate(360deg);
}




/* <!-- --------navigation------------ --> */

nav {
    top: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 0vw 8vw;
    align-items: center;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.15);
    position: fixed;
    width: 100%;
    background-color: white;
    z-index: 999;

}

nav img {
    width: 120px;
    cursor: pointer;

}

nav .navigation ul {
    display: flex;
    justify-content: flex-end;
    align-items: center;


}

nav .navigation ul li {
    list-style: none;
    margin-left: 30px;

}

nav .navigation ul li a {
    text-decoration: none;
    color: rgb(21, 21, 100);
    font-size: 16px;
    font-weight: 600;
    transition: 0.3s ease;
}

nav .navigation ul li a:hover {
    color: #fdc93b;
}

nav .navigation ul li a.active {
    color: #fdc93b;

}

nav .navigation ul .dropdown .active {
    color: #fdc93b;

}

nav .navigation {
    display: flex;
}

nav #close {
    display: none;
}


nav #bar {
    width: 30px;
    height: 30px;
    display: none;

}

.navigation {
    overflow: hidden;
}

/* ----------------------------navigation---------- */


/* The dropdown container */
.dropdown {
    float: left;
    overflow: hidden;
}

/* Dropdown button */
.dropdown .dropbtn {
    font-size: 16px;
    border: none;
    outline: none;
    color: rgb(0, 0, 101);
    padding: 10px 10px;
    background-color: inherit;
    font-family: inherit;
    /* Important for vertical align on mobile phones */
    margin: 0;
    /* Important for vertical align on mobile phones */
    margin-left: 23px;
    font-weight: 600;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
    display: none;
    position: absolute;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(4.5px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 10px;
}

/* Links inside the dropdown */
.dropdown-content a {
    float: none;
    color: #000000;
    padding: 10px 10px;
    text-decoration: none;
    display: block;
    text-align: left;
    border-radius: 10px;
    font-weight: 600;
}

/* Add a grey background color to dropdown links on hover */
.dropdown-content a:hover {
    background-color: #ddd;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
}






/* --------------------home------------------- */


#home {
    padding-top: 40px;
    background-image: linear-gradient(rgba(9, 5, 54, 0.3), rgba(5, 4, 46, 0.7)), url(/background/back11.jpg);
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    animation: changeimg 35s linear infinite;

}




#home h2 {
    color: rgb(4, 4, 4);
    font-size: 2.2rem;
    letter-spacing: 1px;

}

#home p {
    width: 50%;
    color: rgb(0, 0, 0);
    font-size: 20px;
    letter-spacing: 1px;
    line-height: 25px;

}

#home a {
    text-decoration: none;
    font-size: 0.9rem;
    padding: 13px 35px;
    background-color: #fff;
    font-weight: 600;
    border-radius: 5px;
}

#home .btn {
    margin-top: 30px;
}

#home a.blue {
    color: #fff;
    background: rgb(21, 21, 100);
    transition: 0.3s ease;

}

#home a.blue:hover {
    color: rgb(21, 21, 100);
    background-color: #fff;
}

#home a.yellow {
    color: #fff;
    background: #fdc93b;
    transition: 0.3s ease;
}

#home a.yellow:hover {
    color: rgb(21, 21, 100);
    background-color: #fff;
}

/* ----------------------features-------------- */

#features .fea-base {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    grid-gap: 1rem;
    margin-top: 50px;
    padding: 50px;
}

#features {
    padding: 5vw 8vw 0 8vw;
    text-align: center;

}

#features .fea-box {
    background: #ededfd;
    text-align: start;
    padding: 35px;
    transition: 0.3s ease-in-out;
}

#features .fea-box:hover {
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);

}

#features .fea-box i {
    font-size: 2.3rem;
    color: rgb(44, 44, 80);
}

#features .fea-box h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: rgb(44, 46, 59);
    padding: 13px 0 7px 0;
}


#features.fea-box p {
    font-size: 1rem;
    font-weight: 400;
    color: rgb(44, 46, 59);

}


/* --------------------------------------product1----------------------------------------- */


#product1 h2 {
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 40px;
    color: rgba(35, 35, 85);
}

#product1 p {
    margin-bottom: 30px;
    color: #1a1a1a;
    font-weight: 700;
}

#product1 {
    text-align: center;

}

#product1 .pro-cont {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    flex-wrap: wrap;
}

#product1 .pro {
    width: 24%;
    min-width: 45px;
    padding: 1px 0px;
    border: 1px solid #cce7d0;
    border-radius: 0px;
    cursor: pointer;
    box-shadow: 20px 20px 30px rgba(0, 0, 0, 0.02);
    transition: 0.2s ease;
    position: relative;
    margin-bottom: 25px;
}

#product1 .pro:hover {
    box-shadow: 20px 20px 30px rgba(0, 0, 0, 0.2);


}

#product1 .pro img {
    width: 100%;
    border-radius: 0px;
}

#product1 .pro .disc {
    text-align: start;
    padding: 10px 10px; 
}

#product1 .pro .disc span {
    color: #606063;
    font-size: 12px;
}

#product1 .pro .disc h5 {
    padding-top: 7px;
    color: #1a1a1a;
    font-size: 14px;

}

#product1 .pro .disc i {
    font-size: 12px;
    color: rgb(243, 181, 25);

}

#product1 .pro .disc h4 {
    padding-top: 7px;
    font: 15px;
    font-weight: 700;
    color: #088178;
    background-color: rgb(205, 203, 203);
    padding: 8px;
    width: 73px;
    border-radius: 10px;
    margin-top: 10px;
    cursor: pointer;
    transition: 0.3s;
}
#product1 .pro .disc h4:hover{
    background-color: rgb(117, 115, 115);
}

.pro a {
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50px;
    background-color: #e8f6ea;
    font-weight: 500;
    color: #088178;
    border: 1px solid #cce7d0;
    position: absolute;
    bottom: 20px;
    right: 10px;

}







#myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

#myImg:hover {
    opacity: 0.7;
}

.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    padding-top: 100px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.9);
    /* Black w/ opacity */
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 1000px;
}

#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

.modal-content,
#caption {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

.close {
    position: absolute;
    top: 135px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}


/* <!-- -----------------------------------offer------------------------ --> */


.row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-around;

}

.col-2 {
    flex-basis: 50%;
    min-width: 300px;


}

.col-2 img {
    max-width: 100%;
    padding: 50px 0;
}

.col-2 h1 {
    font-size: 50px;
    line-height: 60px;
    margin: 25px 0;
    color: #fff;
}

.col-2 p {
    color: #fff;

}

.btn-1 {
    display: inline-block;
    background: #ff523b;
    color: #fff;
    padding: 8px 30px;
    margin: 30px 0;
    border-radius: 30px;
    transition: background 0.5s;
}

.btn-1:hover {
    background: #563434;
}

.small-cont {
    /* max-width: 1080px; */
    margin: auto;
    padding-left: 25px;
    padding-right: 25px;
}


.offer {
    background-image: linear-gradient(rgba(99, 112, 168, 0.5), rgba(81, 91, 233, 0.5)), url(/background/factory-1.jpg);
    margin-top: 100px;
    padding: 30px 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.offer img {
    padding: 50px;
    border-radius: 80px;
}

small {
    color: #fff;
}


/* <!-- ---------------------------testimonial---------------------------- --> */



#user {
    margin-top: 70px;
    text-align: center;
}

#user p{
    line-height: 30px;
}

#user .user-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 1rem;
    margin-top: -19px;
    padding: 50px;

}


.profile img {
    width: 125px;
    border-radius: 50%;

}

#user .user-box .profile {
    background: #f9f9de;
    padding: 30px 10px;
    transition: 0.3s;
}

#user .user-box .profile:hover {
    box-shadow: 20px 20px 30px rgba(0, 0, 0, 0.2);

}

.pro-link {
    margin-top: 10px;
}

.pro-link i {
    padding: 10px 13px;
    border: 1px solid rgb(21, 21, 100);
    cursor: pointer;
    border-radius: 50%;
    transition: 0.3s ease;
}

.pro-link i:hover {
    background-color: rgb(21, 21, 100);
    color: #fff;
    border: 1px solid rgb(21, 21, 100);
    cursor: pointer;

}


.profile .stars {
    color: #fdc93b;
    margin-top: 10px;
}

/* ------------FOOTER------------ */


.footer {
    /* background: radial-gradient(#fdfdfd,#fde7e7); */
    background-color: rgb(194, 192, 192);
    /* margin-top: 140px; */
    color: #393939;
    padding: 11px 0 20px;
    justify-content: space-between;
    position: relative;
}

.footer a {
    color: #0f0c0c;
    font-size: 15px;
    text-decoration: none;
}

.footer p span {
    font-weight: 600;
    color: #000000;

}

.footer h3 {
    color: rgb(2, 2, 2);
    margin-bottom: 20px;

}

.footer-col-3 a {
    text-decoration: none;
    color: #0f0c0c;
transition: 0.3;
}

.footer-col-3 a:hover{
    color: #fff;
}

.footer-col-1,
.footer-col-2,
.footer-col-3,
.footer-col-4 {
    min-width: 330px;
    margin-bottom: 20px;

}

.footer-col-1 {
    flex-basis: 30%;
    margin: 50px;
    line-height: 20px;
}

.footer-col-2 {
    /* flex: 1; */
    text-align: start;
    line-height: 25px;

}

.footer-col-2 img {
    width: 180px;
    margin-bottom: 10px;

}

.footer-col-3, .footer-col-4 {
    flex-basis: 12%;
    text-align: -webkit-center;
    line-height: 25px;
}

ul {
    list-style-type: none;
}


.footer-col-3 .fa-brands {
    color: rgb(1, 1, 1);
    transition: 0.3;
}

.footer-col-3 .fa-brands:hover{
    color: #FFF;
}

.footer hr {
    border: none;
    background: #4a4a4a;
    height: 1px;
    margin: 20px 0;
}

.copy-right {
    text-align: center;
}



/* ==================product================ */


@keyframes changeimg {
    0% {
        background-image: linear-gradient(rgba(255, 255, 255, 0.185), rgba(255, 255, 255, 0.362)), url(/background/back4.jpg);
    }

    25% {
        background-image: linear-gradient(rgba(255, 255, 255, 0.185), rgba(255, 255, 255, 0.362)), url(/img/maxresdefault.jpg);
    }
    
    50% {
        background-image: linear-gradient(rgba(255, 255, 255, 0.185), rgba(255, 255, 255, 0.362)), url(/img/mains-pro.jpg);
    }
    
    75% {
        background-image: linear-gradient(rgba(255, 255, 255, 0.185), rgba(255, 255, 255, 0.362)), url(/img/Kitchen-Countertop.jpg);
    }

    100% {
        background-image: linear-gradient(rgba(255, 255, 255, 0.185), rgba(255, 255, 255, 0.362)), url(/background/factory-1.jpg);
    }
} 








#black-home {
    padding-top: 40px;
    background-image: linear-gradient(rgba(255, 255, 255, 0.429), rgba(255, 255, 255, 0.7)), url(/background/factory-1.jpg);
    width: 100%;
    height: 70vh;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    animation: changeimg 35s linear infinite;

}



/* <!-- ======================contact page========================== --> */



#contact {
    padding: 8vw;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

#contact .getin {
    width: 350px;
}

#contact .getin h2 {
    color: #2c234d;
    font-size: 30px;
    line-height: .8;
    font-weight: 800;
    margin-bottom: 16px;
}

#contact .getin p {
    color: #686875;
    line-height: 24px;
    margin-bottom: 33px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e5e4ed;
}

#contact .getin h3 {
    color: #2c234d;
    font-size: 16px;
    line-height: 26px;
    font-weight: 600;
    margin-bottom: 15px;
}

#contact .getin .getin-details div {
    display: flex;
}

#contact .getin .getin-details .get {
    font-size: 16px;
    line-height: 22px;
    color: #5838fc;
    margin-right: 20px;
}

#contact .getin .getin-details div p {
    font-size: 14px;
    border-bottom: none;
    line-height: 22px;
    margin-bottom: 15px;
}

#contact .getin .getin-details .pro-link i {
    margin-right: 8px;
}

#contact .form {
    width: 60%;
    background: #f7f6fa;
    border-radius: 10px;
    padding: 30px;
}

#contact .form h4 {
    font-size: 24px;
    color: #2c234d;
    line-height: 30px;
    margin-bottom: 8px;
}

#contact .form p {
    color: #686875;
    line-height: 24px;
    padding-bottom: 25px;

}

#contact .form .form-row {
    display: flex;
    justify-content: space-between;
    width: 100%;

}

#contact .form .form-row input {
    width: 48%;
    font-size: 14px;
    font-weight: 400;
    border-radius: 3px;
    border: none;
    background: #fff;
    color: #7e7c87;
    outline: none;
    padding: 20px 30px;
    margin-bottom: 20px;
}

#contact .form .form-col input,
#contact .form .form-col textarea {
    width: 100%;
    font-size: 14px;
    font-weight: 400;
    border-radius: 3px;
    border: none;
    background: #fff;
    color: #7e7c87;
    outline: none;
    padding: 20px 30px;
    margin-bottom: 20px;
}


#contact .form button {
    font-size: .9rem;
    padding: 13px 25px;
    background: rgb(21, 21, 100);
    border-radius: 5px;
    outline: none;
    border: none;
    font-weight: 600;
    cursor: pointer;
    color: #fff;
    transition: 0.3s ease;
}

#contact .form button:hover {
    background: #fff;
    color: rgb(21, 21, 100);
}


#map {
    width: 100%;
    height: 70vh;
    margin-bottom: 7vw;
}

#map iframe {
    width: 100%;
    height: 100%;
}


/* <!-- =========About page=========== --> */

#blog-cont{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 8vw;
}

#blog-cont .blogs{
    width: 60%;

}
#blog-cont .blogs .post{
    padding-bottom: 60px;
}

#blog-cont .blogs .post h3{
    color: #29303b;
    padding: 15px 0 10px 0;
} 
#blog-cont .blogs .post p{
    color: #757373;
    padding-bottom: 20px;
    line-height: 20px;
    font-weight: 600;
    
}

#blog-cont .blogs .post p span{
color: black;
}
#blog-cont .blogs .post a{
    text-decoration: none;
    font-size: 0.9rem;
    padding: 13px 35px;
    background-color: rgb(21, 21, 100);
    color: #FFF;
    border-radius: 5px;
    font-weight: 600;
    transition: 0.3s ease-out;
}

#blog-cont .blogs .post a:hover{
    background-color: #fff;
    color: rgb(21, 21, 100);
}

#blog-cont .blogs img{
    width: 100%;
    border-radius: 19px;
}
#blog-cont .cate {
    float: right;
    width: 30%;
    /* margin-left: 900px; */
    top: 200px;
    right: 100px;
    position: fixed;
    /* background-color: #000000;    */
/* z-index: -1; */
   
}
#blog-cont .cate h2{
    padding-bottom: 7px;

}
#blog-cont .cate a{
text-decoration: none;  
color: #757373;
font-weight: 500;
line-height: 45px;
cursor: pointer;
transition: 0.3s;
}
#blog-cont .cate a:hover{
    color: #000;
    font-weight: 600;
    
}



#blog-cont .cate{
    background-color: #FFF;
    padding: 30px;
    border-radius: 20px;

}

/* .product1 p{
    font-weight: 600;
} */



@media only screen and (max-width: 700px) {
    .modal-content {
        width: 100%;
    }
}



@media(max-width: 775px) {


    .navbar a:hover,
    .dropdown:hover .dropbtn {

        margin-left: 23px;
    }

    .dropdown .dropbtn {
        color: #fff;
    }

    nav {
        padding: 15px 20px;
    }

    nav img {
        width: 130px;
    }

    nav #close {
        display: initial;
        font-size: 1.6rem;
        color: #fff;
        padding: 30px 0 20px 20px;
    }


    nav #bar {
        display: initial;
        font-size: 1.4rem;

    }

    nav .navigation ul {
        position: absolute;
        top: 0;
        right: -220px;
        width: 220px;
        background: rgba(17, 20, 104, 0.45);
        backdrop-filter: blur(4.5px);
        border: 1px solid rgba(255, 255, 255, 0.18);

        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        transition: 0.3s ease;
    }

    nav .navigation ul.active {
        right: 0;

    }

    nav .navigation ul li {
        padding: 20px 0 20px 40px;
        margin-left: 0;

    }

    nav .navigation ul li a {
        color: #fff;
    }

    .footer-col-1 {
        /* flex-basis: 30%; */
        /* margin: 50px; */
        margin: 30px;
        /* line-height: 20px; */
    }

    #granite {
        padding: 1vw 3vw 0 3vw;
    }

    #us1,
    #us2 {
        display: none;
    }

    .offer img {
        padding: 19px;
        border-radius: 27px;
        background-size: cover;
        background-position: center;
    }

    /* contact */

    #contact {
        padding: 8vw 4vw;

    }

    #contact .getin {
        width: 250px;
    }




     #blog-cont{
        flex-direction: column;
    }

    #blog-cont .blogs{
        width: 100%;
    }

    #blog-cont .cate {
        width: 100%;
        position: relative;
            margin-left:0px;
            top: 0;   
}


}





@media(max-width:475px) { 


    .modal-content {
        /* margin: auto; */
        /* display: block; */
        /* height: 371px; */
        margin-top: 151px;
        /* width: 80%; */
        /* max-width: 1000px; */
    }

#user h1{
    font-size: 20px   ;
}






    #home p {
        width: 50%;
        color: rgb(255, 255, 255);
        font-size: 0.9rem;
        letter-spacing: 1px;
        line-height: 25px;
    }

    .navbar a:hover,
    .dropdown:hover .dropbtn {
        margin-left: 23px;
    }

    #features .fea-box {
        padding: 20px;
        width: 301px;
        margin-left: -38px;
        height: 185px;
    }

    #product1 .pro {
        min-width: 372px;
        padding: 0px 0px;
        margin: auto;
        margin-bottom: 40px;

    }

    #product1 .pro .disc {
        text-align: start;
        padding: 6px 0;
        margin-left: 30px;
    }

    .offer img {
        padding: 0px;
    }
 
    .footer h3 {
        text-align: center;
    }

    .footer p {
        text-align: center;
    }

    .footer-col-2 img {
        margin-left: 64px;
    }

    .footer h4 {
        text-align: center;
        margin-bottom: 10px;
    }

    .footer ul {
        text-align: center;
    }

    #home p {
        width: 50%;
        color: rgb(255, 255, 255);
        font-size: 0.9rem;
        letter-spacing: 0px;
        line-height: 21px;
    }

    #home h2 {
        color: #fff;
        font-size: 1.2rem;
        letter-spacing: 1px;
    }


}



















@media(max-width: 475px) {
    #contact {
        padding: 8vw 4vw;
        flex-direction: column;
        align-content: flex-start;
        justify-content: flex-start;

    }

    #contact .getin {
        width: 100%;
        margin-bottom: 30px;
    }

    #contact .form {
        width: 100%;

        padding: 40px 30px;

    }

    #contact .form .form-row {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        width: 100%;
    }

    #contact .form .form-row input {
        width: 100%;
    }

    #blog-cont{
        flex-direction: column;
    }

    #blog-cont .blogs{
        width: 100%;
    }

    #blog-cont .cate {
        width: 100%;
        position: relative;
            margin-left:0px;
            top: 0;   
}

}




@media(max-width: 1100px){   
#blog-cont{
    flex-direction: column;
}

#blog-cont .blogs{
    width: 100%;
}

#blog-cont .cate {
    width: 100%;
    position: relative;
        margin-left:0px;
        top: 0;   
        left: 20px;
}
}

