/* Overlap and Centered Half-Width Trust Section */
.trust-overlap-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    pointer-events: none; /* allow hero section to be clickable except trust */
    z-index: 10;
    margin-top: -6rem; /* pull up over hero section, adjust as needed */
    margin-bottom: 2rem;
}



@media (max-width: 900px) {
  .trust-overlap {
    width: 90vw;
    max-width: 98vw;
    border-radius: 20px;
  }
  .trust-overlap-wrapper {
    margin-top: -3rem;
  }
}

@media (max-width: 600px) {
  .trust-overlap {
    width: 98vw;
    min-width: unset;
    border-radius: 12px;
  }
  .trust-overlap-wrapper {
    margin-top: -1.5rem;
  }
}
/* Trust Section */
.trust-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 4rem 2rem;
    margin: 0 1rem 1rem 1rem;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.3);
}

.trust-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at top center, rgba(71, 164, 160, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at bottom center, rgba(255, 107, 53, 0.04) 50%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

.trust-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Awards Marquee */
.awards-marquee {
    margin-bottom: 3rem;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(255, 255, 255, 0.8) 10%, 
        rgba(255, 255, 255, 0.8) 90%, 
        rgba(255, 255, 255, 1) 100%);
    padding: 1rem 0;
}

.marquee-content {
    display: inline-flex;
    animation: marquee 30s linear infinite;
    align-items: center;
    gap: 2rem;
}

.awards-image {
    height: 80px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

@keyframes marquee {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Pause animation on hover */
.awards-marquee:hover .marquee-content {
    animation-play-state: paused;
}

/* Ratings Section */
.ratings-section {
    text-align: center;
}

.ratings-title {
    font-size: 2rem;
    font-weight: 600;
    color: #2C5F41;
    margin-bottom: 2rem;
    line-height: 1.3;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.ratings-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1.5rem;
}

.ratings-image {
    max-width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
}

/* Responsive Design */
@media (max-width: 768px) {
    .trust-section {
        padding: 3rem 0;
        margin: 0 0.5rem;
    }
    
    .trust-container {
        padding: 0 1rem;
    }
    
    .awards-image {
        height: 60px;
    }
    
    .ratings-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .marquee-content {
        gap: 1rem;
    }
    
    @keyframes marquee {
        0% {
            transform: translateX(100%);
        }
        100% {
            transform: translateX(-100%);
        }
    }
}

@media (max-width: 480px) {
    .awards-image {
        height: 50px;
    }
    
    .ratings-title {
        font-size: 1.3rem;
    }
    
    .trust-section {
        padding: 2rem 0;
    }
}

/* Additional decorative elements */
.trust-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(44, 95, 65, 0.2) 50%, 
        transparent 100%);
}

/* Smooth entrance animation */
.trust-section {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 0.5s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
