/* =========================================================
   River Fountain - Custom Stylesheet
   ========================================================= */

/* ===========================
   HEADER
=========================== */

.main-header{
    background:#fff;
    position:sticky;
    top:0;
    z-index:999;
}

.logo img{
    max-width:100%;
}

.main-header .form-control{
    height:48px;
    border-radius:6px 0 0 6px;
}

.main-header .btn{
    border-radius:0 6px 6px 0;
}

.main-header a{
    color:#333;
    transition:.3s;
}

.main-header a:hover{
    color:#0d6efd;
}

#searchResult{
    position:absolute;
    background:#fff;
    width:100%;
    display:none;
    box-shadow:0 5px 15px rgba(0,0,0,.15);
    z-index:9999;
}


/*=========================
      MAIN MENU
=========================*/

.main-navbar{

padding:0;

background:#0d6efd;

}

.main-navbar .navbar-nav .nav-link{

padding:18px 18px;

color:#fff;

font-weight:600;

transition:.3s;

}

.main-navbar .nav-link:hover{

background:rgba(255,255,255,.15);

color:#fff;

}

.main-navbar .dropdown-menu{

border:none;

border-radius:0;

box-shadow:0 10px 30px rgba(0,0,0,.15);

}

.main-navbar .dropdown-item{

padding:12px 20px;

font-weight:500;

}

.main-navbar .dropdown-item:hover{

background:#0d6efd;

color:#fff;

}

.main-navbar .btn{

font-weight:600;

padding:10px 22px;

}



/*==============================
    CATEGORIES
===============================*/

.categories-section{

background:#f8fafc;

}

.category-card{

background:#fff;

border-radius:15px;

overflow:hidden;

box-shadow:0 10px 25px rgba(0,0,0,.08);

transition:.35s;

height:100%;

}

.category-card:hover{

transform:translateY(-10px);

}

.category-card img{

width:100%;

height:250px;

object-fit:cover;

transition:.4s;

}

.category-card:hover img{

transform:scale(1.08);

}

.category-body{

padding:25px;

}

.category-body h4{

font-weight:700;

margin-bottom:15px;

}

.category-body p{

color:#666;

margin-bottom:20px;

}

.category-body .btn{

border-radius:30px;

padding:10px 25px;

}

/*==========================
    FEATURED PRODUCTS
===========================*/

.featured-products{
    background:#fff;
}

.product-card{
    background:#fff;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.35s;
    height:100%;
}

.product-card:hover{
    transform:translateY(-8px);
}

.product-image{
    position:relative;
    overflow:hidden;
}

.product-image img{
    width:100%;
    height:260px;
    object-fit:cover;
    transition:.4s;
}

.product-card:hover img{
    transform:scale(1.08);
}

.sale-badge{
    position:absolute;
    top:15px;
    left:15px;
    background:#dc3545;
    color:#fff;
    padding:6px 12px;
    border-radius:20px;
    font-size:12px;
    z-index:2;
}

.product-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.35);
    display:flex;
    justify-content:center;
    align-items:center;
    gap:15px;
    opacity:0;
    transition:.35s;
}

.product-card:hover .product-overlay{
    opacity:1;
}

.icon-btn{
    width:45px;
    height:45px;
    background:#fff;
    color:#333;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    text-decoration:none;
}

.icon-btn:hover{
    background:#0d6efd;
    color:#fff;
}

.product-body{
    padding:20px;
}

.product-body h5{
    min-height:55px;
}

.rating{
    color:#ffc107;
    margin:10px 0;
}

.price{
    margin:15px 0;
}

.old-price{
    color:#999;
    text-decoration:line-through;
    margin-right:10px;
}

.new-price{
    color:#0d6efd;
    font-size:24px;
    font-weight:bold;
}

/*=========================
      PROJECT SECTION
=========================*/

.projects-section{
    background:#f8f9fa;
}

.project-card{
    background:#fff;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.4s;
    height:100%;
}

.project-card:hover{
    transform:translateY(-10px);
}

.project-image{
    position:relative;
    overflow:hidden;
}

.project-image img{
    width:100%;
    height:280px;
    object-fit:cover;
    transition:.5s;
}

.project-card:hover img{
    transform:scale(1.1);
}

.project-overlay{
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.45);
    display:flex;
    justify-content:center;
    align-items:center;
    opacity:0;
    transition:.4s;
}

.project-card:hover .project-overlay{
    opacity:1;
}

.project-content{
    padding:25px;
}

.project-content h4{
    font-weight:700;
    margin-bottom:10px;
}

.project-content p{
    color:#666;
    margin-bottom:8px;
}


/*==============================
        SERVICES
===============================*/

.services-section{
    background:#ffffff;
}

.service-card{
    background:#fff;
    border-radius:15px;
    padding:35px 25px;
    text-align:center;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.4s;
    height:100%;
}

.service-card:hover{
    transform:translateY(-10px);
    background:#0d6efd;
    color:#fff;
}

