@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&family=Play:wght@400;700&family=Playwrite+AU+SA:wght@100..400&family=Poppins:wght@100;200;300;400;500;600;700&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: "Merriweather", serif;   
    min-height: 100vh;
    overflow-x: hidden;
}
ul{
    list-style: none;
}
a{
    text-decoration: none;
}

.container{
    margin: 0 7rem;
    height: 100%;
}

#home{
    height: 100vh;
    background: #f5f5f8; /**/
    color: black;
}
nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
}
nav .logo{
    width: 90px;
}
nav ul{
    display: flex;
    align-items: center;
}
nav ul a{
    color: rgb(102, 100, 100);
    font-weight: 500;
    font-size: 18px;
    padding: 35px;
    cursor: pointer;
}
nav ul a:hover{
    color: #50bae0;
    font-weight: 600;
    transform: all 0.5s ease;
}



#home .content{
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75%;
}
#home .content img{
    width: 400px;
    margin-top: 50px;
    animation: animation1 1s ease-out;
}

#home .content .content-text h1{
    font-size: 45px;
    font-weight: 700;
    color: #d43f46;
}
#home .content .content-text h1 span{
    font-size: 70px;
    color: #50bae0;
}
#home .content .content-text p{
    font-weight: 300;
    font-size: 25px;
    margin-bottom: 30px;
    color: rgb(102, 100, 100);
    line-height: 1.4;
    width: 100%;
}
.btn{
    font-size: 18px;
    padding: 10px 15px;
    color: #d43f46;
    background-color: #f5f5f8 ;
    border: 1px solid #50bae0;
    border-radius: 30px;
    font-weight: 700;
}
.btn:hover{
    background-color: #50bae0;
    border-radius: 1px solid #50bae0;
}



@keyframes animation1{
    0% {
        transform: translatex(500px);
    }

    100%{
        transform: translateX(0);
    }
}

/**/
.home, .about{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem;
}
.home h2, .about h2, .contact h2{
    font-size: 36px;
    font-weight: 200;
}
.home .line, .about .line, .contact .line{
    height: 3px;
    width: 120px;
    background-color: #50bae0;
    margin: 15px 0 30px;
}
.home .row{
    display: flex;
    justify-content: center;
    text-align: center;
}
.home .row .col{
   background-color: #f5f5f8;
   margin: 0 1rem;
   padding: 50px 20px;
   width: 400px;
   height: 450px;
   border-radius: 5px;
   box-shadow: 0 2px 3px 0 rgba(0,0,0,0.2);
   transition: 0.3s;
}
.home .row .col:hover{
    box-shadow: 0 2px 3px 0 #50bae0;
    transform: all 0.5s ease;
}
.col img{
    width: 250px;
    height: 250px;
    margin-bottom: 15px;
}
.col h3, .card-body h3{
    font-size: 18px;
    font-weight: 600;
    color: #50bae0;
}
.col p, .card-body p{
    font-size: 14px;
    font-weight: 300;
}
.col,.col p, .card-body p{
    margin: 15px 0;
    line-height: 1.4;
}
.button{
    margin: 20px 0;
}
.view{
    font-size: 14px;
    padding: 10px 15px;
    margin-top: 1rem;
    color: #d43f46;
    background-color: #f5f5f8 ;
    border: 1px solid #50bae0;
    border-radius: 30px;
    font-weight: 700;
}
.view:hover{
    background-color: #50bae0;
    border-radius: 1px solid #50bae0;
}

/**/
.Partners{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem;
}
.Partners h2{
    font-size: 36px;
    font-weight: 200;
}
.Partners .line{
    height: 3px;
    width: 120px;
    background-color: #50bae0;
    margin: 15px 0 30px;
}
.Partners .Logo-Part{
    display: flex;
    justify-content: center;
    text-align: center;
    margin: 2rem 1rem;
    background-color: #f5f5f8 ;
    border-radius: 5px;
   box-shadow: 0 2px 3px 0 rgba(0,0,0,0.2);
}
.Partners .Logo-Part img{
    width: 400px;
    padding: 100px 100px;
}
.Logo-Part a:hover{
    transform: scale(1.3); 
}


