main {
    background-color: #fff;
    padding-bottom: 60px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}


.segments-header {
    padding: 170px 0 40px 0;
    position: relative;
}

.segments-header h1 {
    font-family: "Montserrat", sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: #000;
    margin-bottom: 10px;
    line-height: 1.1;
}

.segments-header p {
    font-family: "Montserrat", sans-serif;
    font-size: 1.2rem;
    color: #000;
}


.whatsapp-float-container {
    position: absolute;
    top: 50px;
    right: 20px;
}


@media (max-width: 1300px) {
    .whatsapp-float-container {
        right: 5%;
    }
}

.whatsapp-pill-green {
    display: flex;
    font-family: "Montserrat", sans-serif;
    align-items: center;
    background-color: #25d366;
    color: #fff;
    text-decoration: none;
    padding: 5px 5px 5px 20px;
    border-radius: 50px;
    transition: transform 0.2s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.whatsapp-pill-green:hover {
    transform: scale(1.05);
}

.whatsapp-pill-green .text {
    text-align: right;
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.2;
    margin-right: 10px;
}

.whatsapp-pill-green .icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.whatsapp-icon {
    right: 15px;
}

.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}


.segment-card {
    font-family: "Montserrat", sans-serif;
    position: relative;
    height: 220px;
    border-radius: 15px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.segment-card:hover {
    transform: translateY(-5px);
}


.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: right;
    transition: transform 0.5s ease;
    z-index: 1;
}

.segment-card:hover .card-bg {
    transform: scale(1.05);
}


.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: linear-gradient(90deg, #6B6B6B 0%, #737373 50%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}


.card-content {
    position: relative;
    z-index: 3;
    padding: 30px;
    height: 80%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
}

.card-category {
    font-size: 16px;
    text-transform: capitalize;
    opacity: 0.8;
    color: #D9D9D9;
    margin-bottom: 10px;
    font-weight: 400;
}

.card-title {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 8px;
    max-width: 70%;
    font-family: "Montserrat", sans-serif;
}


.card-action {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto;
}

.btn-plus {
    width: 41px;
    height: 41px;
    border: 2px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: background-color 0.3s ease, transform 0.3s ease;
}


.btn-plus::before,
.btn-plus::after {
    content: '';
    position: absolute;
    background-color: #fff;
    border-radius: 2px;
}

.btn-plus::before {
    width: 16px;
    height: 2px;
}

.btn-plus::after {
    width: 2px;
    height: 16px;
}


.segment-card:hover .btn-plus {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.card-action span {
    font-size: 16px;
    text-transform: capitalize;
    opacity: 0.8;
    color: #D9D9D9;
    margin-bottom: 10px;
    font-weight: 400;
}


@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr;
    }

    .segments-header h1 {
        font-size: 2.5rem;
    }

    .whatsapp-float-container {
        position: static;
        margin-bottom: 20px;
        display: inline-block;
    }
}