.track-section {
    background-image: url('./track.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%;
}

.track-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    
}


.track-title {
    font-family: 'Montserrat', sans-serif;
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: center;
  }

/* Rest of the CSS remains the same */
.track-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;
}

.track-content {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(145deg, #7b3130, #e5af68); /* Subtle gradient from #7b3130 to #e5af68 */
    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;
    color: #fff;
}

.track-button {
    background-color: #e5af68;
    color: #7b3130;
    font-size: 1.2rem;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.track-button:hover {
    background-color: #ce8644;
    transform: scale(1.05);
}


/* Primary Button Styling */
.track-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;
}

.track-btn:hover {
    background-color: #a67e7e; /* Lighter shade on hover */
    color: #fafafa;
}

.track-spacer {
    height: 300px; /* Adjust the height as needed */
}

@media (min-width: 768px) {
    .track-section {
        width: 50%;    
    }

    .track-btn-container {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .track-container {
        display: flex;
        flex-direction: row;
        border-radius: 15px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        padding: 20px;
        margin: 60px;
    }

    .track-content {
        width: 50%;
        margin: 0;
    }

    .track-spacer {
        height: 300px; /* Adjust the height as needed */
    }
}