/* About */

.about-txt{
    justify-content: center;
    margin: 1rem 2rem;
}
.about-txt p{
    text-align:justify;
    justify-content: center;
    font-size: 18px;
    line-height: 42px;
    font-weight: 100;
}
.about-txt .canabec{
    color: #50bae0;
    font-weight: 600;
    font-size: 30px;
    border-bottom: 2px solid #d43f46 ;
    margin-right: 10px;
}
.our{
    text-align: center;
    margin-top: 40px;
    font-weight: 600; 
    font-size: 30px;
    color: #50bae0;
    text-shadow: 2px 3px 1px #d43f46;
}


/* Products */
#home-product{
    min-height: 100vh;
    background-color: #f5f5f8;
}
.product-container{
    margin: 0 3rem;
    position: relative;
    height: auto;
}

.product-button{
    margin: 30px 60px;
    padding: 1rem;
    text-align: center;
   
}
.product-button .btn-prod{
    padding: 7px 20px;
    margin: 1rem 0rem;
    font-size: 18px;
    font-weight: 200;
    color: #50bae0;
    border: 1px solid #50bae0;
    background-color: transparent;
    border-radius: 30px;
    cursor: pointer;
}
.product-button .btn-prod:hover{
    color: white;
    background-color: #50bae0;
}
.product-button .active{
    color: white;
    background-color: #50bae0;
}
.filterable-cards{
    display: flex;
    margin: 0 4rem;
    height: auto;
    gap: 30px;
    flex-wrap: wrap;
}
.card{
    flex-basis: 30%;
    background-color: transparent;
    padding: 10px;
    width: 400px;
    height: 450px;
    border-radius: 8px;
    margin-bottom: 30px;
    padding: 50px 50px 30px 50px;
    border-radius: 5px;
    box-shadow: 0 2px 3px 0 rgba(0,0,0,0.2);
    transition: 0.3s;
}

.card:hover{
    box-shadow: 0 2px 3px 0 #50bae0;
    transform: all 0.5s ease;
}
.card img{
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    margin-bottom: 30px;
}
.card-body{
    text-align: center;
}

.card p, .card h3{
    text-align: center;
}
.card-body .view{
    font-size: 14px;
    padding: 5px 10px;
    margin-top: 1rem;
    color: #d43f46;
    background-color: #f5f5f8 ;
    border: 1px solid #50bae0;
    border-radius: 30px;
    font-weight: 700;
}
.card-body .view:hover{
    background-color: #50bae0;
    border-radius: 1px solid #50bae0;
    transition: all 0.3s ease;
}


/*----product details---*/
#home-product-dtl{
    min-height: 150vh;
    background-color: #f5f5f8;
    background-size: cover;
    background-position: center;
    position: relative;
}

.product-detail-container {
    display: flex;
    flex-wrap: wrap;
    width: 1200px;
    height: auto;
    margin: 20px 20px;
    padding: 20px;
    gap: 40px;
    background: transparent;
    border-radius: 8px;
    box-shadow: 8px 8px 8px 8px rgba(0, 0, 0, 0.1);
}

.product-info {
    flex: 1;
    min-width: 300px;

}

.slider h2 {
    font-size: 40px;
    color: #50bae0;
    font-weight: 200;
    border-bottom: 1px solid #d43f46;
    border-top: 1px solid #d43f46;
    width: fit-content;
    margin: 10px auto;
    
}

.product-info table {
    width: 100%;
    height: 500px;
    border-collapse: collapse;
    margin-top: 30px;
}

.product-info table th, .product-info table td {
    border: 1px solid #9c9a9a;
    padding: 10px;
    text-align: center;
}

.product-info table th {
    background-color: #50bae0;
    font-size: 20px;
    font-weight: 700;
    color: rgb(250, 250, 250);
    margin-top: 50px;
}

