main .carousel-item img{
    width: 100%;
    height: 40vw;
    object-fit: fill;
}

.section-content{
    margin-top: 50px;
}

.section-content .header{
    font-size: 1.2rem;
}

.section-content p{
    font-size: .85rem;
}

.section-catalog{
    background: #f9f9f9;
}

.section-catalog .header{
    font-size: 1.2rem;
}

.section-catalog .card-img-overlay{
    transition: all .6s ease;
}

.section-catalog .card-img-overlay:hover{
    background-color: rgba(0, 0, 0, 0.4) !important;
}

.section-fairs{
    background: #f9f9f9;
    margin-bottom: 30px;
}

.section-fairs .header{ 
    font-size: 1.6rem; 
}

.section-fairs .feature-card {
    background-color: #ffffff;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.section-fairs .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(13, 170, 253, 0.2);
}

.section-fairs i {
    color: #0daafd;
    font-size: 2.5rem;
    margin-bottom: 15px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.section-fairs .feature-card:hover i {
    color: #007bbd;
    transform: scale(1.1);
}

.section-fairs .row p{
    font-size: 1.1rem !important;
    color: #222;
    margin-top: 10px;
    text-align: center;
    line-height: 19px;
}

.section-fairs .imgs div:nth-child(n+4) {
  margin-top: 10px;
}

.product-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.product-image {
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 240px;
    display: flex;
    align-items: flex-end;
}

.overlay {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    width: 100%;
    padding: 12px 16px;
    box-sizing: border-box;
    text-align: center;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0d6efd;
    margin: 0;
}


.main_text{
    font-size: 1.1rem !important;
}
.caption-box {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 1.5rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  color: #fff;
  max-width: 600px;
  margin: 0 auto;
  animation: fadeInUp 1s ease;
}

.caption-box h2 {
  text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

.carousel-caption{
    top: 20px !important;
    bottom: 0 !important;
    left: 20px;
}

.mini_imgs img{
    cursor: pointer;
}

.marquee-container {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.marquee-track {
    display: flex;
    gap: 2rem;
    animation: scroll-left 30s linear infinite;
    width: max-content;
}

.marquee-track a img {
    height: 100px;
    object-fit: contain;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media screen and (max-width: 1300px){
    .caption-box{
        padding: 10px 20px;
    }

    .carousel-caption h2{
        font-size: 1rem;
    }
}

@media screen and (max-width: 1100px){
    .carousel-caption{
        top: 0 !important
    }
}

@media screen and (max-width: 992px){
    
    .section-fairs .imgs div:nth-child(n+4) {
        margin-top: 0px;
    }

    .section-fairs .imgs div:nth-child(even) {
        margin-bottom: 10px;
    }

    .main_text{
        font-size: .9rem !important;
    }

    .group{
        gap: 5px !important;
    }
}

@media screen and (max-width: 786px){
    .section-fairs .imgs div:nth-child(even) {
        margin-bottom: 0px;
    }

    .section-fairs .imgs div {
        margin-bottom: 10px !important;
    }
}