.service-card:hover p,
.service-card:hover h4{
    color:#fff;
}

.service-icon{
    width:90px;
    height:90px;
    margin:auto;
    background:#eaf3ff;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:36px;
    color:#0d6efd;
    margin-bottom:25px;
    transition:.4s;
}

.service-card:hover .service-icon{
    background:#fff;
}

.service-card h4{
    font-weight:700;
    margin-bottom:15px;
}

.service-card p{
    color:#666;
    margin-bottom:20px;
}

/*==========================
        GALLERY
===========================*/

.gallery-section{

background:#f8f9fa;

}

.gallery-item{

position:relative;

overflow:hidden;

border-radius:15px;

box-shadow:0 10px 25px rgba(0,0,0,.1);

}

.gallery-item img{

width:100%;

height:280px;

object-fit:cover;

transition:.5s;

}

.gallery-item:hover img{

transform:scale(1.1);

}

.gallery-overlay{

position:absolute;

left:0;

top:0;

width:100%;

height:100%;

background:rgba(13,110,253,.65);

display:flex;

justify-content:center;

align-items:center;

opacity:0;

transition:.4s;

}

.gallery-item:hover .gallery-overlay{

opacity:1;

}

.gallery-overlay i{

font-size:45px;

color:#fff;

}

/*==========================
     TESTIMONIAL
===========================*/

.testimonial-section{

background:#fff;

}

.testimonial-box{

max-width:750px;

margin:auto;

background:#fff;

padding:40px;

border-radius:20px;

box-shadow:0 15px 35px rgba(0,0,0,.08);

text-align:center;

}

.client-img{

width:110px;

height:110px;

border-radius:50%;

object-fit:cover;

border:5px solid #0d6efd;

margin-bottom:20px;

}

.testimonial-box h4{

font-weight:700;

margin-bottom:5px;

}

.testimonial-box h6{

color:#777;

margin-bottom:15px;

}

.stars{

color:#ffc107;

font-size:22px;

margin-bottom:15px;

}

.testimonial-box p{

font-size:17px;

line-height:30px;

color:#555;

}

.carousel-control-prev-icon,
.carousel-control-next-icon{

background-color:#0d6efd;

padding:25px;

border-radius:50%;

}


/*==========================
        BLOG
===========================*/

.blog-section{

background:#f8f9fa;

}

.blog-card{

background:#fff;

border-radius:15px;

overflow:hidden;

box-shadow:0 10px 30px rgba(0,0,0,.08);

transition:.4s;

height:100%;

}

.blog-card:hover{

transform:translateY(-10px);

}

.blog-image{

position:relative;

overflow:hidden;

}

.blog-image img{

width:100%;

height:250px;

object-fit:cover;

transition:.5s;

}

.blog-card:hover img{

transform:scale(1.08);

}

.blog-date{

position:absolute;

left:20px;

top:20px;

background:#0d6efd;

color:#fff;

padding:10px 15px;

border-radius:8px;

font-weight:bold;

}

.blog-body{

padding:25px;

}

.blog-category{

color:#0d6efd;

font-weight:600;

}

.blog-body h4{

margin:15px 0;

font-size:24px;

}

.blog-body h4 a{

text-decoration:none;

color:#222;

}

.blog-body p{

color:#666;

line-height:28px;

margin-bottom:20px;

}


/*==========================
      CLIENTS
==========================*/

.clients-section{

background:#fff;

overflow:hidden;

}

.logo-slider{

overflow:hidden;

position:relative;

}

.logo-track{

display:flex;

width:calc(250px * 12);

animation:scrollLogo 30s linear infinite;

}

.logo-slider:hover .logo-track{

animation-play-state:paused;

}

.logo-item{

width:250px;

display:flex;

justify-content:center;

align-items:center;

padding:20px;

}

.logo-item img{

max-width:170px;

max-height:90px;

filter:grayscale(100%);

transition:.4s;

opacity:.7;

}

.logo-item img:hover{

filter:none;

opacity:1;

transform:scale(1.08);

}

@keyframes scrollLogo{

0%{

transform:translateX(0);

}

100%{

transform:translateX(calc(-250px * 6));

}

}


/*===================================
        NEWSLETTER
====================================*/