.product-info a {
    margin: 20px auto;
    font-size: 18px;
    padding: 5px 10px;
    margin-top: 1rem;
    color: #d43f46;
    background-color: #f5f5f8 ;
    border: 1px solid #50bae0;
    border-radius: 30px;
    font-weight: 700;
}
.product-info a:hover{
    background-color: #50bae0;
    border-radius: 1px solid #50bae0;
    transition: all 0.3s ease;
}


.slider {
    flex: 1;
    width: 900px;
    height: 700px;
    overflow: hidden;
    position: relative;
    border-radius: 8px;
}

.slider img {
    width: 95%;
    display: block;
    margin-left: 10px;
    transition: transform 0.5s ease-in-out;
    
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slider-controls {
    position: absolute;
    top: 55%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.slider-controls button {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    
}

.slider-controls button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}


/* _ _ _ _ _  tablet _ _ _ _ _*/
@media(max-width: 900px) {
    .container{
        margin: 0 0.5rem;
    }
    nav ul a{
        padding: 18px;
    }
    #home .content{
        flex-direction: column;
        text-align: center;
        padding: 2rem 0;
    }
    #home .content .content-text{
        margin-bottom: 2rem;
        margin-top: 2rem;
    }
    .home-prod{
        flex-direction: column;
        text-align: center;
        padding: 2rem 0;
    }
    .row{
        flex-direction: column;
    }
    .home .row .col{
        margin: 1rem 0;
    }
    .home{
        margin: 0 0.5rem;
    }
    .Partners .Logo-Part{
        flex-direction: column;
    }  
    
    /* product */

    .product-container{
        flex-direction: column;
    }
    .product-button{
        margin: 0 auto;
        padding: 0;
        text-align: center;   
    }
    .product-container{
        margin: 0 auto;
    }
    .card{
        margin: 2rem auto;
    }
   
    /*Product-details*/
    #home-product-dtl .product-container{
        margin: 0 0.5rem;
    }

    .product-detail-container{
        flex-direction: column;
        text-align: center;
        padding: 0;
        margin: 20px auto;
    }

    .product-detail-container {
        width: 90%;
        height: auto;
        margin: 0 auto;
    }
    
    .slider {
    flex: 1;
    width: 480px;
    height: 400px;
    overflow: hidden;
    position: relative;
    border-radius: 8px;
    margin: 20px auto;
    }
    .slider h2{
        text-align: center;
    }

    
    .product-info table {
    width: 90%;
    height: 500px;
    border-collapse: collapse;
    margin: 20px auto;
    }



    
    
   
}

/* _ _ _ _ _ Smartphone_ _ _ _ _*/
@media(max-width: 600px){
    .container{
        margin-right: 0;
    }

    nav{
        display: block;
    }
    nav .logo{
        display: block;
        margin: 0 auto 20px;
    }
    nav ul{
        justify-content: center;
    }
    nav ul a{
        font-size: 15px;
    }
    #home .content .content-text h1{
        font-size: 30px;
    }
    #home .content .content-text h1 span{
        font-size: 55px;
    }
    #home .content img{
        margin-top: 0;
        width: 300px;
    }
    #home .content .content-text .btn{
        margin-top: 10px;
    }

    .product-button{
        display: flex;
        flex-direction: column;
    }
    .product-button .btn-prod{
        padding: 4px 5px;
        width: 130px;
        margin: 1rem auto;
        font-size: 18px;
        font-weight: 200;
        color: #50bae0;
        border: 1px solid #50bae0;
        background-color: transparent;
        border-radius: 20px;
        cursor: pointer;
    }
    .card{
        margin: 3rem auto;
    }

    .product-info table {
        width: 90%;
        height: 500px;
        border-collapse: collapse;
        margin: 10px auto;
    
    }
    .slider{
        width: 400px;
        margin: 10px 20px;
    }
    .product-detail-container{
        max-width: 450px;
    }
    #home-product-dtl{
        min-height: 100vh;
    }
}

