﻿.ticker-small {
    height: 50px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background-color: #f5f5f5;
    padding: 0 10px;
    border-radius: 5px;
    flex: 1;
}

.ticker-wrapper {
    width: 100%;
    overflow: hidden;
}

.ticker-content {
    display: inline-block;
    white-space: nowrap;
    animation: scroll 15s linear infinite;
    font-size: 14px;
    color: #4CAF50;
}

/* Continuous scrolling animation */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* scroll half, because we duplicated content */
}

/* Pause on hover */
.ticker-small:hover .ticker-content {
    animation-play-state: paused;
}

/* Responsive adjustments */
@media (max-width: 992px) { .ticker-small { height: 35px; font-size: 13px; } }
@media (max-width: 768px) { .ticker-small { height: 30px; font-size: 12px; } }
@media (max-width: 576px) { 
    .ticker-small { height: 28px; font-size: 11px; } 
    .hero__search__phone { display: none; } 
}

.hero__search__phone {
    display: flex;
    align-items: center; /* vertically center icon and text */
    gap: 10px; /* space between icon and text */
}

.hero__search__phone__icon {
    display: flex;
    align-items: center;
    justify-content: center; /* center the icon inside its box */
    font-size: 24px; /* adjust size as needed */
    color: #4CAF50;
}

.hero__search__phone__text h5 {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
}

.hero__search__phone__text span {
    font-size: 12px;
    color: #555;
}