.newsletter-section{

background:linear-gradient(135deg,#0d6efd,#0056b3);

padding:80px 0;

}

.newsletter-section h2{

font-size:42px;

margin-bottom:20px;

}

.newsletter-section p{

font-size:18px;

line-height:30px;

}

.newsletter-section .form-control{

height:60px;

border-radius:50px;

padding-left:25px;

border:none;

}

.newsletter-section .btn{

height:60px;

border-radius:50px;

font-weight:bold;

}

.newsletter-section .btn-light{

min-width:180px;

}

.newsletter-section .btn-success{

min-width:180px;

}

.newsletter-section .btn-danger{

min-width:180px;

}

@media(max-width:768px){

.newsletter-section{

text-align:center;

}

.newsletter-section h2{

font-size:30px;

}

}


/*===================================
            FOOTER
====================================*/

.footer{

background:#111827;

color:#ddd;

padding:80px 0 20px;

}

.footer-logo{

height:70px;

}

.footer h4{

color:#fff;

margin-bottom:25px;

font-weight:700;

}

.footer p{

line-height:28px;

color:#ccc;

}

.footer ul{

padding:0;

margin:0;

list-style:none;

}

.footer ul li{

margin-bottom:12px;

}

.footer ul li a{

color:#ccc;

text-decoration:none;

transition:.3s;

}

.footer ul li a:hover{

color:#0d6efd;

padding-left:6px;

}

.social-links{

margin-top:25px;

}

.social-links a{

display:inline-flex;

width:42px;

height:42px;

background:#1f2937;

color:#fff;

justify-content:center;

align-items:center;

border-radius:50%;

margin-right:10px;

transition:.3s;

}

.social-links a:hover{

background:#0d6efd;

transform:translateY(-5px);

}

.footer hr{

border-color:#2f3640;

margin:40px 0 20px;

}

#backTop{

position:fixed;

right:20px;

bottom:20px;

width:50px;

height:50px;

background:#0d6efd;

color:#fff;

display:flex;

justify-content:center;

align-items:center;

border-radius:50%;

text-decoration:none;

font-size:24px;

display:none;

z-index:999;

}

#backTop:hover{

background:#0056b3;

}


.social-icon{
display:inline-block;
color:#ffffff;
font-size:18px;
margin-left:15px;
transition:.3s;
}

.social-icon:hover{
color:#ffc107;
transform:scale(1.2);
}

.hero-slider{
    position:relative;
}

.slider-img{

    width:100%;

    height:650px;

    object-fit:cover;

}

.slider-overlay{

    position:absolute;

    inset:0;

    background:rgba(0,0,0,.45);

}

.carousel-caption{

    bottom:20%;

    z-index:10;

}

.carousel-caption h1{

    font-size:58px;

    font-weight:700;

}

.carousel-caption p{

    font-size:18px;

    max-width:650px;

}

@media(max-width:768px){

.slider-img{

height:420px;

}

.carousel-caption{

bottom:12%;

}

.carousel-caption h1{

font-size:32px;

}

}


.slider-img{

height:700px;

object-fit:cover;

animation:zoomSlider 10s linear infinite;

}

@keyframes zoomSlider{

0%{

transform:scale(1);

}

100%{

transform:scale(1.08);

}

}

.carousel-caption{

bottom:18%;

animation:fadeInUp 1s;

}

@keyframes fadeInUp{

0%{

opacity:0;

transform:translateY(60px);

}

100%{

opacity:1;

transform:translateY(0);

}

}


/*=========================================
TESTIMONIAL SECTION
=========================================*/

.testimonial-section{
    position:relative;
    overflow:hidden;
    background:#f8f9fa;
}

.testimonial-section .testimonial-box{

    background:#ffffff;

    border-radius:20px;

    padding:50px 40px;

    transition:.4s;

    box-shadow:0 10px 35px rgba(0,0,0,.08);

}

.testimonial-section .testimonial-box:hover{

    transform:translateY(-8px);

    box-shadow:0 20px 50px rgba(0,0,0,.15);

}

.testimonial-section img{

    width:120px;

    height:120px;

    object-fit:cover;

    border-radius:50%;

    border:5px solid #0d6efd;

}

.testimonial-section h3{

    font-size:28px;

    font-weight:700;

    margin-bottom:5px;

}

.testimonial-section p{

    line-height:1.9;

    font-size:17px;

}

.testimonial-section .carousel-control-prev,

.testimonial-section .carousel-control-next{

    width:55px;

}

.testimonial-section .carousel-control-prev-icon,

.testimonial-section .carousel-control-next-icon{

    width:45px;

    height:45px;

    border-radius:50%;

    background-color:#0d6efd;

    background-size:55%;

}

.testimonial-section .carousel-control-prev{

    left:-25px;

}

.testimonial-section .carousel-control-next{

    right:-25px;

}

.testimonial-section .carousel-indicators button{

    width:12px;

    height:12px;

    border-radius:50%;

    background:#0d6efd;

}

.testimonial-section .text-primary{

    color:#0d6efd !important;

}

/*=========================================
Responsive
=========================================*/

@media(max-width:991px){

.testimonial-section .testimonial-box{

    padding:35px 25px;

}

.testimonial-section h3{

    font-size:24px;

}

}

@media(max-width:768px){

.testimonial-section img{

    width:90px;

    height:90px;

}

.testimonial-section h3{

    font-size:20px;

}

.testimonial-section p{

    font-size:15px;

}

.testimonial-section .carousel-control-prev{

    left:0;

}

.testimonial-section .carousel-control-next{

    right:0;

}

}

@media(max-width:576px){

.testimonial-section .testimonial-box{

    padding:25px 20px;

}

.testimonial-section h2{

    font-size:28px;

}

}




