/********** Template CSS **********/
:root {
    --primary: #e57373;
    --secondary: #f8f9fa;
    --light: #ffffff;
    --dark: #1a2332;
}

h1, h2, .font-weight-bold { font-weight: 700 !important; }
h3, h4, .font-weight-semi-bold { font-weight: 600 !important; }
h5, h6, .font-weight-medium { font-weight: 500 !important; }

.pt-6 { padding-top: 90px; }
.pb-6 { padding-bottom: 90px; }
.py-6 { padding-top: 90px; padding-bottom: 90px; }

.btn {
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    transition: .5s;
    border-radius: 50px;
}
.btn-primary {
    color: #fff;
    background-color: var(--primary);
    border-color: var(--primary);
}
.btn-primary:hover {
    background-color: #d06060;
    border-color: #d06060;
    transform: scale(1.02);
}
.btn-square { width: 36px; height: 36px; }
.btn-sm-square { width: 28px; height: 28px; }
.btn-lg-square { width: 46px; height: 46px; }
.btn-square, .btn-sm-square, .btn-lg-square {
    padding: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
    background-color: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 22px;
    transition: .3s;
}
.back-to-top:hover {
    background-color: #d06060;
    transform: translateY(-5px);
}

.top-shape::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 100%;
    top: 0;
    left: -17px;
    background: var(--primary);
    transform: skew(40deg);
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Barlow', sans-serif;
    padding: 35px 15px;
    font-size: 18px;
    text-transform: uppercase;
    color: var(--dark);
    transition: .3s;
}
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}
@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 35, 50, .7);
    z-index: 1;
}
@media (max-width: 576px) {
    .carousel-caption h5 { font-size: 14px; }
    .carousel-caption h1 { font-size: 28px; }
}

.carousel-control-prev, .carousel-control-next { width: 10%; }
.carousel-control-prev-icon, .carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

.service-item {
    position: relative;
    overflow: hidden;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--secondary);
    border-radius: 15px;
    padding: 30px 20px;
    transition: .4s;
}
.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.service-item i {
    font-size: 2.5rem;
    color: var(--primary);
}

.team-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
}
.team-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: .5s;
}
.team-item:hover img {
    transform: scale(1.05);
}
.team-item .team-text {
    position: absolute;
    bottom: -100%;
    left: 0;
    right: 0;
    background: var(--primary);
    color: #fff;
    padding: 15px;
    text-align: center;
    transition: .5s;
}
.team-item:hover .team-text {
    bottom: 0;
}
.team-text h3 { color: #fff; font-size: 1.2rem; }
.team-text p { color: #fff; margin: 0; font-size: 0.9rem; }

.testimonial-item {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.testimonial-item .fa-quote-left {
    font-size: 2rem;
    color: var(--primary);
    opacity: 0.4;
}

.blog-item {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.06);
    transition: .4s;
}
.blog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.blog-item img {
    transition: .5s;
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.blog-item:hover img {
    transform: scale(1.05);
}

/* Responsive helpers */
@media (max-width: 768px) {
    .py-6 { padding-top: 50px; padding-bottom: 50px; }
    .pt-6 { padding-top: 50px; }
    .pb-6 { padding-bottom: 50px; }
    .carousel-caption h1 { font-size: 24px; }
}