/*Contact-us*/

.contact{
    min-height: 100vh;
    padding: 50px;
    text-align: center;
}
.contact .container{
    max-width: 800px;
    margin: 0 auto;
}
.contact .container h2{
    font-size: 36px;
    font-weight: 200;
}
.contact .container .line{
    height: 3px;
    width: 120px;
    background-color: #50bae0;
    margin-left: auto;
    margin-right: auto;
}
.contact-wrapper{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 30px;
    margin-top: 100px;
}
.contact-form{
    text-align: left;
}
.contact-form h3{
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 500;
    color: #d43f46;
}
.form-group{
    margin-bottom: 20px;
}
input, textarea{
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: none;
    background-color: #50bae0;
    color: rgb(102, 100, 100);
}

input:focus,
textarea:focus{
    outline: none;
}
form button{
    display: inline-block;
    font-size: 14px;
    padding: 5px 10px;
    margin-top: 1rem;
    color: #d43f46;
    background-color: #f5f5f8 ;
    border: 1px solid #50bae0;
    border-radius: 30px;
    font-weight: 700;
    margin-top: 5px;
    transition: 0.3s ease;
    cursor: pointer;
}
form button:hover{
    background-color: #50bae0;
    border-radius: 1px solid #50bae0;
    transition: all 0.3s ease;
}
.contact-info{
    float: left;
    margin-left: 120px;
}
.contact-info h3{
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 500;
    color: #d43f46;
}
.contact-info p{
    margin-bottom: 10px;
    color: #9c9a9a;
    text-align: left;
    margin-bottom: 30px;
}
.contact-info i{
    color: #50bae0;
    margin-right: 10px;
}

@media(max-width: 900px){
    .contact-info h3, .contact-form h3{
        font-size: 18px;
    }
    .contact-info{
        margin-bottom: 5px;
    }
   
}
@media(max-width: 600px){
    .contact-wrapper{
        display: block;
    }
    .contact-form h3{
        margin-top: 10px;
    }

    .contact-info{
        margin: 100px auto;
    }
    .contact-info h3{
       text-align: left;
    }
}


/* footer */

footer {
    background-color: #50bae0;
    color: white;
    padding: 20px 0;
    text-align: center;
   
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.footer-center, .footer-right {
    width: 30%;
}

.footer-left{
    background-color: #f5f5f8;
    border-radius: 50%;
    box-shadow: 1px 2px 3px 1px #d43f46;
    margin: 20px;
}
.footer-logo{
    margin: 25px;
}


.footer-center ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

.footer-center ul li {
    margin-bottom: 15px;
    display: block;
    position: relative;
}

.footer-center ul li a {
    color: white;
    text-decoration: none;
    transition: transform 0.2s ease, color 0.2s ease;
    font-weight: 300;
}


.footer-center ul li a:hover {
    text-decoration:none;
    color: #1877f2;
    transform: translateY(-3px);
}



.footer-right p {
    margin: 13px 0;
    color: white;
    font-weight: 300;
}
.footer-right p i { 
    margin-right: 10px; 
    color: white;
}

footer h3{
    color: #d43f46;
}


.fa-phone:hover {
    transition: transform 0.2s ease, color 0.2s ease;
    color: #1877f2; 
}
.fa-envelope:hover {
    transition: transform 0.2s ease, color 0.2s ease; 
    color: #1877f2; 
}
.fa-mobile-screen-button:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 10px #50bae0; 
    color: #f25618; 
}
.fa-location-dot:hover {
    transition: transform 0.2s ease, color 0.2s ease;
    color: #1877f2;
}
.footer-bottom {
    margin-top: 20px;
    font-size: 14px;
    color: white;
    border-top: 1px solid white;
    padding-top: 10px;
}

@media(max-width: 900px){
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-center, .footer-right {
        width: 100%; 
        margin-bottom: 20px; 
    }
    
}
