@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100..900&display=swap');

* {
    font-family: "Roboto Slab", serif;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100vh;
}

body::before {
    display:block;
    content:'';
    height:60px
}

.accordion-icon-images {
    height: 32px;
    width: 32px;
}

#map {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.image-link-container img {
    object-fit: cover;
}

.image-link-container {
    height: 200px;
}

#access-page-section{
    height: 100vh;
}

/* Service Form Styles */
.service-form .nav-tabs .nav-link {
    color: #495057;
    background-color: transparent;
    border-color: transparent;
}

.service-form .nav-tabs .nav-link.active {
    color: #0d6efd;
    background-color: #fff;
    border-color: #dee2e6 #dee2e6 #fff;
}

.service-form .form-section {
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-top: none;
    padding: 2rem;
    border-radius: 0 0 0.25rem 0.25rem;
}

.service-form .currency-display {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 0.25rem;
    margin-bottom: 1rem;
}

.service-form .service-item {
    background-color: #f8f9fa;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 0.25rem;
    border: 1px solid #dee2e6;
}

.service-form .remove-item {
    background-color: #dc3545;
    border-color: #dc3545;
    color: white;
}

.service-form .remove-item:hover {
    background-color: #c82333;
    border-color: #bd2130;
    color: white;
}

.service-form .add-item {
    margin-top: 1rem;
}

.service-form .total-section {
    background-color: #f8f9fa;
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 0.25rem;
}

.logos {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.logos:before,
.logos:after {
  position: absolute;
  top: 0;
  width: 250px;
  height: 100%;
  content: "";
  z-index: 2;
}

.logos:before {
  left: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 0), white);
}

.logos:after {
  right: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), white);
}

.logos:hover .logos-slide {
    animation-play-state: paused;
}

.logos-slide {
    display: inline-block;
    animation: 5s slide infinite linear;
}

.logos-slide a {
    text-decoration: none;
}

.logos-slide img {
    height: 6rem;
    margin: 0 2rem;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.logos-slide img:hover {
    filter: grayscale(0%);
}

@media (max-width: 768px) {
    .logos-slide img {
        height: 4rem; /* Smaller size for medium screens */
        margin: 0 1rem;
    }
    .logos:before,
    .logos:after {
        display: none;
    }
}

@media (max-width: 576px) {
    .logos-slide img {
        height: 3rem; /* Smaller size for small screens */
        margin: 0 0.5rem;
    }
}

@keyframes slide {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

/* Performance Optimizations */
img {
    max-width: 100%;
    height: auto;
}

/* Accessibility Improvements */
.btn:focus,
.btn:focus-visible {
    outline: 2px solid var(--brand-red);
    outline-offset: 2px;
}

/* Skip link for screen readers */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--brand-red);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1000;
}

.skip-link:focus {
    top: 6px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .logos-slide {
        animation: none;
    }
}