.agent-section {
    background-image: url('./agent.jpg'); /* Replace with the actual path */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fafafa;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    margin-left: 20px;
    margin-right: 20px;
    border-radius: 15px;
    width: 80%;
}

.agent-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}


.agent-title {
    font-family: 'Montserrat', sans-serif;
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: center;
  }

/* Rest of the CSS remains the same */
.agent-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    z-index: 1;
}

.agent-content {
    font-family: 'Montserrat', sans-serif;
    margin-left: 20px;
    margin-right: 20px;
    text-align: center;
    border-radius: 15px; /* Rounded corners for the tile */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.agent-button:hover {
    background-color: #ce8644;
    transform: scale(1.05);
}


/* Primary Button Styling */
.agent-btn {
    background-color: #f3ecea;
    color: #7b3130;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    transition: background-color 0.3s, color 0.3s;
    text-decoration: none; /* Remove underline for button link */
    display: inline-block;
    cursor: pointer;
}

.agent-btn:hover {
    background-color: #a67e7e; /* Lighter shade on hover */
    color: #fafafa;
}

.agent-spacer {
    height: 300px; /* Adjust the height as needed */
}

@media (min-width: 768px) {
    .agent-section {
        /* background-image: url('./background2.jpg'); */
        width: 50%;
    }

    .agent-btn-container {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    

    .agent-container {
        display: flex;
        flex-direction: row;
        border-radius: 15px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        padding: 20px;
        margin: 60px;
    }
    
    .agent-content {
        width: 50%;
        margin: 0;
    }
}