/* FieldMerchandiser.com – Shared Stylesheet */

/* Base */
body {
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

/* Fixed navigation bar */
.navbar-fixed {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    transition: all 0.3s ease;
}

/* Hero background */
.hero-image {
    background-image: url('bg.jpg');
    background-size: cover;
    background-position: center;
}
.darkblue { background-color: darkblue; }

/* Service / benefit cards */
.service-card {
    transition: all 0.3s ease;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Calculator cards */
.calculator-card {
    transition: all 0.3s ease;
}
.calculator-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Benefit icon */
.benefit-icon {
    font-size: 2.5rem;
    color: #3B82F6;
}

/* Range input thumb */
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #3B82F6;
    cursor: pointer;
}

/* Scroll-to-top button */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    cursor: pointer;
    transition: all 0.3s ease;
}
.scroll-to-top:hover {
    transform: scale(1.1);
}

/* WhatsApp floating button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 999;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.whatsapp-icon {
    font-size: 30px;
}

/* Centered / shadowed images */
.img-center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
}
.img-shadow {
    box-shadow: 8px 8px 15px rgba(0, 0, 0, 0.5);
}

/* Partner logo gallery */
.logo-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 24px;
}
.logo-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.logo-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}
.logo-item img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    filter: grayscale(0.3);
    transition: all 0.3s ease;
}
.logo-item:hover img {
    filter: grayscale(0);
}
.logo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0);
    transition: all 0.3s ease;
}
.logo-item:hover .logo-overlay {
    background: rgba(255, 255, 255, 0.2);
}
@media (max-width: 768px) {
    .logo-container {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 16px;
    }
}

/* Section title underline accent */
.section-title {
    position: relative;
    display: inline-block;
}
.section-title::after {
    content: '';
    position: absolute;
    width: 40%;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    bottom: -8px;
    left: 0;
    border-radius: 2px;
}

/* Custom desktop/mobile nav breakpoint at 1024 px */
@media (min-width: 1024px) {
    .ddesktopmenu { display: flex !important; }
    .dmobilemenu  { display: none  !important; }
}

/* Active nav link highlight */
.nav-active {
    color: #2563EB !important;
    background-color: #EFF6FF !important;
    font-weight: 600;
}
