/*
 * Custom overrides to modernize the Hop179 website.
 *
 * These styles adjust typography, colors and interactive elements to provide a
 * cleaner, more contemporary look while preserving the underlying layout.
 */

/* Base body styles */
body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #f9fafb;
    -webkit-font-smoothing: antialiased;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #111827;
    margin-top: 0;
}

/* Links */
a {
    color: #00f;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #0059b3;
    text-decoration: underline;
}

/* Buttons */
.btn {
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn.btn-color {
    background-color: #00fe80;
    color: #fff;
    border-color: #00fe80;
}

.btn.btn-color:hover {
    background-color: #0059b3;
    border-color: #0059b3;
}

/* Navigation links */
.navbar-nav > li > a {
    font-weight: 600;
    color: #111827 !important;
    transition: color 0.3s ease;
}

.navbar-nav > li > a:hover,
.navbar-nav > .active > a {
    color: #00fe80 !important;
}

/* Section padding */
.section-wrap-mp {
    padding-top: 60px;
    padding-bottom: 60px;
}

.section-wrap-mp p {
    margin-bottom: 1rem;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Back to top button */
#back-to-top a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #00fe80;
    color: #fff;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#back-to-top a:hover {
    background-color: #0059b3;
    transform: translateY(-2px);
}

/* Pricing card enhancements */
.pricing-3-col {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-3-col:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.services {
    .works-grid.titles{display:flex;flex-wrap:wrap}
      .works-grid.titles .work-item{width:100%}
      @media (min-width:768px){.works-grid.titles .work-item{width:50%}}
      @media (min-width:992px){.works-grid.titles .work-item{width:33.3333%}}
}