.offer {
    padding: 120px 5%;
    background: #fff;
    overflow: hidden;
}

.offer__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.offer__title {
    font-size: 2.5rem;
    font-weight: 800;
    color:#1673C0;
    position: relative;
}

.offer__button {
    padding: 12px 30px;
    background: linear-gradient(135deg, #0F75BB, #4169E1);
    color: white;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.offer__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(15, 117, 187, 0.2);
}

.offer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}
.offer__description {
    text-align: left;
    margin: 1rem 0 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    color: #666;
}
.offer-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}

.offer-card:hover {
    transform: translateY(-10px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(15, 117, 187, 0.1);
}

.offer-card__image-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
border-top-left-radius: 20px;
border-top-right-radius: 20px;
    overflow: hidden;
}

.offer-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.offer-card:hover .offer-card__image {
    transform: scale(1.05);
}

.offer-card__content {
    padding: 25px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.offer-card__title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    text-align: center;
}

@media (max-width: 768px) {
    .offer {
        padding: 80px 20px;
    }

    .offer__header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .offer__title {
        font-size: 2rem;
    }

    .offer__grid {
        grid-template-columns: 1fr;
    }
}

@keyframes buttonGlow {
    0% {
        box-shadow: 0 0 5px rgba(15, 117, 187, 0.2);
    }
    50% {
        box-shadow: 0 0 20px rgba(15, 117, 187, 0.4);
    }
    100% {
        box-shadow: 0 0 5px rgba(15, 117, 187, 0.2);
    }
}

.offer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    border-radius: 20px;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.offer-card:hover::before {
    left: 100%;
    border-radius: 20px;
}